[Rdo-list] Yan: Re: OverCloud deploy fails with error "No valid host was found"

Marius Cornea mcornea at redhat.com
Tue Oct 13 18:16:14 UTC 2015


----- Original Message -----
> From: "Esra Celik" <celik.esra at tubitak.gov.tr>
> To: "Marius Cornea" <mcornea at redhat.com>
> Cc: "Ignacio Bravo" <ibravo at ltgfederal.com>, rdo-list at redhat.com
> Sent: Tuesday, October 13, 2015 5:02:09 PM
> Subject: Yan: Re: [Rdo-list] OverCloud deploy fails with error "No valid host was found"
> 
> During deployment they are powering on and deploying the images. I see lot of
> connection error messages about ironic-python-agent but ignore them as
> mentioned here
> (https://www.redhat.com/archives/rdo-list/2015-October/msg00052.html)

That was referring to the introspection stage. From what I can tell you are experiencing issues during deployment as it fails to provision the nova instances, can you check if during that stage the nodes get powered on? 

Make sure that before overcloud deploy the ironic nodes are available for provisioning (ironic node-list and check the provisioning state column). Also check that you didn't miss any step in the docs in regards to kernel and ramdisk assignment, introspection, flavor creation(so it matches the nodes resources)
https://repos.fedorapeople.org/repos/openstack-m/rdo-manager-docs/liberty/basic_deployment/basic_deployment_cli.html


> In instackenv.json file I do not need to add the undercloud node, or do I?

No, the nodes details should be enough.

> And which log files should I watch during deployment?

You can check the openstack-ironic-conductor logs(journalctl -fl -u openstack-ironic-conductor.service) and the logs in /var/log/nova.

> Thanks
> Esra
> 
> 
> ----- Orijinal Mesaj -----Kimden: Marius Cornea <mcornea at redhat.com>Kime:
> Esra Celik <celik.esra at tubitak.gov.tr>Kk: Ignacio Bravo
> <ibravo at ltgfederal.com>, rdo-list at redhat.comGönderilenler: Tue, 13 Oct
> 2015 17:25:00 +0300 (EEST)Konu: Re: [Rdo-list] OverCloud deploy fails with
> error "No valid host was found"
> 
> ----- Original Message -----> From: "Esra Celik" <celik.esra at tubitak.gov.tr>>
> To: "Ignacio Bravo" <ibravo at ltgfederal.com>> Cc: rdo-list at redhat.com> Sent:
> Tuesday, October 13, 2015 3:47:57 PM> Subject: Re: [Rdo-list] OverCloud
> deploy fails with error "No valid host was found"> > > > Actually I
> re-installed the OS for Undercloud before deploying. However I did> not
> re-install the OS in Compute and Controller nodes.. I will reinstall> basic
> OS for them too, and retry..
> 
> You don't need to reinstall the OS on the controller and compute, they will
> get the image served by the undercloud. I'd recommend that during deployment
> you watch the servers console and make sure they get powered on, pxe boot,
> and actually get the image deployed.
> 
> Thanks
> 
> > Thanks> > > > Esra ÇELİK> TÜBİTAK BİLGEM>
> > www.bilgem.tubitak.gov.tr> celik.esra at tubitak.gov.tr> > > Kimden: "Ignacio
> > Bravo" <ibravo at ltgfederal.com>> Kime: "Esra Celik"
> > <celik.esra at tubitak.gov.tr>> Kk: rdo-list at redhat.com> Gönderilenler:
> > 13 Ekim Salı 2015 16:36:06> Konu: Re: [Rdo-list] OverCloud deploy fails
> > with error "No valid host was> found"> > Esra,> > I encountered the same
> > problem after deleting the stack and re-deploying.> > It turns out that
> > 'heat stack-delete overcloud’ does remove the nodes from>
> > ‘nova list’ and one would assume that the baremetal servers
> > are now ready to> be used for the next stack, but when redeploying, I get
> > the same message of> not enough hosts available.> > You can look into the
> > nova logs and it mentions something about ‘node xxx is> already
> > associated with UUID yyyy’ and ‘I tried 3 times and I’m
> > giving up’.> The issue is that the UUID yyyy belonged to a prior
> > unsuccessful deployment.> > I’m now redeploying the basic OS to
> > start from scratch again.> > IB> > __> Ignacio Bravo> LTG Federal, Inc>
> > www.ltgfederal.com> Office: (703) 951-7760> > > > On Oct 13, 2015, at 9:25
> > AM, Esra Celik < celik.esra at tubitak.gov.tr > wrote:> > > Hi all,> >
> > OverCloud deploy fails with error "No valid host was found"> >
> > [stack at undercloud ~]$ openstack overcloud deploy --templates> Deploying
> > templates in the directory> /usr/share/openstack-tripleo-heat-templates>
> > Stack failed with status: 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"> Heat Stack create failed.> > Here are some logs:>
> > > Every 2.0s: heat resource-list -n 5 overcloud | grep -v COMPLETE Tue Oct
> > 13> 16:18:17 2015> >
> > +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+>
> > | resource_name | physical_resource_id | resource_type | resource_status
> > |> | updated_time | stack_name |>
> > +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+>
> > | Compute | e33b6b1e-8740-4ded-ad7f-720617a03393 | OS::Heat::ResourceGroup
> > |> | CREATE_FAILED | 2015-10-13T10:20:36 | overcloud |> | Controller |
> > 116c57ff-debb-4c12-92e1-e4163b67dc17 | OS::Heat::ResourceGroup> | |
> > CREATE_FAILED | 2015-10-13T10:20:36 | overcloud |> | 0 |
> > 342a9023-de8f-4b5b-b3ec-498d99b56dc4 | OS::TripleO::Controller |> |
> > CREATE_IN_PROGRESS | 2015-10-13T10:20:52 |> |
> > overcloud-Controller-45bbw24xxhxs |> | 0 |
> > e420a7bd-86f8-4cc1-b6a0-5ba8d1412453 | OS::TripleO::Compute |> |
> > CREATE_FAILED | 2015-10-13T10:20:54 | overcloud-Compute-vqk632ysg64r |> |
> > Controller | 2e9ac712-0566-49b5-958f-c3e151bb24d7 | OS::Nova::Server |> |
> > CREATE_IN_PROGRESS | 2015-10-13T10:20:54 |> |
> > overcloud-Controller-45bbw24xxhxs-0-3vyhjiak2rsk |> | NovaCompute |
> > 96efee56-81cb-46af-beef-84f4a3af761a | OS::Nova::Server |> | CREATE_FAILED
> > | 2015-10-13T10:20:56 |> | overcloud-Compute-vqk632ysg64r-0-32nalzkofmef
> > |>
> > +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+>
> > > > [stack at undercloud ~]$ heat resource-show overcloud Compute>
> > +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+>
> > | Property | Value |>
> > +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+>
> > | attributes | { |> | | "attributes": null, |> | | "refs": null |> | | }
> > |> | creation_time | 2015-10-13T10:20:36 |> | description | |> | links |>
> > |
> > http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70/resources/Compute>
> > | (self) |> | |
> > http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70>
> > | | (stack) |> | |
> > http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud-Compute-vqk632ysg64r/e33b6b1e-8740-4ded-ad7f-720617a03393>
> > | | (nested) |> | logical_resource_id | Compute |> | physical_resource_id
> > | e33b6b1e-8740-4ded-ad7f-720617a03393 |> | required_by |
> > ComputeAllNodesDeployment |> | | ComputeNodesPostDeployment |> | |
> > ComputeCephDeployment |> | | ComputeAllNodesValidationDeployment |> | |
> > AllNodesExtraConfig |> | | allNodesConfig |> | resource_name | Compute |>
> > | resource_status | CREATE_FAILED |> | resource_status_reason |
> > 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"> | |> | resource_type |
> > OS::Heat::ResourceGroup |> | updated_time | 2015-10-13T10:20:36 |>
> > +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+>
> > > > > This is my instackenv.json for 1 compute and 1 control node to be
> > deployed.> > {> "nodes": [> {> "pm_type":"pxe_ipmitool",> "mac":[>
> > "08:9E:01:58:CC:A1"> ],> "cpu":"4",> "memory":"8192",> "disk":"10",>
> > "arch":"x86_64",> "pm_user":"root",> "pm_password":"calvin",>
> > "pm_addr":"192.168.0.18"> },> {> "pm_type":"pxe_ipmitool",> "mac":[>
> > "08:9E:01:58:D0:3D"> ],> "cpu":"4",> "memory":"8192",> "disk":"100",>
> > "arch":"x86_64",> "pm_user":"root",> "pm_password":"calvin",>
> > "pm_addr":"192.168.0.19"> }> ]> }> > > Any ideas? Thanks in advance> > >
> > 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> > > >
> > _______________________________________________> 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