[Rdo-list] TripleO quickstart problem by deploying the overcloud
Dan Sneddon
dsneddon at redhat.com
Fri Mar 25 19:20:47 UTC 2016
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 at 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 at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe at 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_deployment_cli.html#introspect-nodes
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/profile_matching.html
--
Dan Sneddon | Principal OpenStack Engineer
dsneddon at redhat.com | redhat.com/openstack
650.254.4025 | dsneddon:irc @dxs:twitter
More information about the dev
mailing list