Re: [Openstack] tripleO Error No valid host was found

2018-02-01 Thread Satish Patel
You have a point +1

But i am confused where i didn't tell undercloud what kind of VM i am
going to use for overcloud then how does undercloud find out i am
using 2 vCPU and 2GB memory vm?  On VMware i don't have any ipmitool
etc where undercloud inspect my hardware.

That is what i am trying to understand how undercloud going to inspect
my hardware in VMware Workstation?

On Thu, Feb 1, 2018 at 10:16 AM, Lars Brune  wrote:
> Hi Satish,
>
> so the problem seems to be the following:
>
> You are telling the under cloud to use these flavors with:
>
> (undercloud) [stack@tripleo instance]$ openstack overcloud deploy
> --templates   --control-scale 1 --compute-scale 1 --control-flavor
> control --compute-flavor compute
>
> Your flavor for control, compute etc. says it needs at leats 4GB of RAM,
>  40GB of Disk etc. but you only have instances providing 2GB of RAM.
> This is way nova is complaining about not finding a valid host.
> The scheduler simply can not fulfil your request for a host with those
> resources available.
>
> To get around this you could either create VMs with a bit more ram etc,
> or you need to change the flavors - but i’m afraid 2GB of ram is to little.
> If you have the resources try to use at least 8GB per control or compute
>  node if not you could try with 4GB and swap but i’m not sure if this works
> well enough.
>
>
> Am 01.02.2018 um 15:56 schrieb Satish Patel :
>
> Hi Lars,
>
> I am following this article
> https://www.linuxtechi.com/deploy-tripleo-overcloud-controller-computes-centos-7/
>
> (undercloud) [root@tripleo ~]# openstack flavor list
> +--+---+--+--+---+---+---+
> | ID   | Name  |  RAM | Disk |
> Ephemeral | VCPUs | Is Public |
> +--+---+--+--+---+---+---+
> | 0c8a1969-385c-4f93-b43f-7d68f22039f3 | compute   | 4096 |   40 |
>0 | 1 | True  |
> | 26481980-ecc8-4262-91b1-83afac58f62f | control   | 4096 |   40 |
>0 | 1 | True  |
> | 97a4b189-c743-4ca8-aaae-b33aebeb4470 | ceph-storage  | 4096 |   40 |
>0 | 1 | True  |
> | 9bedb045-4a5a-423b-92d6-813cf3bb9b1b | baremetal | 4096 |   40 |
>0 | 1 | True  |
> | c3d26a13-430a-4db3-9f84-bf6ca6675629 | swift-storage | 4096 |   40 |
>0 | 1 | True  |
> | cb5b3d9d-3b47-428c-a455-17650185b85f | block-storage | 4096 |   40 |
>0 | 1 | True  |
> +--+---+--+--+---+---+---+
> (undercloud) [root@tripleo ~]#
>
>
> I have created two VM on VMware Workstation with 2 CPU and 2GB memory,
> but i didn't tell undercloud what type of instance i have, this is
> what i have in my instance.json file, How does undercloud will know
> what flavor i am going to deploy?
>
>
> [stack@tripleo ~]$ cat instance/instance.json
> {
>"nodes":[
>{
>"mac":[
>"00:0C:29:FE:72:97"
>],
>"arch":"x86_64",
>"name": "overcloud-controller",
>"pm_type":"fake_pxe"
>},
>{
>"mac":[
>"00:0C:29:93:36:B2"
>],
>"arch":"x86_64",
>"name": "overcloud-compute1",
>"pm_type":"fake_pxe"
>}
>]
> }
>
> On Thu, Feb 1, 2018 at 2:40 AM, Lars Brune  wrote:
>
> Hi Satish,
>
> could you provide some more information about the hosts and flavors?
> I’ve made the experience that it sometimes helps to create the flavors with
> a bit of a margin to the „real“ hardware to avoid nova complaining about
> this.
>
> Am 01.02.2018 um 08:16 schrieb Remo Mattei :
>
> What are you running? Pike? Ocata?
>
> Pike option have changed so the flavor could be an issue now. You should
> look into that and see.
>
> Inviato da iPhone
>
> Il giorno 01 feb 2018, alle ore 00:48, Tony Breeds 
> ha scritto:
>
> On Wed, Jan 31, 2018 at 06:10:11PM -0500, Satish Patel wrote:
> I am playing with tripleO and getting following error when deploying
> overcloud, I doing all this on VMware Workstation with fake_pxe
> driver, I did enable drive in ironic too.
>
> What could be wrong here?
>
>
> There's lots that could be wrong sadly.  Testign under VMware is minimal
> to none.  There are some good tips at:
>
> https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting.html
> Specifically:
>
> https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting-overcloud.html#no-valid-host-found-error
>
> Yours Tony.
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
> ___
> Mailing list: http://lists.openst

