[Rdo-list] Maintenance mode for deployment

Esra Celik celik.esra at tubitak.gov.tr
Tue Oct 13 10:27:20 UTC 2015



When I switched to liberty version and this doc (https://repos.fedorapeople.org/repos/openstack-m/rdo-manager-docs/liberty) this issue solved.

Thanks..



----- Orijinal Mesaj -----Kimden: John Trowbridge <trown at redhat.com>Kime: Esra Celik <celik.esra at tubitak.gov.tr>, rdo-list at redhat.comGönderilenler: Mon, 12 Oct 2015 15:46:02 +0300 (EEST)Konu: Re: [Rdo-list] Maintenance mode for deployment



On 10/09/2015 03:15 AM, Esra Celik wrote:> > Hi all,> > After a succusful introspection I see my nodes in available state and maintenance=True> > [stack at undercloud ~]$ openstack baremetal introspection bulk startSetting available nodes to manageable...Starting introspection of node: 36777b8b-401e-47e9-9eb0-8c2f6b372da6Starting introspection of node: 8de0f3eb-3581-4080-bea4-28125bd7ee1aWaiting for introspection to finish...Introspection for UUID 36777b8b-401e-47e9-9eb0-8c2f6b372da6 finished successfully.Introspection for UUID 8de0f3eb-3581-4080-bea4-28125bd7ee1a finished successfully.Setting manageable nodes to available...Node 36777b8b-401e-47e9-9eb0-8c2f6b372da6 has been set to available.Node 8de0f3eb-3581-4080-bea4-28125bd7ee1a has been set to available.Introspection completed.> [stack at undercloud ~]$ ironic node-list+--------------------------------------+------+---------------+-------------+--------------------+-------------+| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |+--------------------------------------+------+---------------+-------------+--------------------+-------------+| 36777b8b-401e-47e9-9eb0-8c2f6b372da6 | None | None | power off | available | True || 8de0f3eb-3581-4080-bea4-28125bd7ee1a | None | None | power off | available | True |+--------------------------------------+------+---------------+-------------+--------------------+-------------+> However when I start deploying I get the following error> > [stack at undercloud ~]$ openstack overcloud deploy --templatesDeployment failed: Not enough nodes - available: 0, requested: 2In tripleoclient/utils.py I noticed that available node means that it is not in maintenance mode:> 423: available = len(baremetal_client.node.list(associated=False,424: maintenance=False))> Should I set my node's maintenance = false before deployment?> Actually this is not mentioned in doc (http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#prepare-your-environment)

The nodes being in maintenance is indicative of an actual issue. Theyshould not be in maintenance after doing introspection. Theironic-conductor logs would be a good place to look for why the nodeswere put into maintenance mode.

> > > Esra ÇELİK> TÜBİTAK BİLGEM> www.bilgem.tubitak.gov.tr> celik.esra at tubitak.gov.tr> > > > _______________________________________________> Rdo-list mailing list> Rdo-list at redhat.com> https://www.redhat.com/mailman/listinfo/rdo-list> > To unsubscribe: rdo-list-unsubscribe at redhat.com> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20151013/9f23ed0b/attachment.html>


More information about the dev mailing list