I did add the flavors that I used.
They exist prior to trying to use them.

ubuntu@ctl01:~$ openstack flavor list
+--------------------------------------+-----------+------+------+-----------+-------+-----------+
| ID                                   | Name      |  RAM | Disk | Ephemeral | 
VCPUs | Is Public |
+--------------------------------------+-----------+------+------+-----------+-------+-----------+
| 056f9f85-4b09-4813-a7f6-648f1b1443e5 | medium    | 4096 |   20 |         0 |  
   2 | True      |
| 87113070-c6ac-4801-b447-0308c2adb3b2 | m1.medium | 4096 |   40 |         0 |  
   2 | True      |
| f3eca419-5939-4a55-a00b-53b796978a11 | small     | 1024 |   10 |         0 |  
   1 | True      |
+--------------------------------------+-----------+------+------+-----------+-------+-----------+

Trying all three of the above flavors all led to the same thing: 
2018-03-15 15:01:16.710 2219 INFO nova.api.openstack.wsgi 
[req-10337a28-806b-4fb4-80ed-6798b0dd873a ea2fe03e3a32430caf82d2cbad9ee117 
372d6563febd413aba9f407c0ef62eb1 - default default] HTTP exception thrown: 
Flavor small could not be found.

…just replace “small” with “medium” and with “m1.medium”

Joe
> On Mar 16, 2018, at 4:22 AM, Michael Polenchuk <mpolenc...@mirantis.com> 
> wrote:
> 
> Hi Joe,
> 
> MCP doesn't add any flavors by default, please do it explicitly.
> Also check out you have enough compute resources (e.g. cpu, memory, disk).
> 
> On Thu, Mar 15, 2018 at 7:03 PM, Joe Kidder <joe.kid...@5thlayer.com 
> <mailto:joe.kid...@5thlayer.com>> wrote:
> Hi,
>   I am deploying OPNFV on an x86 server.
>   I’m using stable Euphrates:
>       git clone -b stable/euphrates https://github.com/opnfv/fuel 
> <https://github.com/opnfv/fuel>
> 
>   I deploy like this:
>       ci/deploy.sh -l UNH-LaaS -p virtual_auto2 -s os-nosdn-nofeature-noha |& 
> tee deploy.log
> 
>   The install succeeds.
> 
>   However, when I try to launch a VM using a simple heat template (that works 
> on a bare metal MCP installation of stable/euphrates), I get this from heat:
>       ERROR due to "Message: No valid host was found. There are not enough 
> hosts available., Code: 500”
> 
>  And this from nova-api.log:
>       HTTP exception thrown: Flavor m1.medium could not be found.
> 
>  I tried this with three separate flavors, none of which could be found.
> 
>   Any thoughts?
> 
> Thanks,
> Joe
> 
> 
> _______________________________________________
> opnfv-tech-discuss mailing list
> opnfv-tech-discuss@lists.opnfv.org <mailto:opnfv-tech-discuss@lists.opnfv.org>
> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss 
> <https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss>
> 
> 
> 
> 
> -- 
>   Michael Polenchuk
>   Private Cloud / Mirantis Inc.

_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to