Can't register nodes with oVirt driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ironic-staging-drivers |
In Progress
|
Undecided
|
Derek Higgins |
Bug Description
Nodes being registered with the oVirt driver can hit the following error if a unicode string is passed to ironic (not necessarily containing multibyte characters)
2018-03-29 07:00:58.148 3756 ERROR ironic.
The problem is that it accepts strings, not unicode objects.
python-
>>> c = pycurl.Curl()
>>> c.setopt(
>>> c.setopt(
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: invalid arguments to setopt
In ./ironic_ staging_ drivers/ ovirt/ovirt. py:_getvm
Wrapping url in str(url) fixes the problem assuming the VM name doesn't contain multibyte characters