[Openstack] Volume creation stuck at status "Creating"

Sebastien HAN han.sebastien at gmail.com
Sat Jun 2 09:10:23 UTC 2012


Hi,

Does the libvirt logs show something? 

On 31 mai 2012, at 16:27, John Griffith <john.griffith at solidfire.com> wrote:

> 
> 
> On Thu, May 31, 2012 at 5:58 AM, Alisson Soares Limeira Pontes <apontes at cpqd.com.br> wrote:
> Something changed in the nova-volume ubuntu packages instalation.
> I'd never had problems with nova-volume, but in my last two setups i cannot attach volume and vm. Logs do not show any problem, so no clue why this problem.
> 
> 
> 2012/5/31 Milind <milindkpatil at gmail.com>
> 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.china at 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 <milindkpatil at gmail.com> wrote:
> Hi Just ran command... here is the output...
> 
> root at 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 at ucmaster:/var/log/upstart# clear
> 
> 
> 
> 
> 
> 
> On Thu, May 31, 2012 at 12:12 PM, Milind <milindkpatil at gmail.com> wrote:
> 
> 
> 
> On Thu, May 31, 2012 at 12:08 PM, William Herry <william.herry.china at 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 <milindkpatil at 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.china at 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 <milindkpatil at gmail.com> wrote:
> In which config file?
> 
> 
> On Thu, May 31, 2012 at 11:43 AM, William Herry <william.herry.china at gmail.com> wrote:
> have you add debug=true to config file
> 
> On Thu, May 31, 2012 at 2:11 PM, Milind <milindkpatil at gmail.com> wrote:
> There is nothing in the logs :(
> 
> 
> 
> On Thu, May 31, 2012 at 11:37 AM, William Herry <william.herry.china at gmail.com> wrote:
> you should check logs to see what's going on
> 
> On Thu, May 31, 2012 at 1:50 PM, Milind <milindkpatil at 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
> -- 
> Alisson Pontes
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> Hi Milind,
> 
> Sorry if you've already answered this, but what sort of setup is this?  Are you using Essex, or latest from Trunk?  Is this a devstack install or other?  This is something I've seen before as well and it had to do with issues in my configuration for the scheduler.  Let me know a bit more about your setup if you have a chance.  Perhaps I can try to recreate and have a closer look.
> 
> Thanks,
> John
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120602/a9caa287/attachment.html>


More information about the Openstack mailing list