Michael,
First is the nova service-list.
Second, thanks for the defect pointer - I have some further info - it seems
that this error about flavor not being found may be harmless…see below…
Third, I have some comments/questions about how to fix original problem of
"No valid host was found.”
ubuntu@ctl01:~$ nova service-list
+----+------------------+-------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at
| Disabled Reason |
+----+------------------+-------+----------+---------+-------+----------------------------+-----------------+
| 3 | nova-scheduler | ctl01 | internal | enabled | up |
2018-03-16T16:16:12.000000 | - |
| 4 | nova-consoleauth | ctl01 | internal | enabled | up |
2018-03-16T16:16:10.000000 | - |
| 5 | nova-conductor | ctl01 | internal | enabled | up |
2018-03-16T16:16:12.000000 | - |
| 6 | nova-cert | ctl01 | internal | enabled | up |
2018-03-16T16:16:16.000000 | - |
| 7 | nova-compute | cmp01 | nova | enabled | up |
2018-03-16T16:15:29.000000 | - |
| 8 | nova-compute | cmp02 | nova | enabled | up |
2018-03-16T16:15:40.000000 | - |
+----+------------------+-------+----------+---------+-------+----------------------------+-----------------+
I looked at the comments, and some of the error descriptions…
One thing that looked interesting was “open stack show flavor
<flavor-name>”…which didn’t work for one person, but worked for me:
ubuntu@ctl01:~$ openstack flavor show small
+----------------------------+--------------------------------------+
| Field | Value |
+----------------------------+--------------------------------------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| access_project_ids | None |
| disk | 10 |
| id | f3eca419-5939-4a55-a00b-53b796978a11 |
| name | small |
| os-flavor-access:is_public | True |
| properties | |
| ram | 1024 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 1 |
+----------------------------+--------------------------------------+
But yes, there’s an exception in there, even though the command succeeded as
far as I could tell.
So perhaps this flavor not found is an red-herring - not the real problem.
Note - I now see that this shows up all over my other working system’s
nova-api.log files.
Back to the original error, then, which is "No valid host was found. There are
not enough hosts available”
I’m hitting this problem whether I launch via heat and a heat template (that
works on my arm bare-metal pod, by the way, substituting the correct
architecture
I can dig some more - either on my own (maybe efficient, maybe not;) - or
perhaps this failure is interesting enough to debug…
The interesting question is whether the stable/euphrates virtual deploy with
MCP/Fuel should work or whether there is an issue (like some update broke
stable/E branch?).
OR whether it’s something to do with my deployment (see original message for
command line of deploy) or lack of proper preparation for the server on which
I’m running.
Also - let me know if you want to take this offline or retire to an IRC of your
choice.
And Lastly: I tried this with Master and hit some other issues that I can’t
remember, and thought master might be too risky - I just want a virtual pod
that I can run with, so either stable/E or master is good.
My point of the last comment is that if you’d prefer I join you in
chasing/debugging/trying things in Master (towards Fraser) than me asking you
for advice with Stable/E, I’m certainly open to that:)
Thanks much!
Joe
> On Mar 16, 2018, at 11:37 AM, Michael Polenchuk <[email protected]>
> wrote:
>
> Please refer to the last comments of
> https://bugs.launchpad.net/nova/+bug/1558503
> <https://bugs.launchpad.net/nova/+bug/1558503>
> Could you please show "nova service-list" output?
>
> On Fri, Mar 16, 2018 at 7:27 PM, Joe Kidder <[email protected]
> <mailto:[email protected]>> wrote:
> For at least one of the flavors, I also tried providing the flavor ID rather
> than the flavor name. Same error.
>
>> On Mar 16, 2018, at 11:16 AM, Joe Kidder <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> 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 <[email protected]
>>> <mailto:[email protected]>> 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 <[email protected]
>>> <mailto:[email protected]>> 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
>>> [email protected]
>>> <mailto:[email protected]>
>>> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
>>> <https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss>
>>>
>>>
>>>
>>>
>>> --
>>> Michael Polenchuk
>>> Private Cloud / Mirantis Inc.
>>
>
>
>
>
> --
> Michael Polenchuk
> Private Cloud / Mirantis Inc.
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss