Re: [ovirt-users] Impossible to add other host to hosted engine's cluster

2017-09-20 Thread Simone Tiraboschi
On Wed, Sep 20, 2017 at 8:18 AM, Demeter Tibor  wrote:

> Hi,
> I've created a 3 host based hosted engine. I can't add other hosts to
> hosted engine's cluster.
>
> Before the setup, I have created a 3 node glusterfs for hosted engine on
> them.
> Because I would like use and separate vlans, I created two vlan bridge on
> all host. First is for ovirtmgmt, and a second for glusterfs.
> The hosted engine setup was successful but when I try to add other hosts,
> that is does not work, because vdsmd could not started.
> I found some network related errors in the logs:
>
> restore-net::ERROR::2017-09-19 19:14:48,072::__init__::51::root::(__exit__)
> Failed rollback transaction last known good network.
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line
> 150, in _setup_legacy
> in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 523, in bonds_setup
> _bonds_remove(remove, configurator, _netinfo, in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 548, in _bonds_remove
> if _is_bond_valid_for_removal(name, _netinfo, in_rollback):
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 573, in _is_bond_valid_for_removal
> 'interfaces %s' % (bond, bond_users))
> ConfigNetworkError: (31, "Cannot remove bonding bond0: used by another
> interfaces set(['bond0.105', 'bond0.104'])")
> restore-net::ERROR::2017-09-19 19:14:48,073::vdsm-restore-
> net-config::478::root::(restore) unified restoration failed.
> Traceback (most recent call last):
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 473, in restore
> unified_restoration()
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 123, in
> unified_restoration
> _remove_networks_in_running_config()
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 238, in
> _remove_networks_in_running_config
> '_inRollback': True})
>   File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 218,
> in setupNetworks
> _setup_networks(networks, bondings, options)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 239,
> in _setup_networks
> netswitch.setup(networks, bondings, options, in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line
> 132, in setup
> _setup_legacy(legacy_nets, legacy_bonds, options, in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line
> 150, in _setup_legacy
> in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 523, in bonds_setup
> _bonds_remove(remove, configurator, _netinfo, in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 548, in _bonds_remove
> if _is_bond_valid_for_removal(name, _netinfo, in_rollback):
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 573, in _is_bond_valid_for_removal
> 'interfaces %s' % (bond, bond_users))
> ConfigNetworkError: (31, "Cannot remove bonding bond0: used by another
> interfaces set(['bond0.105', 'bond0.104'])")
>
> The four host network config is same, the ovirtmgmt bond.104 is the
> default route.
>
> How can I add another host to cluster?
>

Is the host in non operational state now?
Could you please try moving it to maintenance mode to edit its network
configuration and then try activating it again?


>
>
>
> *Üdvözlettel:*
>
>
> *Demeter Tibor*
>
>
> E-mail: tdeme...@itsmart.hu
> Mobil: +36 30 4620500
> Web: www.itsmart.hu 
>
> 
> ItSmart Informatikai Kft.
> *2120 Dunakeszi, Wass Albert U. 2. 1/9.*
> *Telefon: +36 30 462 0500 *
>
> [EN] This message and any attachments are confidential and privileged and
> intended for the use of the addressee only. If you have received this
> communication in error, please notify the sender by replay e-mail and
> delete this message from your system. Please note that Internet e-mail
> guarantees neither the confidentiality nor the proper receipt of the
> message sent. The data deriving from our correspondence with you are
> included in a file of  ITSMART Ltd which exclusive purpose is to manage the
> communications of the company; under the understanding that, in maintaining
> said correspondence, you authorize the treatment of such data for the
> mentioned purpose. You are entitled to exercise your rights of access,
> rectification, cancellation and opposition by addressing such written
> application to address above.
> [HUN] Ez az üzenet és annak bármely csatolt anyaga bizalmas, a nyilvános
> közléstol védett, kizárólag a címzett használhatja fel. Ha Ön nem az üzenet
> címzettje, úgy kérjük válaszüzenetben értesítse errol a feladót és törölje
> az üzenetet a rendszerbol. Kérjük vegye figyelembe, hogy az email-en
> 

[ovirt-users] Impossible to add other host to hosted engine's cluster

2017-09-20 Thread Demeter Tibor
Hi, 
I've created a 3 host based hosted engine. I can't add other hosts to hosted 
engine's cluster. 

Before the setup, I have created a 3 node glusterfs for hosted engine on them. 
Because I would like use and separate vlans, I created two vlan bridge on all 
host. First is for ovirtmgmt, and a second for glusterfs. 
The hosted engine setup was successful but when I try to add other hosts, that 
is does not work, because vdsmd could not started. 
I found some network related errors in the logs: 

restore-net::ERROR::2017-09-19 19:14:48,072::__init__::51::root::(__exit__) 
Failed rollback transaction last known good network. 
Traceback (most recent call last): 
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 150, in 
_setup_legacy 
in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
523, in bonds_setup 
_bonds_remove(remove, configurator, _netinfo, in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
548, in _bonds_remove 
if _is_bond_valid_for_removal(name, _netinfo, in_rollback): 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
573, in _is_bond_valid_for_removal 
'interfaces %s' % (bond, bond_users)) 
ConfigNetworkError: (31, "Cannot remove bonding bond0: used by another 
interfaces set(['bond0.105', 'bond0.104'])") 
restore-net::ERROR::2017-09-19 
19:14:48,073::vdsm-restore-net-config::478::root::(restore) unified restoration 
failed. 
Traceback (most recent call last): 
File "/usr/share/vdsm/vdsm-restore-net-config", line 473, in restore 
unified_restoration() 
File "/usr/share/vdsm/vdsm-restore-net-config", line 123, in 
unified_restoration 
_remove_networks_in_running_config() 
File "/usr/share/vdsm/vdsm-restore-net-config", line 238, in 
_remove_networks_in_running_config 
'_inRollback': True}) 
File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 218, in 
setupNetworks 
_setup_networks(networks, bondings, options) 
File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 239, in 
_setup_networks 
netswitch.setup(networks, bondings, options, in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 132, in 
setup 
_setup_legacy(legacy_nets, legacy_bonds, options, in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 150, in 
_setup_legacy 
in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
523, in bonds_setup 
_bonds_remove(remove, configurator, _netinfo, in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
548, in _bonds_remove 
if _is_bond_valid_for_removal(name, _netinfo, in_rollback): 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
573, in _is_bond_valid_for_removal 
'interfaces %s' % (bond, bond_users)) 
ConfigNetworkError: (31, "Cannot remove bonding bond0: used by another 
interfaces set(['bond0.105', 'bond0.104'])") 

The four host network config is same, the ovirtmgmt bond.104 is the default 
route. 

How can I add another host to cluster? 







Üdvözlettel: 




Demeter Tibor 


E-mail: tdemeter @itsmart.hu 
Mobil: [ callto:+36 30 3777122 | +36 30  ] 4620500 
Web: [ http://itsmart.hu/ | www.itsmart.hu ] 

[ http://itsmart.hu/ ] 
ItSmart Informatikai Kft. 
2120 Dunakeszi, Wass Albert U. 2. 1/9. 
Telefon: [ callto:+36 30 462 0500 | +36 30 462 0500 ] 

[EN] This message and any attachments are confidential and privileged and 
intended for the use of the addressee only. If you have received this 
communication in error, please notify the sender by replay e-mail and delete 
this message from your system. Please note that Internet e-mail guarantees 
neither the confidentiality nor the proper receipt of the message sent. The 
data deriving from our correspondence with you are included in a file of 
ITSMART Ltd which exclusive purpose is to manage the communications of the 
company; under the understanding that, in maintaining said correspondence, you 
authorize the treatment of such data for the mentioned purpose. You are 
entitled to exercise your rights of access, rectification, cancellation and 
opposition by addressing such written application to address above. 
[HUN] Ez az üzenet és annak bármely csatolt anyaga bizalmas, a nyilvános 
közléstol védett, kizárólag a címzett használhatja fel. Ha Ön nem az üzenet 
címzettje, úgy kérjük válaszüzenetben értesítse errol a feladót és törölje az 
üzenetet a rendszerbol. Kérjük vegye figyelembe, hogy az email-en történo 
információtovábbítás kockázattal járhat, nem garantálja sem a csatorna 
bizalmasságát, sem a kézbesítést. A levél az ITSMART Informatikai Kft. 
kommunikációjának eszköze, az adatokat kizárólag erre a célra használjuk. 
Jogosult tájékoztatást kérni személyes adatai kezelésérol, kérheti azok 
helyesbítését, illetve törlését írásos kérelemben a fenti e-mail címen.