Re: [ovirt-users] 3.5 install issues: failed to setup ovirtmgmt

2014-10-27 Thread Jiri Moskovcak

On 10/26/2014 11:13 PM, Dan Kenigsberg wrote:

On Sat, Oct 25, 2014 at 09:18:18PM -0400, Robert Story wrote:

On Sat, 25 Oct 2014 23:30:41 +0100 Dan wrote:
DK On Sat, Oct 25, 2014 at 03:18:32PM -0400, Robert Story wrote:
DK  line 225, in _setupNetworks 'message: %s' % (networks, code,
DK  message)) RuntimeError: Failed to setup networks {'ovirtmgmt':
DK  {'nic': 'eth0', 'netmask': '255.255.255.0', 'bootproto': 'none',
DK  'ipaddr': '10.69.79.31'}}. Error code: 16 message: Unexpected
DK  exception
DK
DK This means that something nasty happened inside Vdsm while attempting to
DK create the bridge.
DK
DK Can you attach vdsm.log and supervdsmd.log?

Sure...

http://futz.org/users/tmp/ovirt5/supervdsm.log
http://futz.org/users/tmp/ovirt5/vdsm.log


supervdsm.log has

MainProcess|Thread-16::DEBUG::2014-10-25 
12:37:25,045::supervdsmServer::101::SuperVdsm.ServerCallback::(wrapper) call 
setupNetworks with ({'ovirtmgmt': {'nic': 'eth0', 'netmask': '255.255.255.0', 
'bootproto': 'none', 'ipaddr': '10.69.79.31'}}, {}, {'connectivityCheck': 
False}) {}
MainProcess|Thread-16::WARNING::2014-10-25 
12:37:25,046::libvirtconnection::135::root::(wrapper) connection to libvirt 
broken. ecode: 1 edom: 7
MainProcess|Thread-16::CRITICAL::2014-10-25 
12:37:25,046::libvirtconnection::137::root::(wrapper) taking calling process 
down.
MainThread::DEBUG::2014-10-25 
12:37:25,046::supervdsmServer::451::SuperVdsm.Server::(main) Terminated normally
MainProcess|Thread-16::DEBUG::2014-10-25 
12:37:25,046::libvirtconnection::143::root::(wrapper) Unknown libvirterror: 
ecode: 1 edom: 7 level: 2 message: internal error client socket is closed

which means that libvirtd has died (or was restarted).

Jiri, can you tell why this has happened?


Hi Dan,
I'm not libvirt expert, so I don't have any idea why it died and I don't 
think the setup restarts it during the installation.


--Jirka



Dan.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.5 install issues: failed to setup ovirtmgmt

2014-10-26 Thread Dan Kenigsberg
On Sat, Oct 25, 2014 at 09:18:18PM -0400, Robert Story wrote:
 On Sat, 25 Oct 2014 23:30:41 +0100 Dan wrote:
 DK On Sat, Oct 25, 2014 at 03:18:32PM -0400, Robert Story wrote:
 DK  line 225, in _setupNetworks 'message: %s' % (networks, code,
 DK  message)) RuntimeError: Failed to setup networks {'ovirtmgmt':
 DK  {'nic': 'eth0', 'netmask': '255.255.255.0', 'bootproto': 'none',
 DK  'ipaddr': '10.69.79.31'}}. Error code: 16 message: Unexpected
 DK  exception
 DK 
 DK This means that something nasty happened inside Vdsm while attempting to
 DK create the bridge.
 DK 
 DK Can you attach vdsm.log and supervdsmd.log?
 
 Sure...
 
 http://futz.org/users/tmp/ovirt5/supervdsm.log
 http://futz.org/users/tmp/ovirt5/vdsm.log

supervdsm.log has

MainProcess|Thread-16::DEBUG::2014-10-25 
12:37:25,045::supervdsmServer::101::SuperVdsm.ServerCallback::(wrapper) call 
setupNetworks with ({'ovirtmgmt': {'nic': 'eth0', 'netmask': '255.255.255.0', 
'bootproto': 'none', 'ipaddr': '10.69.79.31'}}, {}, {'connectivityCheck': 
False}) {}
MainProcess|Thread-16::WARNING::2014-10-25 
12:37:25,046::libvirtconnection::135::root::(wrapper) connection to libvirt 
broken. ecode: 1 edom: 7
MainProcess|Thread-16::CRITICAL::2014-10-25 
12:37:25,046::libvirtconnection::137::root::(wrapper) taking calling process 
down.
MainThread::DEBUG::2014-10-25 
12:37:25,046::supervdsmServer::451::SuperVdsm.Server::(main) Terminated normally
MainProcess|Thread-16::DEBUG::2014-10-25 
12:37:25,046::libvirtconnection::143::root::(wrapper) Unknown libvirterror: 
ecode: 1 edom: 7 level: 2 message: internal error client socket is closed

which means that libvirtd has died (or was restarted).

Jiri, can you tell why this has happened?

Dan.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 3.5 install issues: failed to setup ovirtmgmt

2014-10-25 Thread Robert Story
I'm on my 4th attempt to get a 3.5 hosted-engine set up on CentOS 6.5. I
seem to hit a different snag each time. The first 3 were with the ovirtmgmt
bridge on a tagged VLAN, so I decided to go back to an untagged interface
and see if I had better luck. But this install failed even earlier, when
creating the management bridge:

