Bug 1233157
| Summary: | Can't deploy anything on VMs: "no valid hosts available" | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Udi Kalifon <ukalifon> |
| Component: | openstack-tripleo | Assignee: | James Slagle <jslagle> |
| Status: | CLOSED DUPLICATE | QA Contact: | Udi Kalifon <ukalifon> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 (Kilo) | CC: | augol, calfonso, dtantsur, ekuris, jtrowbri, mburns, rhel-osp-director-maint, shardy, yeylon |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | Director | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-29 17:04:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Udi Kalifon
2015-06-18 10:57:08 UTC
The "no valid hosts" error is almost always because we have a mismatch between what is in the Nova flavor, and what is in the Ironic node. In this case, we were missing the properties/capabilities:'boot_option:local' from the Ironic nodes. The step that adds this is `openstack baremetal configure boot`. In this case, I think we just missed this step. Ok, so appears like user error. Udi, if this reproduces, please re-open. [stack@instack ~]$ openstack overcloud deploy --plan-uuid "b5237ff2-874c-4e89-ae17-a89e49864f62" The following templates will be written: /tmp/tmpDOtzYF/puppet/manifests/overcloud_volume.pp /tmp/tmpDOtzYF/hieradata/object.yaml /tmp/tmpDOtzYF/puppet/hieradata/common.yaml /tmp/tmpDOtzYF/provider-Swift-Storage-1.yaml /tmp/tmpDOtzYF/network/ports/net_ip_map.yaml /tmp/tmpDOtzYF/provider-Cinder-Storage-1.yaml /tmp/tmpDOtzYF/provider-Compute-1.yaml /tmp/tmpDOtzYF/network/noop.yaml /tmp/tmpDOtzYF/puppet/bootstrap-config.yaml /tmp/tmpDOtzYF/net-config-bridge.yaml /tmp/tmpDOtzYF/provider-Ceph-Storage-1.yaml /tmp/tmpDOtzYF/puppet/controller-post-puppet.yaml /tmp/tmpDOtzYF/puppet/cinder-storage-puppet.yaml /tmp/tmpDOtzYF/puppet/manifests/overcloud_cephstorage.pp /tmp/tmpDOtzYF/puppet/hieradata/object.yaml /tmp/tmpDOtzYF/puppet/controller-puppet.yaml /tmp/tmpDOtzYF/puppet/manifests/overcloud_compute.pp /tmp/tmpDOtzYF/puppet/cinder-storage-post.yaml /tmp/tmpDOtzYF/puppet/swift-storage-post.yaml /tmp/tmpDOtzYF/provider-Controller-1.yaml /tmp/tmpDOtzYF/network/networks.yaml /tmp/tmpDOtzYF/puppet/manifests/overcloud_object.pp /tmp/tmpDOtzYF/hieradata/controller.yaml /tmp/tmpDOtzYF/network/ports/ctlplane_vip.yaml /tmp/tmpDOtzYF/hieradata/volume.yaml /tmp/tmpDOtzYF/puppet/compute-post-puppet.yaml /tmp/tmpDOtzYF/extraconfig/tasks/yum_update.yaml /tmp/tmpDOtzYF/puppet/swift-storage-puppet.yaml /tmp/tmpDOtzYF/extraconfig/tasks/yum_update.sh /tmp/tmpDOtzYF/puppet/swift-devices-and-proxy-config.yaml /tmp/tmpDOtzYF/puppet/controller-config-pacemaker.yaml /tmp/tmpDOtzYF/puppet/compute-puppet.yaml /tmp/tmpDOtzYF/puppet/hieradata/volume.yaml /tmp/tmpDOtzYF/puppet/ceph-storage-post-puppet.yaml /tmp/tmpDOtzYF/extraconfig/controller/noop.yaml /tmp/tmpDOtzYF/network/ports/noop.yaml /tmp/tmpDOtzYF/puppet/ceph-cluster-config.yaml /tmp/tmpDOtzYF/puppet/ceph-storage-puppet.yaml /tmp/tmpDOtzYF/puppet/hieradata/ceph.yaml /tmp/tmpDOtzYF/puppet/vip-config.yaml /tmp/tmpDOtzYF/puppet/hieradata/controller.yaml /tmp/tmpDOtzYF/plan.yaml /tmp/tmpDOtzYF/environment.yaml /tmp/tmpDOtzYF/network/ports/net_ip_list_map.yaml /tmp/tmpDOtzYF/hieradata/compute.yaml /tmp/tmpDOtzYF/puppet/hieradata/compute.yaml /tmp/tmpDOtzYF/hieradata/ceph.yaml /tmp/tmpDOtzYF/puppet/manifests/overcloud_controller_pacemaker.pp /tmp/tmpDOtzYF/hieradata/common.yaml /tmp/tmpDOtzYF/puppet/manifests/ringbuilder.pp /tmp/tmpDOtzYF/firstboot/userdata_default.yaml /tmp/tmpDOtzYF/net-config-noop.yaml /tmp/tmpDOtzYF/puppet/all-nodes-config.yaml /tmp/tmpDOtzYF/extraconfig/post_deploy/default.yaml ERROR: openstack Heat Stack update failed. $ heat stack-list +--------------------------------------+------------+---------------+----------------------+ | id | stack_name | stack_status | creation_time | +--------------------------------------+------------+---------------+----------------------+ | bb2537a1-b2d7-472f-a2d7-f5334d83189b | overcloud | UPDATE_FAILED | 2015-06-28T18:09:05Z | +--------------------------------------+------------+---------------+----------------------+ $ heat stack-show bb2537a1-b2d7-472f-a2d7-f5334d83189b stack_status_reason | ResourceUnknownStatus: Resource failed - Unknown status | | | FAILED due to "ResourceUnknownStatus: Resource failed - | | | Unknown status FAILED due to "ResourceInError: Went to | | | status ERROR due to "Message: No valid host was found. | | | There are not enough hosts available., Code: 500""" note that comment 4 its an initial installation and not an update even though the status is UPDATE_FAILED. During this time heat log shows: http://pastebin.test.redhat.com/293267 Nova log in the same time: http://pastebin.test.redhat.com/293269 Are these issues related? (I can make the rest of logs available, but with DEBUG on they are large so contact me if you need the whole thing) Please make sure you followed https://repos.fedorapeople.org/repos/openstack-m/docs/master/troubleshooting/troubleshooting-overcloud.html#no-valid-host-found-error Please add your findings here, if it does not help. I success to deploy overcloud when I run this command : openstack overcloud deploy --plan-uuid "38157d76-1aae-4e97-b7e2-3293280ae549" --control-scale 1 --compute-scale 1--ceph-storage-scale 0 --block-storage-scale 0 --swift-storage-scale 0 when I used the command as written in the guide it fails. openstack overcloud deploy --plan-uuid "38157d76-1aae-4e97-b7e2-3293280ae549" ((default of 1 compute and 1 control) I saw the when I using the command from the guide it create ceph vm when it should not . according to Marius .C. there is a bug that by default "openstack overcloud deploy --plan-uuid" not create only compute & controller as we expected. Also I enable nested virtualization $ echo "options kvm_amd nested=1" > /etc/modprobe.d/kvm_amd.conf $ modprobe -r kvm_amd $ modprobe kvm_amd @Eran, if so, please open a bug on the documentation or the script. one of those should change. 2nd, this is actually an important bug because it just means that installing it WITH ceph makes something break. @Eran how many nodes did you set to be working ? This is a dup of a bug that is in POST. Amit I set 2 nodes = default value https://bugzilla.redhat.com/show_bug.cgi?id=1235994 it's happens due this bug . *** This bug has been marked as a duplicate of bug 1235994 *** |