redhat-openstack / tripleo-quickstart

Ansible roles for setting up TripleO virtual environments and building images
16 stars 15 forks source link

virsh list --all doesn't see any VM #43

Closed fhubik closed 8 years ago

fhubik commented 8 years ago

Hello, with recent clean deployment of tripleo-quickstart (73d543d) on Centos 7, I can not see any output on $VIRTHOST, something is really wrong here:

$ virsh list --all                                         
 Id    Name                           State
----------------------------------------------------

I can access undercloud, though:

$ ssh -F /root/.quickstart/ssh.config.ansible undercloud
# OK

Then I get errors in OC deployment stage:

exec openstack overcloud deploy -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml --control-scale 3 --compute-scale 2 --ntp-server pool.ntp.org --templates --libvirt-type qemu --control-flavor oooq_control
 --compute-flavor oooq_compute --ceph-storage-flavor oooq_ceph --timeout 60 -e /tmp/deploy_env.yaml
Error: only 1 of 3 requested ironic nodes are tagged to profile oooq_control (for flavor oooq_control)
Recommendation: tag more nodes using ironic node-update <NODE ID> replace properties/capabilities=profile:oooq_control,boot_option:local
Error: only 1 of 2 requested ironic nodes are tagged to profile oooq_compute (for flavor oooq_compute)
Recommendation: tag more nodes using ironic node-update <NODE ID> replace properties/capabilities=profile:oooq_compute,boot_option:local
Configuration has 2 errors, fix them before proceeding. Ignoring these errors is likely to lead to a failed deploy.
Deployment failed:  Not enough nodes - available: 2, requested: 5
larsks commented 8 years ago

Are you running virsh list --all as the stack user, and did you get there by running su - stack? If so, take a look at https://www.redhat.com/archives/libvirt-users/2016-March/msg00056.html and let me know if that answers your question.

trown commented 8 years ago

resolved by: https://github.com/redhat-openstack/tripleo-quickstart/commit/98ea0ccafed4d90117f9b28a4f4962eb1d68ec98