2014-10-25 12:37:24 INFO otopi.plugins.ovirt_hosted_engine_setup.network.bridge 
bridge._misc:198 Configuring the management bridge
2014-10-25 12:37:25 DEBUG otopi.context context._executeMethod:152 method 
exception
Traceback (most recent call last):
  File /usr/lib/python2.6/site-packages/otopi/context.py, line 142, in 
_executeMethod
method['method']()
  File 
/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
 line 207, in _misc
_setupNetworks(conn, networks, {}, {'connectivityCheck': False})
  File 
/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
 line 225, in _setupNetworks
'message: %s' % (networks, code, message))
RuntimeError: Failed to setup networks {'ovirtmgmt': {'nic': 'eth0', 'netmask': 
'255.255.255.0', 'bootproto': 'none', 'ipaddr': '10.69.79.31'}}. Error code: 
16 message: Unexpected exception
2014-10-25 12:37:25 ERROR otopi.context context._executeMethod:161 Failed to 
execute stage 'Misc configuration': Failed to setup networks {'ovirtmgmt': 
{'nic': 'eth0', 'netmask': '255.255.255.0', 'bootproto': 'none', 'ipaddr': 
'10.69.79.31'}}. Error code: 16 message: Unexpected exception
2014-10-25 12:37:25 DEBUG otopi.transaction transaction.abort:131 aborting 
'File transaction for '/etc/ovirt-hosted-engine/firewalld/hosted-console.xml''
2014-10-25 12:37:25 DEBUG otopi.transaction transaction.abort:131 aborting 
'File transaction for '/etc/ovirt-hosted-engine/iptables.example''
2014-10-25 12:37:25 DEBUG otopi.transaction transaction.abort:131 aborting 
'File transaction for '/etc/sysconfig/iptables''
2014-10-25 12:37:25 DEBUG otopi.transaction transaction.abort:131 aborting 
'File transaction for '/etc/ovirt-hosted-engine-ha/broker.conf''

Complete log here:

http://futz.org/users/tmp/ovirt5/ovirt-hosted-engine-setup-20141025123111-g51fy0.log

I thought it might because there was still a tagged vlan on the interface,
so I tried to deploy again after removing everything else from eth0, but
still no luck. that log is at

http://futz.org/users/tmp/ovirt5/ovirt-hosted-engine-setup-20141025150830-s2byre.log

any hints tips appreciated...


Robert

-- 
Senior Software Engineer @ Parsons


signature.asc
Description: PGP signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.5 install issues: failed to setup ovirtmgmt

2014-10-25 Thread Dan Kenigsberg
On Sat, Oct 25, 2014 at 03:18:32PM -0400, Robert Story wrote:
 I'm on my 4th attempt to get a 3.5 hosted-engine set up on CentOS 6.5. I
 seem to hit a different snag each time. The first 3 were with the ovirtmgmt
 bridge on a tagged VLAN, so I decided to go back to an untagged interface
 and see if I had better luck. But this install failed even earlier, when
 creating the management bridge:
 
 2014-10-25 12:37:24 INFO 
 otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:198 
 Configuring the management bridge
 2014-10-25 12:37:25 DEBUG otopi.context context._executeMethod:152 method 
 exception
 Traceback (most recent call last):
   File /usr/lib/python2.6/site-packages/otopi/context.py, line 142, in 
 _executeMethod
 method['method']()
   File 
 /usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
  line 207, in _misc
 _setupNetworks(conn, networks, {}, {'connectivityCheck': False})
   File 
 /usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
  line 225, in _setupNetworks
 'message: %s' % (networks, code, message))
 RuntimeError: Failed to setup networks {'ovirtmgmt': {'nic': 'eth0', 
 'netmask': '255.255.255.0', 'bootproto': 'none', 'ipaddr': '10.69.79.31'}}. 
 Error code: 16 message: Unexpected exception

This means that something nasty happened inside Vdsm while attempting to
create the bridge.

Can you attach vdsm.log and supervdsmd.log?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.5 install issues: failed to setup ovirtmgmt

2014-10-25 Thread Robert Story
On Sat, 25 Oct 2014 23:30:41 +0100 Dan wrote:
DK On Sat, Oct 25, 2014 at 03:18:32PM -0400, Robert Story wrote:
DK  line 225, in _setupNetworks 'message: %s' % (networks, code,
DK  message)) RuntimeError: Failed to setup networks {'ovirtmgmt':
DK  {'nic': 'eth0', 'netmask': '255.255.255.0', 'bootproto': 'none',
DK  'ipaddr': '10.69.79.31'}}. Error code: 16 message: Unexpected
DK  exception
DK 
DK This means that something nasty happened inside Vdsm while attempting to
DK create the bridge.
DK 
DK Can you attach vdsm.log and supervdsmd.log?

Sure...

http://futz.org/users/tmp/ovirt5/supervdsm.log
http://futz.org/users/tmp/ovirt5/vdsm.log


Robert

-- 
Senior Software Engineer @ Parsons


signature.asc
Description: PGP signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users