Re: [ovirt-users] No configured networking after node image deploy

2014-07-02 Thread Fabian Deutsch
- Original Message -
> Hi,
> 
> Using latest node image I'm having a problem with networking after node
> deploy through 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 

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:  = '';  = 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] No configured networking after node image deploy

2014-07-02 Thread Jorick Astrego

Hi,

Using latest node image I'm having a problem with networking after node 
deploy through 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 


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:  = '';  = 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