[ovirt-users] VM samba4 is down. Exit message: 'int' object has no attribute 'replace'.

René Koch rkoch at linuxland.at
Tue Apr 15 07:44:56 UTC 2014


On 04/14/2014 09:33 PM, Gabi C wrote:
> http://gerrit.ovirt.org/#/c/26254/
>
> See list on 31 march ....thread started by me....
> Brief...disable QOS

Thanks a lot for the information!
Good to know that this is already known and will get fixed. Didn't 
recognize your thread - already too many mails on this list :)


Regards,
René


>
> On Apr 14, 2014 2:56 PM, "René Koch" <rkoch at linuxland.at
> <mailto:rkoch at linuxland.at>> wrote:
>
>     Hi,
>
>     I configured Network QoS in my oVirt 3.4 setup, but can't start vms.
>
>     Here are the steps I did:
>     - Create QoS in Data Centers - Network QoS tab (Name: testing,
>     limits: 10/10/100, 10/10/100)
>     - Add QoS to vNIC Profile using Networks - vNIC Profile - edit
>
>     When I try to start a vm the following error is shown in vdsm.log:
>
>     Thread-837844::ERROR::2014-04-__14
>     12:45:51,822::vm::2289::vm.Vm:__:(_startUnderlyingVm)
>     vmId=`d7034850-c274-48f7-ac0f-__b3d4cc57c255`::The vm start process
>     failed
>     Traceback (most recent call last):
>        File "/usr/share/vdsm/vm.py", line 2249, in _startUnderlyingVm
>          self._run()
>        File "/usr/share/vdsm/vm.py", line 3135, in _run
>          domxml = hooks.before_vm_start(self.___buildCmdLine(), self.conf)
>        File "/usr/share/vdsm/vm.py", line 2965, in _buildCmdLine
>          self._appendDevices(domxml)
>        File "/usr/share/vdsm/vm.py", line 2922, in _appendDevices
>          deviceXML = dev.getXML().toxml(encoding='__utf-8')
>        File "/usr/lib64/python2.6/xml/dom/__minidom.py", line 45, in toxml
>          return self.toprettyxml("", "", encoding)
>        File "/usr/lib64/python2.6/xml/dom/__minidom.py", line 59, in
>     toprettyxml
>          self.writexml(writer, "", indent, newl)
>        File "/usr/share/vdsm/vm.py", line 5268, in __hacked_writexml
>          node.writexml(writer, indent + addindent, addindent, newl)
>        File "/usr/share/vdsm/vm.py", line 5268, in __hacked_writexml
>          node.writexml(writer, indent + addindent, addindent, newl)
>        File "/usr/share/vdsm/vm.py", line 5256, in __hacked_writexml
>          xml.dom.minidom._write_data(__writer, attrs[a_name].value)
>        File "/usr/lib64/python2.6/xml/dom/__minidom.py", line 301, in
>     _write_data
>          data = data.replace("&", "&amp;").replace("<", "&lt;")
>     AttributeError: 'int' object has no attribute 'replace'
>     Thread-837844::DEBUG::2014-04-__14
>     12:45:51,826::vm::2731::vm.Vm:__:(setDownStatus)
>     vmId=`d7034850-c274-48f7-ac0f-__b3d4cc57c255`::Changed state to
>     Down: 'int' object has no attribute 'replace'
>
>
>     When removing the QoS (or better say put it to unlimited) my vm is
>     starting fine.
>
>     My host is running CentOS 6.5 with latest updates.
>
>
>     --
>     Best Regards
>
>     René Koch
>     Senior Solution Architect
>
>     ==============================__==============
>     LIS-Linuxland GmbH
>     Brünner Straße 163, A-1210 Vienna
>
>     Phone: +43 1 236 91 60 <tel:%2B43%201%20236%2091%2060>
>     Mobile: +43 660 / 512 21 31 <tel:%2B43%20660%20%2F%20512%2021%2031>
>     E-Mail: rkoch at linuxland.at <mailto:rkoch at linuxland.at>
>     ==============================__==============
>
>     _________________________________________________
>     Users mailing list
>     Users at ovirt.org <mailto:Users at ovirt.org>
>     http://lists.ovirt.org/__mailman/listinfo/users
>     <http://lists.ovirt.org/mailman/listinfo/users>
>



More information about the Users mailing list