[Openstack] create volume hangs at creating.
Hi, I am still facing this problem following is the log. 2012-06-27 16:13:10 DEBUG nova.manager [-] Running periodic task VolumeManager._publish_service_capabilities from (pid=17850) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:152 2012-06-27 16:13:10 DEBUG nova.manager [-] Running periodic task VolumeManager._report_driver_status from (pid=17850) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:152 2012-06-27 16:14:10 DEBUG nova.manager [-] Running periodic task VolumeManager._publish_service_capabilities from (pid=17850) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:152 2012-06-27 16:14:10 DEBUG nova.manager [-] Running periodic task VolumeManager._report_driver_status from (pid=17850) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:152 2012-06-27 16:14:36 DEBUG nova.rpc.amqp [-] received {u'_context_roles': [u'admin'], u'_context_request_id': u'req-07220301-c87c-40e3-a211-cc4725bcacd3', u'_context_read_deleted': u'no', u'args': {u'volume_id': 1, u'snapshot_id': None}, u'_context_auth_token': 'SANITIZED', u'_context_is_admin': True, u'_context_project_id': u'68124ec3a778447093eba446aa896105', u'_context_timestamp': u'2012-06-27T10:44:36.284391', u'_context_user_id': u'434a94c6f63e43289702353f410ab693', u'method': u'create_volume', u'_context_remote_address': u'10.253.59.152'} from (pid=17850) _safe_log /usr/lib/python2.7/dist-packages/nova/rpc/common.py:160 2012-06-27 16:14:36 DEBUG nova.rpc.amqp [req-07220301-c87c-40e3-a211-cc4725bcacd3 434a94c6f63e43289702353f410ab693 68124ec3a778447093eba446aa896105] unpacked context: {'user_id': u'434a94c6f63e43289702353f410ab693', 'roles': [u'admin'], 'timestamp': '2012-06-27T10:44:36.284391', 'auth_token': 'SANITIZED', 'remote_address': u'10.253.59.152', 'is_admin': True, 'request_id': u'req-07220301-c87c-40e3-a211-cc4725bcacd3', 'project_id': u'68124ec3a778447093eba446aa896105', 'read_deleted': u'no'} from (pid=17850) _safe_log /usr/lib/python2.7/dist-packages/nova/rpc/common.py:160 2012-06-27 16:14:36 INFO nova.volume.manager [req-07220301-c87c-40e3-a211-cc4725bcacd3 434a94c6f63e43289702353f410ab693 68124ec3a778447093eba446aa896105] volume volume-0001: creating 2012-06-27 16:14:36 DEBUG nova.volume.manager [req-07220301-c87c-40e3-a211-cc4725bcacd3 434a94c6f63e43289702353f410ab693 68124ec3a778447093eba446aa896105] volume volume-0001: creating lv of size 1G from (pid=17850) create_volume /usr/lib/python2.7/dist-packages/nova/volume/manager.py:120 2012-06-27 16:14:36 DEBUG nova.utils [req-07220301-c87c-40e3-a211-cc4725bcacd3 434a94c6f63e43289702353f410ab693 68124ec3a778447093eba446aa896105] Running cmd (subprocess): sudo nova-rootwrap lvcreate -L 1G -n volume-0001 nova-volumes from (pid=17850) execute /usr/lib/python2.7/dist-packages/nova/utils.py:219 Exception AssertionError: AssertionError() in module 'threading' from '/usr/lib/python2.7/threading.pyc' ignored 2012-06-27 16:14:36 DEBUG nova.volume.manager [req-07220301-c87c-40e3-a211-cc4725bcacd3 434a94c6f63e43289702353f410ab693 68124ec3a778447093eba446aa896105] volume volume-0001: creating export from (pid=17850) create_volume /usr/lib/python2.7/dist-packages/nova/volume/manager.py:131 2012-06-27 16:14:41 DEBUG nova.utils [req-07220301-c87c-40e3-a211-cc4725bcacd3 434a94c6f63e43289702353f410ab693 68124ec3a778447093eba446aa896105] Running cmd (subprocess): sudo nova-rootwrap tgtadm --op new --lld=iscsi --mode=target --tid=1 --targetname=iqn.2010-10.org.openstack:volume-0001 from (pid=17850) execute /usr/lib/python2.7/dist-packages/nova/utils.py:219 Exception AssertionError: AssertionError() in module 'threading' from '/usr/lib/python2.7/threading.pyc' ignored Regards, Milind ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Volume creation stuck at status Creating
There is nothing in the logs :( On Thu, May 31, 2012 at 11:37 AM, William Herry william.herry.ch...@gmail.com wrote: you should check logs to see what's going on On Thu, May 31, 2012 at 1:50 PM, Milind milindkpa...@gmail.com wrote: Hi, I am not able to resolve this error quite frustrated :(, it gets stuck at volume creation with status as Creating Regards, Milind ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- William Herry williamherrych...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Volume creation stuck at status Creating
On Thu, May 31, 2012 at 12:08 PM, William Herry william.herry.ch...@gmail.com wrote: I can't see any unusual log try: nova --debug volume-create --display_name=novavol4 --display_description=volumenova4 1 On Thu, May 31, 2012 at 2:33 PM, Milind milindkpa...@gmail.com wrote: I did that and issued following command. nova volume-create --display_name=novavol4 --display_description=volumenova4 1 I have attached relevant part of log. Regards, Milind On Thu, May 31, 2012 at 11:48 AM, William Herry william.herry.ch...@gmail.com wrote: add debug=true to /etc/nova/nova.conf and restart service(nova-volume I think) On Thu, May 31, 2012 at 2:16 PM, Milind milindkpa...@gmail.com wrote: In which config file? On Thu, May 31, 2012 at 11:43 AM, William Herry william.herry.ch...@gmail.com wrote: have you add debug=true to config file On Thu, May 31, 2012 at 2:11 PM, Milind milindkpa...@gmail.comwrote: There is nothing in the logs :( On Thu, May 31, 2012 at 11:37 AM, William Herry william.herry.ch...@gmail.com wrote: you should check logs to see what's going on On Thu, May 31, 2012 at 1:50 PM, Milind milindkpa...@gmail.comwrote: Hi, I am not able to resolve this error quite frustrated :(, it gets stuck at volume creation with status as Creating Regards, Milind ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- William Herry williamherrych...@gmail.com -- William Herry williamherrych...@gmail.com -- William Herry williamherrych...@gmail.com -- William Herry williamherrych...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Volume creation stuck at status Creating
Thanks, Any one know what is the problem or it is another bug? REgards, Milind On Thu, May 31, 2012 at 12:22 PM, William Herry william.herry.ch...@gmail.com wrote: I can't tell what's wrong about your config, let others help you On Thu, May 31, 2012 at 2:50 PM, Milind milindkpa...@gmail.com wrote: Hi Just ran command... here is the output... root@ucmaster:/var/log/upstart# nova --debug volume-create --display_name=novavol5 --display_description=volumenova5 1 connect: (ucmaster, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: ucmaster:5000\r\nContent-Length: 117\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n{auth: {tenantName: openstackDemo, passwordCredentials: {username: adminUser, password: secretword}}}' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/json header: Vary: X-Auth-Token header: Date: Thu, 31 May 2012 06:42:50 GMT header: Transfer-Encoding: chunked connect: (ucmaster, 8776) send: u'POST /v1/68124ec3a778447093eba446aa896105/volumes HTTP/1.1\r\nHost: ucmaster:8776\r\nContent-Length: 131\r\nx-auth-project-id: openstackDemo\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nx-auth-token: b0b433d2506145d0b4f5ab8e1fcb6478\r\nuser-agent: python-novaclient\r\ncontent-type: application/json\r\n\r\n{volume: {snapshot_id: null, display_name: novavol5, volume_type: null, display_description: volumenova5, size: 1}}' reply: 'HTTP/1.1 200 OK\r\n' header: X-Compute-Request-Id: req-58d480c3-f729-4670-8c86-74ef9991993a header: Content-Type: application/json header: Content-Length: 274 header: Date: Thu, 31 May 2012 06:42:50 GMT root@ucmaster:/var/log/upstart# clear On Thu, May 31, 2012 at 12:12 PM, Milind milindkpa...@gmail.com wrote: On Thu, May 31, 2012 at 12:08 PM, William Herry william.herry.ch...@gmail.com wrote: I can't see any unusual log try: nova --debug volume-create --display_name=novavol4 --display_description=volumenova4 1 On Thu, May 31, 2012 at 2:33 PM, Milind milindkpa...@gmail.com wrote: I did that and issued following command. nova volume-create --display_name=novavol4 --display_description=volumenova4 1 I have attached relevant part of log. Regards, Milind On Thu, May 31, 2012 at 11:48 AM, William Herry william.herry.ch...@gmail.com wrote: add debug=true to /etc/nova/nova.conf and restart service(nova-volume I think) On Thu, May 31, 2012 at 2:16 PM, Milind milindkpa...@gmail.comwrote: In which config file? On Thu, May 31, 2012 at 11:43 AM, William Herry william.herry.ch...@gmail.com wrote: have you add debug=true to config file On Thu, May 31, 2012 at 2:11 PM, Milind milindkpa...@gmail.comwrote: There is nothing in the logs :( On Thu, May 31, 2012 at 11:37 AM, William Herry william.herry.ch...@gmail.com wrote: you should check logs to see what's going on On Thu, May 31, 2012 at 1:50 PM, Milind milindkpa...@gmail.comwrote: Hi, I am not able to resolve this error quite frustrated :(, it gets stuck at volume creation with status as Creating Regards, Milind ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- William Herry williamherrych...@gmail.com -- William Herry williamherrych...@gmail.com -- William Herry williamherrych...@gmail.com -- William Herry williamherrych...@gmail.com -- William Herry williamherrych...@gmail.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] BadRequest: Can not find requested image (HTTP 400)
Hi, I am getting error while executing following command. root@ucmaster:/home/milindx/mil# nova boot --image tty-linux --flavor m1.small --key_name test my-first-server ERROR: Can not find requested image (HTTP 400) Following information will help root@ucmaster:/home/milindx/mil# cat /etc/nova/nova.conf | grep glance --image_service=nova.image.glance.GlanceImageService --glance_api_servers=10.253.59.152:9292 root@ucmaster:/home/milindx/mil# nova image-list +--+--+++ | ID | Name | Status | Server | +--+--+++ | 057f5695-7af5-4d42-ab17-2f0f36f99ee2 | tty-linux| ACTIVE | | | 1cfd638b-1187-4f35-a0dd-76352742b762 | tty-kernel | ACTIVE | | | 40c6e4ec-9b49-4f5c-989d-57cd2691fa12 | tty-linuxkernel | ACTIVE | | | a726d350-c187-401b-823c-7bb1527aaa1d | tty-linuxramdisk | ACTIVE | | | b1c79ba2-aef0-4dfc-8e0f-f1f223bea1f1 | tty | ACTIVE | | | b3240f79-5b6f-450c-beff-5c8ecdabcf00 | tty-ramdisk | ACTIVE | | +--+--+++ root@ucmaster:/home/milindx/mil# root@ucmaster:/home/milindx/mil# nova-manage service list 2012-05-18 17:15:30 DEBUG nova.utils [req-0997c625-ef9c-45ab-96a9-77a211d87459 None None] backend module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc' from (pid=15253) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 Binary Host Zone Status State Updated_At nova-scheduler ucmaster nova enabled:-) 2012-05-18 11:45:25 nova-volume ucmaster nova enabled:-) 2012-05-18 11:45:25 nova-compute ucmaster nova enabled:-) 2012-05-18 11:45:21 nova-certucmaster nova enabled:-) 2012-05-18 11:45:25 nova-consoleauth ucmaster nova enabled:-) 2012-05-18 11:45:25 nova-network ucmaster nova enabled:-) 2012-05-18 11:45:25 I have deleted and added images using glance still problem persists, any one know what could be problem. Regards, Milind ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] BadRequest: Can not find requested image (HTTP 400)
Is there any way to find out if image is exists with the help of glance command? I checked everything all parameters are properly configured in conf files. On Fri, May 18, 2012 at 5:19 PM, Razique Mahroua razique.mahr...@gmail.comwrote: Hi, it's weird, I remember someone having the same issue. Edit : here https://lists.launchpad.net/openstack/msg11742.html It may be related to the bug ? Milind milindkpa...@gmail.com 18 mai 2012 13:46 Hi, I am getting error while executing following command. root@ucmaster:/home/milindx/mil# nova boot --image tty-linux --flavor m1.small --key_name test my-first-server ERROR: Can not find requested image (HTTP 400) Following information will help root@ucmaster:/home/milindx/mil# cat /etc/nova/nova.conf | grep glance --image_service=nova.image.glance.GlanceImageService --glance_api_servers=10.253.59.152:9292 root@ucmaster:/home/milindx/mil# nova image-list +--+--+++ | ID | Name | Status | Server | +--+--+++ | 057f5695-7af5-4d42-ab17-2f0f36f99ee2 | tty-linux| ACTIVE || | 1cfd638b-1187-4f35-a0dd-76352742b762 | tty-kernel | ACTIVE || | 40c6e4ec-9b49-4f5c-989d-57cd2691fa12 | tty-linuxkernel | ACTIVE || | a726d350-c187-401b-823c-7bb1527aaa1d | tty-linuxramdisk | ACTIVE || | b1c79ba2-aef0-4dfc-8e0f-f1f223bea1f1 | tty | ACTIVE || | b3240f79-5b6f-450c-beff-5c8ecdabcf00 | tty-ramdisk | ACTIVE || +--+--+++ root@ucmaster:/home/milindx/mil# root@ucmaster:/home/milindx/mil# nova-manage service list 2012-05-18 17:15:30 DEBUG nova.utils [req-0997c625-ef9c-45ab-96a9-77a211d87459 None None] backend module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc' from (pid=15253) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 Binary Host Zone Status State Updated_At nova-scheduler ucmaster nova enabled:-) 2012-05-18 11:45:25 nova-volume ucmaster nova enabled:-) 2012-05-18 11:45:25 nova-compute ucmaster nova enabled:-) 2012-05-18 11:45:21 nova-certucmaster nova enabled:-) 2012-05-18 11:45:25 nova-consoleauth ucmaster nova enabled:-) 2012-05-18 11:45:25 nova-network ucmaster nova enabled:-) 2012-05-18 11:45:25 I have deleted and added images using glance still problem persists, any one know what could be problem. Regards, Milind ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Nuage Co - Razique Mahroua razique.mahr...@gmail.com compose-unknown-contact.jpgimage.jpg___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] [Documentation] Missing section in documentation
Hi, In Admin installation document guide of Ubuntu 12.04 in the section 5. Installing OpenStack Compute and Image Service Following settings are missing. [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory service_protocol = http service_host = *IP* service_port = 5000 auth_host = *IP* auth_port = *35357 * auth_protocol = http auth_uri = http://*IP*:5000/ admin_token = 012345SECRET99TOKEN012345 This is very much annoying because lot of people are getting error when they try to upload image in glance and get the following error which also has type *Unavilable* *The request returned 503 Service Unavilable. This generally occurs on service overload or other transient outage. * Regards, Milind Patil +919890119176 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp