[Bug 947422] New: systemsmanagement:wbem/wsmancli: Bug wsman uses complete URI as selector
http://bugzilla.opensuse.org/show_bug.cgi?id=947422 Bug ID: 947422 Summary: systemsmanagement:wbem/wsmancli: Bug wsman uses complete URI as selector Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: kkaempf@suse.com Reporter: novell@tower-net.de QA Contact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- Hi Klaus, when using wsman -R -h 192.168.1.1 -u <U> -p <P> -y basic get "http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2 /Win32_Service?Name=WinRM&State=Running" the following request is created: <?xml version="1.0"?> <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"> <s:Header> <wsa:Action s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action> <wsa:To s:mustUnderstand="true">http://192.168.1.1:5985/wsman</wsa:To> <wsman:ResourceURI s:mustUnderstand="true">http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service</wsman:ResourceURI> <wsa:MessageID s:mustUnderstand="true">uuid:eb553bf6-2083-1083-8002-85de925c2100</wsa:MessageID> <wsa:ReplyTo> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> </wsa:ReplyTo> <wsman:SelectorSet> <wsman:Selector Name="http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service?Name">WinRM</wsman:Selector> <wsman:Selector Name="State">Running</wsman:Selector> </wsman:SelectorSet> </s:Header> <s:Body/> </s:Envelope> You can see the first selector has the complete uri. I think this should be split at the ?-character to get only Name="Name". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=947422 http://bugzilla.opensuse.org/show_bug.cgi?id=947422#c1 --- Comment #1 from Markus Kolb <novell@tower-net.de> --- See https://github.com/Openwsman/openwsman/issues/77 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=947422 http://bugzilla.opensuse.org/show_bug.cgi?id=947422#c2 Klaus Kämpf <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Klaus Kämpf <kkaempf@suse.com> --- Hi Markus, good catch, thanks for the fix ! Will be in 2.6.2 (and Factory ;-)) soon. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com