[openstack-dev] [nova] boot images in power state PAUSED for stable/juno
Paul Michali (pcm)
pcm at cisco.com
Fri Jan 2 17:32:31 UTC 2015
I checked and the disk has plenty of space:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 50G 6.2G 41G 14% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 12K 3.9G 1% /dev
tmpfs 799M 408K 799M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 0 3.9G 0% /run/shm
none 100M 0 100M 0% /run/user
One google search mentioned checking user is in libvirtd group (it is). I have 8GB ram with 600+ MB available, when Devstack is running.
I didn’t Cinder was running, but I see cinder-api and cinder-volume processes running in top. These are running on the bare metal config that does work.
This is a Ubuntu 14.04 image for the host (cloud image).
It seems I either get the problem where the VM is in paused state, or it doesn’t even start up and is in the BUILDING/SPAWNED state forever.
PCM (Paul Michali)
MAIL …..…. pcm at cisco.com
IRC ……..… pc_m (irc.freenode.com)
TW ………... @pmichali
GPG Key … 4525ECC253E31A83
Fingerprint .. 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83
On Jan 2, 2015, at 10:43 AM, Ben Nemec <openstack at nemebean.com> wrote:
> Signed PGP part
> I ran into similar behavior once, and it turned out I was running out
> of space on the system. This blog post helped me track down the
> problem:
> http://porkrind.org/missives/libvirt-based-qemu-vm-pausing-by-itself/
>
> Not sure whether it's relevant to your situation, but it's something
> to check.
>
> -Ben
>
> On 12/31/2014 09:41 AM, Paul Michali (pcm) wrote:
> > Not sure if I’m going crazy or what. I’m using DevStack and, after
> > stacking I tried booting a Cirros 3.2, 3.3, and Ubuntu cloud 14.04
> > image. Each time, the image ends up in PAUSED power state:
> >
> > ubuntu at juno:/opt/stack/neutron$ nova show peter
> > +--------------------------------------+----------------------------------------------------------------+
> >
> >
> | Property | Value
> |
> > +--------------------------------------+----------------------------------------------------------------+
> >
> >
> | OS-DCF:diskConfig | MANUAL
> |
> > | OS-EXT-AZ:availability_zone | nova
> > | | OS-EXT-SRV-ATTR:host | juno
> > | | OS-EXT-SRV-ATTR:hypervisor_hostname | juno
> > | | OS-EXT-SRV-ATTR:instance_name | instance-00000001
> > | | OS-EXT-STS:power_state | 3
> > | | OS-EXT-STS:task_state | -
> > | | OS-EXT-STS:vm_state | active
> > | | OS-SRV-USG:launched_at |
> > 2014-12-31T15:15:33.000000 | |
> > OS-SRV-USG:terminated_at | -
> > | | accessIPv4 |
> > | | accessIPv6 |
> > | | config_drive |
> > | | created | 2014-12-31T15:15:24Z
> > | | flavor | m1.tiny (1)
> > | | hostId |
> > 5b0c48250ccc0ac3fca8a821e29e4b154ec0b101f9cc0a0b27071a3f | |
> > id |
> > ec5c8d70-ae80-4cc3-a5bb-b68019170dd6 | |
> > image | cirros-0.3.3-x86_64-uec
> > (797e4dee-8c03-497f-8dac-a44b9351dfa3) | | key_name
> > | - |
> > | metadata | {}
> > | | name | peter
> > | | os-extended-volumes:volumes_attached | []
> > | | private network | 10.0.0.4
> > | | progress | 0
> > | | security_groups | default
> > | | status | ACTIVE
> > | | tenant_id |
> > 7afb5bc1d88d462c8d57178437d3c277 | |
> > updated | 2014-12-31T15:15:34Z
> > | | user_id |
> > 4ff18bdbeb4d436ea4ff1bcd29e269a9 |
> > +--------------------------------------+----------------------------------------------------------------+
> >
> >
> ubuntu at juno:/opt/stack/neutron$ nova list
> > +--------------------------------------+-------+--------+------------+-------------+------------------+
> >
> >
> | ID | Name | Status | Task State |
> Power State | Networks |
> > +--------------------------------------+-------+--------+------------+-------------+------------------+
> >
> >
> | ec5c8d70-ae80-4cc3-a5bb-b68019170dd6 | peter | ACTIVE | - |
> Paused | private=10.0.0.4 |
> >
> >
> > I don’t see this with Kilo latest images. Any idea what I may be
> > doing wrong, or if there is an issue (I didn’t see anything on
> > Google search)?
> >
> > IMAGE_ID=`nova image-list | grep 'cloudimg-amd64 ' | cut -d' ' -f
> > 2` PRIVATE_NET=`neutron net-list | grep 'private ' | cut -f 2 -d'
> > ‘`
> >
> > nova boot peter --flavor 3 --image $IMAGE_ID --user-data
> > ~/devstack/user_data.txt --nic net-id=$PRIVATE_NET nova boot
> > --flavor 1 --image cirros-0.3.3-x86_64-uec --nic
> > net-id=$PRIVATE_NET paul
> >
> > Thanks.
> >
> >
> > PCM (Paul Michali)
> >
> > MAIL …..…. pcm at cisco.com IRC ……..… pc_m (irc.freenode.com) TW
> > ………... @pmichali GPG Key … 4525ECC253E31A83 Fingerprint .. 307A
> > 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________ OpenStack-dev
> > mailing list OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150102/ca9c470b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150102/ca9c470b/attachment.pgp>
More information about the OpenStack-dev
mailing list