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 <satish@gmail.com>:
> 
> 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 <brune.l...@gmail.com> 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 <r...@italy1.com>:
>>> 
>>> 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 
>>>> <t...@bakeyournoodle.com> 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/

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