Re: [Openstack] tripleO Error No valid host was found

2018-02-01 Thread Lars Brune
Hi Satish, 

so the problem seems to be the following:

You are telling the under cloud to use these flavors with: 

(undercloud) [stack@tripleo instance]$ openstack overcloud deploy
--templates   --control-scale 1 --compute-scale 1 --control-flavor
control --compute-flavor compute

Your flavor for control, compute etc. says it needs at leats 4GB of RAM,
 40GB of Disk etc. but you only have instances providing 2GB of RAM.
This is way nova is complaining about not finding a valid host. 
The scheduler simply can not fulfil your request for a host with those 
resources available. 

To get around this you could either create VMs with a bit more ram etc, 
or you need to change the flavors - but i’m afraid 2GB of ram is to little. 
If you have the resources try to use at least 8GB per control or compute
 node if not you could try with 4GB and swap but i’m not sure if this works 
well enough. 


> Am 01.02.2018 um 15:56 schrieb Satish Patel :
> 
> Hi Lars,
> 
> I am following this article
> https://www.linuxtechi.com/deploy-tripleo-overcloud-controller-computes-centos-7/
> 
> (undercloud) [root@tripleo ~]# openstack flavor list
> +--+---+--+--+---+---+---+
> | ID   | Name  |  RAM | Disk |
> Ephemeral | VCPUs | Is Public |
> +--+---+--+--+---+---+---+
> | 0c8a1969-385c-4f93-b43f-7d68f22039f3 | compute   | 4096 |   40 |
>0 | 1 | True  |
> | 26481980-ecc8-4262-91b1-83afac58f62f | control   | 4096 |   40 |
>0 | 1 | True  |
> | 97a4b189-c743-4ca8-aaae-b33aebeb4470 | ceph-storage  | 4096 |   40 |
>0 | 1 | True  |
> | 9bedb045-4a5a-423b-92d6-813cf3bb9b1b | baremetal | 4096 |   40 |
>0 | 1 | True  |
> | c3d26a13-430a-4db3-9f84-bf6ca6675629 | swift-storage | 4096 |   40 |
>0 | 1 | True  |
> | cb5b3d9d-3b47-428c-a455-17650185b85f | block-storage | 4096 |   40 |
>0 | 1 | True  |
> +--+---+--+--+---+---+---+
> (undercloud) [root@tripleo ~]#
> 
> 
> I have created two VM on VMware Workstation with 2 CPU and 2GB memory,
> but i didn't tell undercloud what type of instance i have, this is
> what i have in my instance.json file, How does undercloud will know
> what flavor i am going to deploy?
> 
> 
> [stack@tripleo ~]$ cat instance/instance.json
> {
>"nodes":[
>{
>"mac":[
>"00:0C:29:FE:72:97"
>],
>"arch":"x86_64",
>"name": "overcloud-controller",
>"pm_type":"fake_pxe"
>},
>{
>"mac":[
>"00:0C:29:93:36:B2"
>],
>"arch":"x86_64",
>"name": "overcloud-compute1",
>"pm_type":"fake_pxe"
>}
>]
> }
> 
> On Thu, Feb 1, 2018 at 2:40 AM, Lars Brune  wrote:
>> Hi Satish,
>> 
>> could you provide some more information about the hosts and flavors?
>> I’ve made the experience that it sometimes helps to create the flavors with 
>> a bit of a margin to the „real“ hardware to avoid nova complaining about 
>> this.
>> 
>>> Am 01.02.2018 um 08:16 schrieb Remo Mattei :
>>> 
>>> What are you running? Pike? Ocata?
>>> 
>>> Pike option have changed so the flavor could be an issue now. You should 
>>> look into that and see.
>>> 
>>> Inviato da iPhone
>>> 
 Il giorno 01 feb 2018, alle ore 00:48, Tony Breeds 
  ha scritto:
 
