Deleted the ironic nodes and ran openstack baremetal configure boot:
stack@undercloud ~]$ ironic node-list
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+
| UUID | Name | Instance UUID | Power
State | Provisioning State | Maintenance |
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+
| 496caaf1-aef6-43ab-b863-f0330ea94217 | control-0 | None | None
| available | False |
| 27d032c9-1b18-4147-a299-1ac7b733bdcd | compute-0 | None | None
| available | False |
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+
but I'm getting a timeout after 120 seconds:
[stack@undercloud ~]$ openstack baremetal configure boot
Node 496caaf1-aef6-43ab-b863-f0330ea94217 power state is in
transition. *Waiting
up to 120 seconds for it to complete.*
Timed out waiting for node 496caaf1-aef6-43ab-b863-f0330ea94217 power state.
and after running ironic node-list again, the nodes go to Maintenance set
to True:
[stack@undercloud ~]$ ironic node-list
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+
| UUID | Name | Instance UUID | Power
State | Provisioning State | Maintenance |
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+
| 496caaf1-aef6-43ab-b863-f0330ea94217 | control-0 | None | None
| available | True |
| 27d032c9-1b18-4147-a299-1ac7b733bdcd | compute-0 | None | None
| available | True |
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+
Thx!
Mit freundlichen Grüßen,
Arash Kaffamanesh
Like <
*Arash Kaffamanesh (GF)*
*Clouds Sky GmbH**Im Mediapark 4C*
*50670 Köln*
Tel.: +49 221 204 726 76
Mobile: +49 177 880 77 34
On Fri, Mar 25, 2016 at 9:42 PM, Dan Sneddon <dsneddon(a)redhat.com> wrote:
On 03/25/2016 01:15 PM, Arash Kaffamanesh wrote:
> Dan, thx!
>
> After running:
>
> [stack@undercloud ~]$ openstack baremetal configure boot
>
> nothing is get shown (and I'm somehow sure and guess that this step
> does not complete successfully, but my current knowledge ans a
> ooo-newbie doesn't allow to investigate this further for now :-)).
>
> And the introspection finishes too fast for my taste :-)
>
> [stack@undercloud ~]$ openstack baremetal introspection bulk start
>
> Setting nodes for introspection to manageable...
>
> Waiting for introspection to finish...
>
> Setting manageable nodes to available...
>
> Introspection completed.
>
>
> And yes, I've a baremetal machine with 32 GB RAM and 160 GB SSD disk.
>
> And if I run ironic node-show I get the last error which states: node
> state None does not match expected state.
>
>
> [stack@undercloud ~]$ ironic node-show
a62116c4-1daf-45e9-aa2d-ef8a4effdc20
>
>
+------------------------+--------------------------------------------------------------------------+
>
> | Property | Value
> |
>
>
+------------------------+--------------------------------------------------------------------------+
>
> | target_power_state | None
> |
>
> | extra | {}
> |
>
> | last_error | During sync_power_state, max retries
> exceeded for node a62116c4-1daf- |
>
> | | 45e9-aa2d-ef8a4effdc20, node state None does
> not match expected state |
>
> | | 'None'. Updating DB state to 'None'
> Switching node to maintenance mode. |
>
>
> I also deleted the undercloud node and re-ran a fresh install of the
> undercloud and I'm going to do a fresh baremetal install of the
> virthost now and document all steps one by for the quickstart.
>
> One question: does the upstream documentation for TripleO work for
> anyone (without quickstart?). For the virt-install I got the instack
> running, but that was a nightmare :-)
>
> Thx,
> -Arash
>
>
>
> Mit freundlichen Grüßen,
> Arash Kaffamanesh
>
> Like <
https://www.facebook.com/cloudssky> | Follow
> <
https://twitter.com/CLOUDSSKYONE>
>
> *Arash Kaffamanesh (GF)**
>
> Clouds Sky GmbH
> **Im Mediapark 4C*
>
> *50670 Köln*
>
> Tel.: +49 221 204 726 76
> Mobile: +49 177 880 77 34
>
www.cloudssky.com <
http://www.cloudssky.com/>
>
> **
>
>
> On Fri, Mar 25, 2016 at 8:20 PM, Dan Sneddon <dsneddon(a)redhat.com
> <mailto:dsneddon@redhat.com>> wrote:
>
> On 03/25/2016 11:52 AM, Arash Kaffamanesh wrote:
> > Hi,
> >
> > I'm trying to deploy OpenStack via TripleO quickstart in AIO / virt
> > mode and I'm getting by the last step deploying the overcloud the
> > following "Heat Stack create failed" message (There are not
enough
> > hosts available, due to Configuration has 4 errors, fix them before
> > proceeding ????).
> > *
> > *
> >
> > After running openstack overcloud deploy I'm getting
> *Configuration has
> > 4 errors, fix them before proceeding*: (and I guess the problem
lies
> > somehow here with the "incorrectly configured driver_info"):
> >
> > [stack@undercloud ~]$ openstack overcloud deploy --templates
> >
> > Node uuid=a62116c4-1daf-45e9-aa2d-ef8a4effdc20 has an incorrectly
> > configured driver_info/deploy_ramdisk. Expected
> > "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".
> >
> > Node uuid=a62116c4-1daf-45e9-aa2d-ef8a4effdc20 has an incorrectly
> > configured driver_info/deploy_kernel. Expected
> > "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".
> >
> > Node uuid=cfc60017-36e8-4808-842d-8c65ffb5e4b1 has an incorrectly
> > configured driver_info/deploy_ramdisk. Expected
> > "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".
> >
> > Node uuid=cfc60017-36e8-4808-842d-8c65ffb5e4b1 has an incorrectly
> > configured driver_info/deploy_kernel. Expected
> > "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".
> >
> > *Configuration has 4 errors, fix them before proceeding.* Ignoring
> > these errors is likely to lead to a failed deploy.
> >
> > Deploying templates in the directory
> > /usr/share/openstack-tripleo-heat-templates
> >
> > 2016-03-25 17:45:13 [overcloud]: CREATE_IN_PROGRESS Stack CREATE
started
> >
> > 2016-03-25 17:45:13 [MysqlRootPassword]: CREATE_IN_PROGRESS state
changed
> >
> > 2016-03-25 17:45:14 [Networks]: CREATE_IN_PROGRESS state changed
> >
> > .......
> >
> > 2016-03-25 17:47:15 [overcloud]: CREATE_FAILED Resource CREATE
failed:
> > resources.Compute: ResourceInError:
resources[0].resources.NovaCompute:
> > Went to status ERROR due to "Message: No valid host was found.
*There
> > are not enough hosts available*., Code: 500"
> >
> > *Stack overcloud CREATE_FAILED*
> >
> > *Heat Stack create failed.*
> >
> > [stack@undercloud ~]$ heat stack-list
> >
> >
+--------------------------------------+------------+---------------+---------------------+--------------+
> >
> > | id | stack_name |
stack_status |
> > creation_time | updated_time |
> >
> >
+--------------------------------------+------------+---------------+---------------------+--------------+
> >
> > | 27fd6b76-7413-4e9b-9b5e-c7afb941ee0e | overcloud |
> *CREATE_FAILED* |
> > 2016-03-25T17:45:12 | None |
> >
> >
+--------------------------------------+------------+---------------+---------------------+--------------+
> >
> >
> > By the way I tried to get the stable liberty and the latest mitaka
> > working with TripleO, no either worked.
> > And tried also Lars's tutorial here:
> >
> >
http://blog.oddbit.com/2016/02/19/deploy-an-ha-openstack-development-envir/
> >
> > had not so much luck, but could learn a lot and would prefer to
learn
> > more by running the ansible playbooks by hand as described by Lars.
> >
> > Any help / advice is much appreciated.
> >
> > Thx,
> > -Arash
> >
> >
> >
> >
> > _______________________________________________
> > Rdo-list mailing list
> > Rdo-list(a)redhat.com <mailto:Rdo-list@redhat.com>
> >
https://www.redhat.com/mailman/listinfo/rdo-list
> >
> > To unsubscribe: rdo-list-unsubscribe(a)redhat.com
> <mailto:rdo-list-unsubscribe@redhat.com>
> >
>
> This sounds like the nodes either weren't introspected properly, have
> incorrect boot settings, or do not meet the criteria for your
flavors.
>
> In particular, did you possibly forget to run "openstack baremetal
> configure boot"? This has to be run after you import the nodes from
> instack_env.json, and it will assign the kernel and ramdisk to the
> nodes.
>
> The instructions for this process begin here:
>
http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_d...
>
> You want to make sure that when you run "openstack baremetal
> introspection bulk start" that the introspection completes
> successfully. You can then use "ironic node-list" and "ironic
node-show
> <UUID>" to see the basic info about the host. The default baremetal
> flavor requires 4G of RAM and 40G of hard drive space. Do your nodes
> meet that minimum criteria? That's another cause of the "not enough
> hosts available", although I think the configure boot setting is a
more
> likely culprit.
>
> If you are trying to assign nodes to roles (Controller, Compute,
etc.),
> then you will want to review this section:
>
>
http://docs.openstack.org/developer/tripleo-docs/advanced_deployment/prof...
>
> --
> Dan Sneddon | Principal OpenStack Engineer
> dsneddon(a)redhat.com <mailto:dsneddon@redhat.com> |
>
redhat.com/openstack <
http://redhat.com/openstack>
> 650.254.4025 | dsneddon:irc @dxs:twitter
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list(a)redhat.com <mailto:Rdo-list@redhat.com>
>
https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe(a)redhat.com
> <mailto:rdo-list-unsubscribe@redhat.com>
>
>
That introspection doesn't look right. Are you sure that you imported
the nodes?
"openstack baremetal import --json instackenv.json"
You should then see the nodes actually being introspected. Does
anything show up now in an "ironic node-list"? Try deleting whatever
shows up in that list with "ironic node-delete <UUID>", then run the
import command above, followed by "openstack baremetal configure boot",
followed by "openstack baremetal introspection bulk start".
Start here, and make sure you follow all the steps:
http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_d...
--
Dan Sneddon | Principal OpenStack Engineer
dsneddon(a)redhat.com |
redhat.com/openstack
650.254.4025 | dsneddon:irc @dxs:twitter