← Back to team overview

openstack team mailing list archive

Re: Compute Node OSError: [Errno 13] Permission denied: '/run'\n"

 

The github install document is the only one I've found so far (including
the docs.openstack.org docs) that provides a quick way to establish a
robust cloud infrastructure using all the non-deprecated services and
methods.  I know it's for Ubuntu systems, so I cross-reference Fedora/RHEL
guides to fill in the gaps. Very frustrating... but it's gotten me closer
than following the Fedora/RHEL guides alone.

I'll post other problems as I come across them, believe me!

Thanks


On Fri, Feb 8, 2013 at 12:44 PM, Anne Gentle <anne@xxxxxxxxxxxxx> wrote:

> Good to know, thanks for the follow-up Greg. Yes, that guide clearly
> states it's for Ubuntu 12.10, glad that's the only gotcha (is it?).
>
> In the official docs we maintain two versions of nova.conf, now I'm going
> to double-check that in our guides. Thanks for posting.
> Anne
>
>
> On Fri, Feb 8, 2013 at 11:21 AM, Greg Chavez <greg.chavez@xxxxxxxxx>wrote:
>
>> Figured it out myself.  The sample nova.conf at
>> https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rsthas this setting:
>>
>> lock_path=/run/lock/nova
>>
>> Gah.  Must be an Ubuntu thing?  I'm running on RHEL 6.3  I changed this
>> to:
>>
>> lock_path=/var/lock/nova
>>
>> And then I had to run this:
>>
>> usermod -G lock nova
>>
>> After that:
>>
>> [root@kvm-cs-sn-10i nova]# virsh list
>>  Id    Name                           State
>> ----------------------------------------------------
>>  1     instance-0000000a              running
>>
>>
>> On Fri, Feb 8, 2013 at 12:05 PM, Greg Chavez <greg.chavez@xxxxxxxxx>wrote:
>>
>>>
>>> It's a slog, but I appear to be on the cusp on launching my first VM
>>> with using the 3-NIC network node setup outline by
>>> the OpenStack_Folsom_Install_Guide_WebVersion.rst guide at github.  Right
>>> now, I'm getting this error on my compute node when I try to launch the
>>> Cirros test image.  I am sooooo close.  Can anyone help? Thanks.
>>>
>>> 2013-02-08 11:42:09 ERROR nova.compute.manager
>>> [req-2aa04352-6e7f-4c54-abcd-4586ce522266 65fdf1a86cfa4e50aafb6c132106e00f
>>> cec6647113c74b66b308de14032e591a] [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65] Instance failed to spawn
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65] Traceback (most recent call last):
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 747, in
>>> _spawn
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     block_device_info)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/exception.py", line 117, in wrapped
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     temp_level, payload)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     self.gen.next()
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/exception.py", line 92, in wrapped
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     return f(*args, **kw)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1092,
>>> in spawn
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     block_device_info)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1929,
>>> in _create_domain_and_network
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]
>>> self.firewall_driver.setup_basic_filtering(instance, network_info)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/virt/libvirt/firewall.py", line 215,
>>> in setup_basic_filtering
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     self.refresh_provider_fw_rules()
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/virt/firewall.py", line 453, in
>>> refresh_provider_fw_rules
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]
>>> self._do_refresh_provider_fw_rules()
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/utils.py", line 739, in inner
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     ensure_tree(local_lock_path)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File
>>> "/usr/lib/python2.6/site-packages/nova/utils.py", line 1324, in ensure_tree
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     os.makedirs(path)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File "/usr/lib64/python2.6/os.py",
>>> line 150, in makedirs
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     makedirs(head, mode)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File "/usr/lib64/python2.6/os.py",
>>> line 150, in makedirs
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     makedirs(head, mode)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]   File "/usr/lib64/python2.6/os.py",
>>> line 157, in makedirs
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]     mkdir(name, mode)
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65] OSError: [Errno 13] Permission
>>> denied: '/run'
>>> 2013-02-08 11:42:09 40898 TRACE nova.compute.manager [instance:
>>> 563385d7-0654-45f0-8c81-8aaa3acdcd65]
>>>
>>> --
>>> \*..+.-
>>> --Greg Chavez
>>> +//..;};
>>>
>>
>>
>>
>> --
>> \*..+.-
>> --Greg Chavez
>> +//..;};
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


-- 
\*..+.-
--Greg Chavez
+//..;};

References