> On Wed, Jan 31, 2018 at 06:10:11PM -0500, Satish Patel wrote:
> I am playing with tripleO and getting following error when deploying
> overcloud, I doing all this on VMware Workstation with fake_pxe
> driver, I did enable drive in ironic too.
> 
> What could be wrong here?
 
 There's lots that could be wrong sadly.  Testign under VMware is minimal
 to none.  There are some good tips at:
  
 https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting.html
 Specifically:
  
 https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting-overcloud.html#no-valid-host-found-error
 
 Yours Tony.
 ___
 Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> 
>>> 
>>> ___
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to : openstack@lists.openstack.org
>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> 

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@list

Re: [Openstack] tripleO Error No valid host was found

2018-02-01 Thread Satish Patel
Hi Lars,

I am following this article
https://www.linuxtechi.com/deploy-tripleo-overcloud-controller-computes-centos-7/

(undercloud) [root@tripleo ~]# openstack flavor list
+--+---+--+--+---+---+---+
| ID   | Name  |  RAM | Disk |
Ephemeral | VCPUs | Is Public |
+--+---+--+--+---+---+---+
| 0c8a1969-385c-4f93-b43f-7d68f22039f3 | compute   | 4096 |   40 |
0 | 1 | True  |
| 26481980-ecc8-4262-91b1-83afac58f62f | control   | 4096 |   40 |
0 | 1 | True  |
| 97a4b189-c743-4ca8-aaae-b33aebeb4470 | ceph-storage  | 4096 |   40 |
0 | 1 | True  |
| 9bedb045-4a5a-423b-92d6-813cf3bb9b1b | baremetal | 4096 |   40 |
0 | 1 | True  |
| c3d26a13-430a-4db3-9f84-bf6ca6675629 | swift-storage | 4096 |   40 |
0 | 1 | True  |
| cb5b3d9d-3b47-428c-a455-17650185b85f | block-storage | 4096 |   40 |
0 | 1 | True  |
+--+---+--+--+---+---+---+
(undercloud) [root@tripleo ~]#


I have created two VM on VMware Workstation with 2 CPU and 2GB memory,
but i didn't tell undercloud what type of instance i have, this is
what i have in my instance.json file, How does undercloud will know
what flavor i am going to deploy?


[stack@tripleo ~]$ cat instance/instance.json
{
"nodes":[
{
"mac":[
"00:0C:29:FE:72:97"
],
"arch":"x86_64",
"name": "overcloud-controller",
"pm_type":"fake_pxe"
},
{
"mac":[
"00:0C:29:93:36:B2"
],
"arch":"x86_64",
"name": "overcloud-compute1",
"pm_type":"fake_pxe"
}
]
}

On Thu, Feb 1, 2018 at 2:40 AM, Lars Brune  wrote:
> Hi Satish,
>
> could you provide some more information about the hosts and flavors?
>  I’ve made the experience that it sometimes helps to create the flavors with 
> a bit of a margin to the „real“ hardware to avoid nova complaining about this.
>
>> Am 01.02.2018 um 08:16 schrieb Remo Mattei :
>>
>> What are you running? Pike? Ocata?
>>
>> Pike option have changed so the flavor could be an issue now. You should 
>> look into that and see.
>>
>> Inviato da iPhone
>>
>>> Il giorno 01 feb 2018, alle ore 00:48, Tony Breeds 
>>>  ha scritto:
>>>
 On Wed, Jan 31, 2018 at 06:10:11PM -0500, Satish Patel wrote:
 I am playing with tripleO and getting following error when deploying
 overcloud, I doing all this on VMware Workstation with fake_pxe
 driver, I did enable drive in ironic too.

 What could be wrong here?
>>>
>>> There's lots that could be wrong sadly.  Testign under VMware is minimal
>>> to none.  There are some good tips at:
>>>   
>>> https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting.html
>>> Specifically:
>>>   
>>> https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting-overcloud.html#no-valid-host-found-error
>>>
>>> Yours Tony.
>>> ___
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to : openstack@lists.openstack.org
>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>> ___
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack@lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] tripleO Error No valid host was found

2018-01-31 Thread Lars Brune
Hi Satish,

could you provide some more information about the hosts and flavors?
 I’ve made the experience that it sometimes helps to create the flavors with a 
bit of a margin to the „real“ hardware to avoid nova complaining about this. 

