Hi all,
After a succusful introspection I see my nodes in available state and maintenance=True
[stack@undercloud ~]$ openstack baremetal introspection bulk start
Setting available nodes to manageable...
Starting introspection of node: 36777b8b-401e-47e9-9eb0-8c2f6b372da6
Starting introspection of node: 8de0f3eb-3581-4080-bea4-28125bd7ee1a
Waiting 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@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@undercloud ~]$ openstack overcloud deploy --templates
Deployment failed: Not enough nodes - available: 0, requested: 2
In 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)
Esra ÇELİK
TÜBİTAK BİLGEM