No configured networking after node image deploy

This is a multi-part message in MIME format. --------------000506010806040905010708 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Using latest node image I'm having a problem with networking after node deploy through http://www.ovirt.org/Features/AdvancedForemanIntegration <http://www.ovirt.org/Features/AdvancedForemanIntegration>. All network devices are unconfigured and registration of the node fails. When I disable->enable dhcp I get an error in the admin gui. supervdsm & ovirt-node.log: http://pastebin.com/8bT8aF2x <http://pastebin.com/8bT8aF2x> What caught my attention: supervdsm.log: MainThread::INFO::2014-07-02 09:11:56,256::netconfpersistence::158::root::(_clearDisk) Clearing /var/run/vdsm/netconf/nets/ and /var/run/vdsm/netconf/bonds/ MainThread::DEBUG::2014-07-02 09:11:56,256::netconfpersistence::166::root::(_clearDisk) No existent config to clear. MainThread::INFO::2014-07-02 09:11:56,256::netconfpersistence::182::root::(save) Saved new config RunningConfig({}, {}) to /var/run/vdsm/netconf/nets/ and /var/run/vdsm/netconf/bonds/ MainThread::DEBUG::2014-07-02 09:11:56,258::netconfpersistence::134::root::(_getConfigs) Non-existing config set. MainThread::DEBUG::2014-07-02 09:11:56,260::utils::683::root::(execCmd) '/sbin/ifdown eth0' (cwd None) MainThread::DEBUG::2014-07-02 09:11:56,465::utils::703::root::(execCmd) SUCCESS: <err> = ''; <rc> = 0 MainThread::ERROR::2014-07-02 09:11:56,466::utils::131::root::(rmFile) Removing file: /etc/sysconfig/network-scripts/ifcfg-eth0 failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 125, in rmFile os.unlink(fileToRemove) OSError: [Errno 16] Device or resource busy: '/etc/sysconfig/network-scripts/ifcfg-eth0' sourceRoute::DEBUG::2014-07-02 09:20:02,310::sourceroutethread::39::root::(process_IN_CLOSE_WRITE_filePath) Responding to DHCP response in /var/run/vdsm/sourceRoutes/1404292802 sourceRoute::DEBUG::2014-07-02 09:20:02,317::libvirtconnection::146::root::(get) trying to connect libvirt sourceRoute::INFO::2014-07-02 09:20:02,374::sourceroutethread::56::root::(process_IN_CLOSE_WRITE_filePath) interface eth0 is not a libvirt interface sourceRoute::WARNING::2014-07-02 09:20:02,374::utils::128::root::(rmFile) File: /var/run/vdsm/trackedInterfaces/eth0 already removed ovirt-node.log: File "/usr/lib/python2.6/site-packages/ovirt/node/setup/vdsm/engine_page.py", line 279, in on_merge model.update(cert_path=None) File "/usr/lib/python2.6/site-packages/ovirt/node/config/defaults.py", line 196, in wrapper File "/usr/lib/python2.6/site-packages/ovirt/node/setup/vdsm/engine_page.py", line 453, in update (valid.Empty(or_none=True) | valid.FQDNOrIPAddress())(server) File "/usr/lib/python2.6/site-packages/ovirt/node/valid.py", line 63, in __call__ File "/usr/lib/python2.6/site-packages/ovirt/node/valid.py", line 69, in raise_exception InvalidData: u'The field must contain an empty string or a valid FQDN or a valid IPv4 address or a valid IPv6 address.' --------------000506010806040905010708 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body text="#000000" bgcolor="#FFFFFF"> <span>Hi,<br> <br> Using latest node image I'm having a problem with networking after node deploy through <a target="_content" class="chatzilla-link" href="http://www.ovirt.org/Features/AdvancedForemanIntegration">http://www.ovirt.<wbr>org/Features/Advance<wbr>dForemanIntegration<wbr></a>. <br> <br> All network devices are unconfigured and registration of the node fails. When I disable->enable dhcp I get an error in the admin gui. supervdsm & ovirt-node.log: <a target="_content" class="chatzilla-link" href="http://pastebin.com/8bT8aF2x">http://pastebin.<wbr>com/8bT8aF2x</a><br> <br> What caught my attention:<br> <br> supervdsm.log:<br> <br> MainThread::<a class="moz-txt-link-freetext" href="INFO::2014-07-02">INFO::2014-07-02</a> 09:11:56,256::netconfpersistence::158::root::(_clearDisk) Clearing /var/run/vdsm/netconf/nets/ and /var/run/vdsm/netconf/bonds/<br> MainThread::DEBUG::2014-07-02 09:11:56,256::netconfpersistence::166::root::(_clearDisk) No existent config to clear.<br> MainThread::<a class="moz-txt-link-freetext" href="INFO::2014-07-02">INFO::2014-07-02</a> 09:11:56,256::netconfpersistence::182::root::(save) Saved new config RunningConfig({}, {}) to /var/run/vdsm/netconf/nets/ and /var/run/vdsm/netconf/bonds/<br> MainThread::DEBUG::2014-07-02 09:11:56,258::netconfpersistence::134::root::(_getConfigs) Non-existing config set.<br> MainThread::DEBUG::2014-07-02 09:11:56,260::utils::683::root::(execCmd) '/sbin/ifdown eth0' (cwd None)<br> MainThread::DEBUG::2014-07-02 09:11:56,465::utils::703::root::(execCmd) SUCCESS: <err> = ''; <rc> = 0<br> MainThread::ERROR::2014-07-02 09:11:56,466::utils::131::root::(rmFile) Removing file: /etc/sysconfig/network-scripts/ifcfg-eth0 failed<br> Traceback (most recent call last):<br> File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 125, in rmFile<br> os.unlink(fileToRemove)<br> OSError: [Errno 16] Device or resource busy: '/etc/sysconfig/network-scripts/ifcfg-eth0'<br> sourceRoute::DEBUG::2014-07-02 09:20:02,310::sourceroutethread::39::root::(process_IN_CLOSE_WRITE_filePath) Responding to DHCP response in /var/run/vdsm/sourceRoutes/1404292802<br> sourceRoute::DEBUG::2014-07-02 09:20:02,317::libvirtconnection::146::root::(get) trying to connect libvirt<br> sourceRoute::<a class="moz-txt-link-freetext" href="INFO::2014-07-02">INFO::2014-07-02</a> 09:20:02,374::sourceroutethread::56::root::(process_IN_CLOSE_WRITE_filePath) interface eth0 is not a libvirt interface<br> sourceRoute::WARNING::2014-07-02 09:20:02,374::utils::128::root::(rmFile) File: /var/run/vdsm/trackedInterfaces/eth0 already removed<br> <br> ovirt-node.log:<br> <br> File "/usr/lib/python2.6/site-packages/ovirt/node/setup/vdsm/engine_page.py", line 279, in on_merge<br> model.update(cert_path=None)<br> File "/usr/lib/python2.6/site-packages/ovirt/node/config/defaults.py", line 196, in wrapper<br> File "/usr/lib/python2.6/site-packages/ovirt/node/setup/vdsm/engine_page.py", line 453, in update<br> (valid.Empty(or_none=True) | valid.FQDNOrIPAddress())(server)<br> File "/usr/lib/python2.6/site-packages/ovirt/node/valid.py", line 63, in __call__<br> File "/usr/lib/python2.6/site-packages/ovirt/node/valid.py", line 69, in raise_exception<br> InvalidData: u'The field must contain an empty string or a valid FQDN or a valid IPv4 address or a valid IPv6 address.'<br> </span> </body> </html> --------------000506010806040905010708--