> Am 01.02.2018 um 08:16 schrieb Remo Mattei :
> 
> What are you running? Pike? Ocata? 
> 
> Pike option have changed so the flavor could be an issue now. You should look 
> into that and see. 
> 
> Inviato da iPhone
> 
>> Il giorno 01 feb 2018, alle ore 00:48, Tony Breeds  
>> ha scritto:
>> 
>>> On Wed, Jan 31, 2018 at 06:10:11PM -0500, Satish Patel wrote:
>>> I am playing with tripleO and getting following error when deploying
>>> overcloud, I doing all this on VMware Workstation with fake_pxe
>>> driver, I did enable drive in ironic too.
>>> 
>>> What could be wrong here?
>> 
>> There's lots that could be wrong sadly.  Testign under VMware is minimal
>> to none.  There are some good tips at:
>>   
>> https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting.html
>> Specifically:
>>   
>> https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting-overcloud.html#no-valid-host-found-error
>> 
>> Yours Tony.
>> ___
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack@lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> 
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] tripleO Error No valid host was found

2018-01-31 Thread Remo Mattei
What are you running? Pike? Ocata? 

Pike option have changed so the flavor could be an issue now. You should look 
into that and see. 

Inviato da iPhone

> Il giorno 01 feb 2018, alle ore 00:48, Tony Breeds  
> ha scritto:
> 
>> On Wed, Jan 31, 2018 at 06:10:11PM -0500, Satish Patel wrote:
>> I am playing with tripleO and getting following error when deploying
>> overcloud, I doing all this on VMware Workstation with fake_pxe
>> driver, I did enable drive in ironic too.
>> 
>> What could be wrong here?
> 
> There's lots that could be wrong sadly.  Testign under VMware is minimal
> to none.  There are some good tips at:
>
> https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting.html
> Specifically:
>
> https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting-overcloud.html#no-valid-host-found-error
> 
> Yours Tony.
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] tripleO Error No valid host was found

2018-01-31 Thread Tony Breeds
On Wed, Jan 31, 2018 at 06:10:11PM -0500, Satish Patel wrote:
> I am playing with tripleO and getting following error when deploying
> overcloud, I doing all this on VMware Workstation with fake_pxe
> driver, I did enable drive in ironic too.
> 
> What could be wrong here?

There's lots that could be wrong sadly.  Testign under VMware is minimal
to none.  There are some good tips at:

https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting.html
Specifically:

https://docs.openstack.org/tripleo-docs/latest/install/troubleshooting/troubleshooting-overcloud.html#no-valid-host-found-error

Yours Tony.


signature.asc
Description: PGP signature
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] tripleO Error No valid host was found

2018-01-31 Thread Satish Patel
I am playing with tripleO and getting following error when deploying
overcloud, I doing all this on VMware Workstation with fake_pxe
driver, I did enable drive in ironic too.

What could be wrong here?


(undercloud) [stack@tripleo instance]$ openstack overcloud profiles list
+--+--+-+-+---+
| Node UUID| Node Name|
Provision State | Current Profile | Possible Profiles |
+--+--+-+-+---+
| 1800106d-6576-4d9a-869f-20dd5712398d | overcloud-controller |
available   | control |   |
| 8da58109-ad60-4463-8cdb-670ddd894ca2 | overcloud-compute1   |
available   | compute |   |
+--+--+-+-+---+


(undercloud) [stack@tripleo instance]$ openstack overcloud deploy
--templates   --control-scale 1 --compute-scale 1 --control-flavor
control --compute-flavor compute


Stack overcloud UPDATE_FAILED

overcloud.Controller.0.Controller:
  resource_type: OS::TripleO::ControllerServer
  physical_resource_id: 7a0b9317-b607-4c89-9d66-5dd105136a73
  status: CREATE_FAILED
  status_reason: |
ResourceInError: resources.Controller: Went to status ERROR due to
"Message: No valid host was found. There are not enough hosts
available., Code: 500"
overcloud.Compute.0.NovaCompute:
  resource_type: OS::TripleO::ComputeServer
  physical_resource_id: 57f4976c-9c57-430b-8c80-4b2676f1b397
  status: CREATE_FAILED
  status_reason: |
ResourceInError: resources.NovaCompute: Went to status ERROR due
to "Message: No valid host was found. There are not enough hosts
available., Code: 500"
Heat Stack update failed.
Heat Stack update failed.

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack