[Rdo-list] Maintenance mode for deployment
John Trowbridge
trown at redhat.com
Mon Oct 12 12:46:02 UTC 2015
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. They
should not be in maintenance after doing introspection. The
ironic-conductor logs would be a good place to look for why the nodes
were 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
>
More information about the dev
mailing list