Ask Your Question
0

Network discovery failure after launching a test job

asked 2011-04-21 23:47:45 -0500

harsha-gluster gravatar image

Error during network discovery.

snip from "nova-manage"


migrate/versioning/repository.py:82 2011-04-21 16:25:53,077 DEBUG migrate.versioning.util [-] Disposing SQLAlchemy engine Engine(mysql://root:nova@openstack1/nova) from (pid=30657) with_engine /usr/lib/pymodules/python2.6/migrate/versioning/util/__init__.py:163 2011-04-21 16:25:53,967 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" pymodules="" python2.6="" nova="" db="" sqlalchemy="" api.pyc'=""> from (pid=30703) __get_backend /usr/lib/pymodules/python2.6/nova/utils.py:427 2011-04-21 16:25:54,053 CRITICAL nova [-] Network with cidr 10.0.0.0/28 already exists (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-manage", line 1122, in <module> (nova): TRACE: main() (nova): TRACE: File "/usr/bin/nova-manage", line 1111, in main (nova): TRACE: fn(*argv) (nova): TRACE: File "/usr/bin/nova-manage", line 546, in create (nova): TRACE: label=label) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 584, in create_networks (nova): TRACE: cidr)) (nova): TRACE: ValueError: Network with cidr 10.0.0.0/28 already exists

(nova): TRACE:

snip from nova-network


2011-04-21 16:35:26,825 AUDIT nova [-] Starting network node (version 2011.2-workspace:tarmac-20110415024701-a9bdb77vaatk99lh) 2011-04-21 16:35:26,839 DEBUG nova.utils [-] Attempting to grab semaphore "iptables" for method "apply"... from (pid=20052) inner /usr/lib/pymodules/python2.6/nova/utils.py:594 2011-04-21 16:35:26,839 DEBUG nova.utils [-] Attempting to grab file lock "iptables" for method "apply"... from (pid=20052) inner /usr/lib/pymodules/python2.6/nova/utils.py:599 2011-04-21 16:35:26,840 CRITICAL nova [-] failed to create /usr/lib/pymodules/python2.6/openstack1.MainThread-20052 (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-network", line 48, in <module> (nova): TRACE: service.serve() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 290, in serve (nova): TRACE: x.start() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 84, in start (nova): TRACE: self.manager.init_host() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 499, in init_host (nova): TRACE: super(VlanManager, self).init_host() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 128, in init_host (nova): TRACE: self.driver.init_host() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/linux_net.py", line 378, in init_host (nova): TRACE: iptables_manager.apply() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 606, in inner (nova): TRACE: with lock: (nova): TRACE: File "/usr/lib/pymodules/python2.6/lockfile.py", line 223, in __enter__ (nova): TRACE: self.acquire() (nova): TRACE: File "/usr/lib/pymodules/python2.6/lockfile.py", line 239, in acquire (nova): TRACE: raise LockFailed("failed to create %s" % self.unique_name) (nova): TRACE: LockFailed: failed to create /usr/lib/pymodules/python2.6/openstack1.MainThread-20052 (nova): TRACE:

Not sure if this is a bug or a configuration mistake. Please advise.

Using packages from deb http://ppa.launchpad.net/nova-core/release/ubuntu (http://ppa ...

(more)
edit retag flag offensive close merge delete

14 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-25 19:02:53 -0500

harsha-gluster gravatar image

Nova network log says :-

Command: sudo -E dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=10.0.0.1 --except-interface=lo --dhcp-range=10.0.0.3,static,120s --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro Exit code: 2 Stdout: '' Stderr: '\ndnsmasq: failed to bind listening socket for 10.0.0.1: Address already in use\n' (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-network", line 48, in <module> (nova): TRACE: service.serve() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 290, in serve (nova): TRACE: x.start() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 84, in start (nova): TRACE: self.manager.init_host() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 499, in init_host (nova): TRACE: super(VlanManager, self).init_host() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 134, in init_host (nova): TRACE: self._on_set_network_host(ctxt, network['id']) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 629, in _on_set_network_host (nova): TRACE: self.driver.update_dhcp(context, network_id) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 607, in inner (nova): TRACE: retval = f(args, *kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/linux_net.py", line 588, in update_dhcp (nova): TRACE: _execute(command, addl_env=env) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/linux_net.py", line 666, in _execute (nova): TRACE: return utils.execute(cmd, **kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 173, in execute (nova): TRACE: cmd=' '.join(cmd)) (nova): TRACE: ProcessExecutionError: Unexpected error while running command. (nova): TRACE: Command: sudo -E dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=10.0.0.1 --except-interface=lo --dhcp-range=10.0.0.3,static,120s --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro (nova): TRACE: Exit code: 2 (nova): TRACE: Stdout: '' (nova): TRACE: Stderr: '\ndnsmasq: failed to bind listening socket for 10.0.0.1: Address already in use\n' (nova): TRACE:

edit flag offensive delete link more
0

answered 2011-04-25 19:06:45 -0500

harsha-gluster gravatar image

Alright looks like init started another instance of dnsmasq, stopped it so now the ip is assigned.

but still the instance seems to stay in "networking"

root@openstack2:~# euca-describe-instances RESERVATION r-l25vihnf IRT default INSTANCE i-0000000b ami-51539ae1 10.0.0.3 10.0.0.3 networking mykey (IRT, openstack3) 0 m1.tiny 2011-04-25T19:04:26Z nova
root@openstack2:~#

is there any logs that i should look out for?

edit flag offensive delete link more
0

answered 2011-04-25 19:09:23 -0500

harsha-gluster gravatar image

ok now the openstack3 has a nova-compute log

2011-04-25 12:04:12,178 DEBUG nova.linux_net [-] Starting VLAN inteface vlan100 from (pid=1321) ensure_vlan /usr/lib/pymodules/ python2.6/nova/network/linux_net.py:444 2011-04-25 12:04:12,178 DEBUG nova.utils [-] Running cmd (subprocess): sudo vconfig set_name_type VLAN_PLUS_VID_NO_PAD from (pi d=1321) execute /usr/lib/pymodules/python2.6/nova/utils.py:150 2011-04-25 12:04:12,240 DEBUG nova.utils [-] Result was 1 from (pid=1321) execute /usr/lib/pymodules/python2.6/nova/utils.py:16 6 2011-04-25 12:04:12,241 ERROR nova.exception [-] Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 120, in _wrap (nova.exception): TRACE: return f(args, *kw) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 225, in run_instance (nova.exception): TRACE: instance_id) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 532, in setup_compute_network (nova.exception): TRACE: network_ref['bridge']) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/linux_net.py", line 436, in ensure_vlan_bridge (nova.exception): TRACE: interface = ensure_vlan(vlan_num) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/linux_net.py", line 445, in ensure_vlan (nova.exception): TRACE: _execute('sudo', 'vconfig', 'set_name_type', 'VLAN_PLUS_VID_NO_PAD') (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/linux_net.py", line 666, in _execute (nova.exception): TRACE: return utils.execute(cmd, *kwargs) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 173, in execute (nova.exception): TRACE: cmd=' '.join(cmd)) (nova.exception): TRACE: ProcessExecutionError: Unexpected error while running command. (nova.exception): TRACE: Command: sudo vconfig set_name_type VLAN_PLUS_VID_NO_PAD (nova.exception): TRACE: Exit code: 1 (nova.exception): TRACE: Stdout: '' (nova.exception): TRACE: Stderr: 'sudo: vconfig: command not found\n' (nova.exception): TRACE: 2011-04-25 12:04:12,263 ERROR nova [-] Exception during message handling (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/rpc.py", line 188, in _receive (nova): TRACE: rval = node_func(context=ctxt, **node_args) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 126, in _wrap (nova): TRACE: raise Error(str(e)) (nova): TRACE: Error: Unexpected error while running command. (nova): TRACE: Command: sudo vconfig set_name_type VLAN_PLUS_VID_NO_PAD (nova): TRACE: Exit code: 1 (nova): TRACE: Stdout: '' (nova): TRACE: Stderr: 'sudo: vconfig: command not found\n' (nova): TRACE: 2011-04-25 12:04:36,653 INFO nova.compute.manager [-] Found instance 'instance-0000000b' in DB but no VM. State=0, so assuming spawn is in progress. 2011-04-25 12:05:36,693 INFO nova.compute.manager [-] Found instance 'instance-0000000b' in DB but no VM. State=0, so assuming spawn is in progress. 2011-04-25 12:06:36,733 INFO nova.compute.manager [-] Found instance 'instance-0000000b' in DB but no VM. State=0, so assuming spawn is in progress.

edit flag offensive delete link more
0

answered 2011-04-25 19:15:31 -0500

vishvananda gravatar image

It looks like you are trying to use the local image service on multiple machines. You need to use glance or share the images dir for multiple machines. On Apr 25, 2011 12:13 PM, "Harshavardhana" < question153795@answers.launchpad.net > wrote:

Question #153795 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Harshavardhana posted a new comment: ok now i have installed vlan package.

ib/pymodules/python2.6/nova/utils.py:150 2011-04-25 12:10:18,297 DEBUG nova.utils [-] Running cmd (subprocess): sudo iptables-restore from (pid=1310) execute /usr/lib/pymodules/python2.6/nova/utils.py:150 2011-04-25 12:10:18,334 DEBUG nova.utils [-] Running cmd (subprocess): mkdir -p /var/lib/nova/instances/instance-0000000c/ from (pid=1310) execute /usr/lib/pymodules/python2.6/nova/utils.py:150 2011-04-25 12:10:18,340 INFO nova.virt.libvirt_conn [-] instance instance-0000000c: Creating image 2011-04-25 12:10:18,465 DEBUG nova.utils [-] Attempting to grab semaphore "592fa047" for method "call_if_not_exists"... from (pid=1310) inner /usr/lib/pymodules/python2.6/nova/utils.py:594 2011-04-25 12:10:18,515 ERROR nova.compute.manager [98IQV0BGREU0JHQ272IK anne IRT] Instance '12' failed to spawn. Is virtualization enabled in the BIOS? (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 234, in run_instance (nova.compute.manager): TRACE: self.driver.spawn(instance_ref) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 120, in _wrap (nova.compute.manager): TRACE: return f(args, *kw) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 616, in spawn (nova.compute.manager): TRACE: self._create_image(instance, xml, network_info) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 841, in _create_image (nova.compute.manager): TRACE: project=project) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 776, in _cache_image (nova.compute.manager): TRACE: call_if_not_exists(base, fn, args, *kwargs) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 607, in inner (nova.compute.manager): TRACE: retval = f(args, *kwargs) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 774, in call_if_not_exists (nova.compute.manager): TRACE: fn(target=base, args, *kwargs) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 787, in _fetch_image (nova.compute.manager): TRACE: images.fetch(image_id, target, user, project) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/images.py", line 51, in fetch (nova.compute.manager): TRACE: metadata = image_service.get(elevated, image_id, image_file) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/image/local.py", line 116, in get (nova.compute.manager): TRACE: raise exception.NotFound (nova.compute.manager): TRACE: NotFound: None (nova.compute.manager): TRACE: 2011-04-25 12:10:51,678 INFO nova.compute.manager [-] Found instance 'instance-0000000c' in DB but no VM. State=8, so setting state to ...

(more)
edit flag offensive delete link more
0

answered 2011-04-25 19:13:04 -0500

harsha-gluster gravatar image

ok now i have installed vlan package.

ib/pymodules/python2.6/nova/utils.py:150 2011-04-25 12:10:18,297 DEBUG nova.utils [-] Running cmd (subprocess): sudo iptables-restore from (pid=1310) execute /usr/lib/pymodules/python2.6/nova/utils.py:150 2011-04-25 12:10:18,334 DEBUG nova.utils [-] Running cmd (subprocess): mkdir -p /var/lib/nova/instances/instance-0000000c/ from (pid=1310) execute /usr/lib/pymodules/python2.6/nova/utils.py:150 2011-04-25 12:10:18,340 INFO nova.virt.libvirt_conn [-] instance instance-0000000c: Creating image 2011-04-25 12:10:18,465 DEBUG nova.utils [-] Attempting to grab semaphore "592fa047" for method "call_if_not_exists"... from (pid=1310) inner /usr/lib/pymodules/python2.6/nova/utils.py:594 2011-04-25 12:10:18,515 ERROR nova.compute.manager [98IQV0BGREU0JHQ272IK anne IRT] Instance '12' failed to spawn. Is virtualization enabled in the BIOS? (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 234, in run_instance (nova.compute.manager): TRACE: self.driver.spawn(instance_ref) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 120, in _wrap (nova.compute.manager): TRACE: return f(args, *kw) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 616, in spawn (nova.compute.manager): TRACE: self._create_image(instance, xml, network_info) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 841, in _create_image (nova.compute.manager): TRACE: project=project) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 776, in _cache_image (nova.compute.manager): TRACE: call_if_not_exists(base, fn, args, *kwargs) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 607, in inner (nova.compute.manager): TRACE: retval = f(args, *kwargs) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 774, in call_if_not_exists (nova.compute.manager): TRACE: fn(target=base, args, *kwargs) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 787, in _fetch_image (nova.compute.manager): TRACE: images.fetch(image_id, target, user, project) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/images.py", line 51, in fetch (nova.compute.manager): TRACE: metadata = image_service.get(elevated, image_id, image_file) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/image/local.py", line 116, in get (nova.compute.manager): TRACE: raise exception.NotFound (nova.compute.manager): TRACE: NotFound: None (nova.compute.manager): TRACE: 2011-04-25 12:10:51,678 INFO nova.compute.manager [-] Found instance 'instance-0000000c' in DB but no VM. State=8, so setting state to shutoff. 2011-04-25 12:10:51,679 INFO nova.compute.manager [-] DB/VM state mismatch. Changing state from '8' to '5' (END)

Seems like it doesn't recognize the BIOS kvm

root@openstack4:~# ls -ltr /dev/kvm crw-rw---- 1 root kvm 10, 232 2011-04-23 15:16 /dev/kvm root@openstack4:~#

root@openstack4:~# kvm pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin ... (more)

edit flag offensive delete link more
0

answered 2011-04-22 22:47:56 -0500

harsha-gluster gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more
0

answered 2011-04-22 20:16:25 -0500

harsha-gluster gravatar image

and my nova.conf

--sql_connection=mysql://root:nova@openstack1/nova --s3_host=openstack2 --rabbit_host=172.17.30.151 --cc_host=172.17.30.151 --ec2_url=http://172.17.30.151:8773/services/Cloud

--daemonize=1

--dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge

--FAKE_subdomain=ec2

--ca_path=/var/lib/nova/CA --keys_path=/var/lib/nova/keys --networks_path=/var/lib/nova/networks --instances_path=/var/lib/nova/instances --images_path=/var/lib/nova/images --buckets_path=/var/lib/nova/buckets

--libvirt_type=kvm

--network_manager=nova.network.manager.VlanManager

--vlan_interface=eth0

--logdir=/var/log/nova --verbose --volume_group=openstack1 --fixed_range=172.17.30.0/24 --network_size=64

edit flag offensive delete link more
0

answered 2011-04-22 00:12:57 -0500

vishvananda gravatar image

The first error looks like you tried to create the same set of networks twice.

the second one is due to a missing flag --lock_path=/some/writable/directory (usually it is /var/lock/nova)

If you installed from packages this should be set in the default nova.conf Did you change it? On Apr 21, 2011, at 4:47 PM, Harshavardhana wrote:

New question #153795 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

Error during network discovery.

snip from "nova-manage"


migrate/versioning/repository.py:82 2011-04-21 16:25:53,077 DEBUG migrate.versioning.util [-] Disposing SQLAlchemy engine Engine(mysql://root:nova@openstack1/nova) from (pid=30657) with_engine /usr/lib/pymodules/python2.6/migrate/versioning/util/__init__.py:163 2011-04-21 16:25:53,967 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" pymodules="" python2.6="" nova="" db="" sqlalchemy="" api.pyc'=""> from (pid=30703) __get_backend /usr/lib/pymodules/python2.6/nova/utils.py:427 2011-04-21 16:25:54,053 CRITICAL nova [-] Network with cidr 10.0.0.0/28 already exists (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-manage", line 1122, in <module> (nova): TRACE: main() (nova): TRACE: File "/usr/bin/nova-manage", line 1111, in main (nova): TRACE: fn(*argv) (nova): TRACE: File "/usr/bin/nova-manage", line 546, in create (nova): TRACE: label=label) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 584, in create_networks (nova): TRACE: cidr)) (nova): TRACE: ValueError: Network with cidr 10.0.0.0/28 already exists

(nova): TRACE:

snip from nova-network


2011-04-21 16:35:26,825 AUDIT nova [-] Starting network node (version 2011.2-workspace:tarmac-20110415024701-a9bdb77vaatk99lh) 2011-04-21 16:35:26,839 DEBUG nova.utils [-] Attempting to grab semaphore "iptables" for method "apply"... from (pid=20052) inner /usr/lib/pymodules/python2.6/nova/utils.py:594 2011-04-21 16:35:26,839 DEBUG nova.utils [-] Attempting to grab file lock "iptables" for method "apply"... from (pid=20052) inner /usr/lib/pymodules/python2.6/nova/utils.py:599 2011-04-21 16:35:26,840 CRITICAL nova [-] failed to create /usr/lib/pymodules/python2.6/openstack1.MainThread-20052 (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-network", line 48, in <module> (nova): TRACE: service.serve() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 290, in serve (nova): TRACE: x.start() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 84, in start (nova): TRACE: self.manager.init_host() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 499, in init_host (nova): TRACE: super(VlanManager, self).init_host() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 128, in init_host (nova): TRACE: self.driver.init_host() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/linux_net.py", line 378, in init_host (nova): TRACE: iptables_manager.apply() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 606, in inner (nova): TRACE: with lock: (nova): TRACE: File "/usr/lib/pymodules/python2.6 ...

(more)
edit flag offensive delete link more
0

answered 2011-04-22 09:25:44 -0500

harsha-gluster gravatar image

Thanks Vish, No i haven't changed nova.conf. I will look for the --lock_path and report back if it worked.

edit flag offensive delete link more
0

answered 2011-04-22 20:15:04 -0500

harsha-gluster gravatar image

Checked just now, seems like the directory exists but still the nova-network thread is failing. is it permissions?

root@openstack1:/var/lock/nova# cd .. root@openstack1:/var/lock# ls lvm nova root@openstack1:/var/lock# stat nova File: `nova' Size: 40 Blocks: 0 IO Block: 4096 directory Device: 12h/18d Inode: 59146 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 106/ nova) Gid: ( 0/ root) Access: 2011-04-22 13:13:47.025973002 -0700 Modify: 2011-04-21 15:53:34.969018005 -0700 Change: 2011-04-22 13:13:55.935973002 -0700 root@openstack1:/var/lock# ls -ltr total 0 drwxr-xr-x 2 nova root 40 2011-04-21 15:53 nova drwx------ 2 root root 40 2011-04-21 16:40 lvm root@openstack1:/var/lock#

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-21 23:47:45 -0500

Seen: 138 times

Last updated: Apr 25 '11