[et-mgmt-tools] libvirt and query strings in EL 5.1 behaves differently than F9

Michael DeHaan mdehaan at redhat.com
Wed Apr 23 00:12:55 UTC 2008


Daniel P. Berrange wrote:
> On Tue, Apr 22, 2008 at 07:51:31PM -0400, Michael DeHaan wrote:
>   
>> Daniel P. Berrange wrote:
>>     
>>> On Tue, Apr 22, 2008 at 07:36:25PM -0400, Michael DeHaan wrote:
>>>  
>>>       
>>>>> If you're using virt-install
>>>>> APIs for building the XML document, then it is virt-install's job to do
>>>>> attribute escaping. This was broken in RHEL-5.1 and is fixed for 5.2
>>>>> and Fedora 8 onwards
>>>>>
>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=417051
>>>>>
>>>>> Dan.
>>>>>
>>>>>      
>>>>>           
>>>> So looking at what I posted previously, ex:
>>>>
>>>>   http://server.example.com/?op=ks;profile=foo
>>>>
>>>> ";" is (to my eyes) valid in XML.  It is, right?  Any idea why that may 
>>>> cause an error on Pablo's system?
>>>>    
>>>>         
>>> Please send the actual error message you get...
>>>
>>> Dan.
>>>  
>>>       
>> Sure... http://cobbler.pastebin.com/f50f3fa63
>>
>>   1.
>>      libvir: Xen Daemon error : POST operation failed: (xend.err
>>      'Invalid configuration unexpected EOF')
>>   2.
>>      virDomainCreateLinux() failed POST operation failed: (xend.err
>>      'Invalid configuration unexpected EOF')
>>     
>
> This is XenD itself choking on the SEXPR being given to it. It doesn't
> seem to like the ';' character, for unknown reasons. Perhaps you can
> use a hex code instead ?
>
> Dan.
>   

Awesome, I'll try that.

I did not think to check to see if my kernel option was valid in Lisp. :)

----

fn 1)  I know SEXPR's are not just for Lisp, but that would ruin the joke.







More information about the et-mgmt-tools mailing list