----- Original Message -----
Hi,
Using latest node image I'm having a problem with networking after node deploy through http://www.ovirt.org/Features/AdvancedForemanIntegration <http://www.ovirt.org/Features/AdvancedForemanIntegration>.
All network devices are unconfigured and registration of the node fails. When I disable->enable dhcp I get an error in the admin gui. supervdsm & ovirt-node.log: http://pastebin.com/8bT8aF2x <http://pastebin.com/8bT8aF2x>
Hey Jorick, first - thanks for testing. To debug this, could you please provide the files /var/log/ovirt-node.log /var/log/ovirt.log And - can you register the Node manually? Thanks fabian
What caught my attention:
supervdsm.log:
MainThread::INFO::2014-07-02 09:11:56,256::netconfpersistence::158::root::(_clearDisk) Clearing /var/run/vdsm/netconf/nets/ and /var/run/vdsm/netconf/bonds/ MainThread::DEBUG::2014-07-02 09:11:56,256::netconfpersistence::166::root::(_clearDisk) No existent config to clear. MainThread::INFO::2014-07-02 09:11:56,256::netconfpersistence::182::root::(save) Saved new config RunningConfig({}, {}) to /var/run/vdsm/netconf/nets/ and /var/run/vdsm/netconf/bonds/ MainThread::DEBUG::2014-07-02 09:11:56,258::netconfpersistence::134::root::(_getConfigs) Non-existing config set. MainThread::DEBUG::2014-07-02 09:11:56,260::utils::683::root::(execCmd) '/sbin/ifdown eth0' (cwd None) MainThread::DEBUG::2014-07-02 09:11:56,465::utils::703::root::(execCmd) SUCCESS: <err> = ''; <rc> = 0 MainThread::ERROR::2014-07-02 09:11:56,466::utils::131::root::(rmFile) Removing file: /etc/sysconfig/network-scripts/ifcfg-eth0 failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 125, in rmFile os.unlink(fileToRemove) OSError: [Errno 16] Device or resource busy: '/etc/sysconfig/network-scripts/ifcfg-eth0' sourceRoute::DEBUG::2014-07-02 09:20:02,310::sourceroutethread::39::root::(process_IN_CLOSE_WRITE_filePath) Responding to DHCP response in /var/run/vdsm/sourceRoutes/1404292802 sourceRoute::DEBUG::2014-07-02 09:20:02,317::libvirtconnection::146::root::(get) trying to connect libvirt sourceRoute::INFO::2014-07-02 09:20:02,374::sourceroutethread::56::root::(process_IN_CLOSE_WRITE_filePath) interface eth0 is not a libvirt interface sourceRoute::WARNING::2014-07-02 09:20:02,374::utils::128::root::(rmFile) File: /var/run/vdsm/trackedInterfaces/eth0 already removed
ovirt-node.log:
File "/usr/lib/python2.6/site-packages/ovirt/node/setup/vdsm/engine_page.py", line 279, in on_merge model.update(cert_path=None) File "/usr/lib/python2.6/site-packages/ovirt/node/config/defaults.py", line 196, in wrapper File "/usr/lib/python2.6/site-packages/ovirt/node/setup/vdsm/engine_page.py", line 453, in update (valid.Empty(or_none=True) | valid.FQDNOrIPAddress())(server) File "/usr/lib/python2.6/site-packages/ovirt/node/valid.py", line 63, in __call__ File "/usr/lib/python2.6/site-packages/ovirt/node/valid.py", line 69, in raise_exception InvalidData: u'The field must contain an empty string or a valid FQDN or a valid IPv4 address or a valid IPv6 address.'
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Fabian Deutsch
-
Jorick Astrego