Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Operators

Re: Failed to map partitions whith nova-rootwrapkpartx -a /dev/nbd15

 

 

OpenStack operators RSS feed   Index | Next | Previous | View Threaded


igor.laskovy at gmail

May 17, 2012, 12:23 PM

Post #1 of 1 (250 views)
Permalink
Re: Failed to map partitions whith nova-rootwrapkpartx -a /dev/nbd15

Thank you Daneyon, this is fix that problem))

But now I have another "Device 'tap' could not be initialized" errors:

From /var/log/nova/nova-compute.log :
2012-05-17 15:06:04 DEBUG nova.utils
[req-d17b9394-7497-4752-8da3-8ac1aac94fe6
50be127b9b7f49dcbf5ffea06d23d83a ebf29e67cbd445daa5ad09f76cdf69f9]
Running cmd (subprocess): qemu-img create -f qcow2 -o
cluster_size=2M,backing_file=/var/lib/nova/instances/_base/673deeeda607ab6405864d0bc9db6ef0d753bfa0
/var/lib/nova/instances/instance-0000000e/disk from (pid=960) execute
/usr/lib/python2.7/dist-packages/nova/utils.py:219
2012-05-17 15:06:07 ERROR nova.compute.manager
[req-d17b9394-7497-4752-8da3-8ac1aac94fe6
50be127b9b7f49dcbf5ffea06d23d83a ebf29e67cbd445daa5ad09f76cdf69f9]
[instance: 26158208-7ff0-4b09-874c-b04f2c01d96f] Instance failed to
spawn
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] Traceback (most recent call
last):
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 592,
in _spawn
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f]
self._legacy_nw_info(network_info), block_device_info)
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in
wrapped
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] return f(*args, **kw)
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py",
line 922, in spawn
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] self._create_new_domain(xml)
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py",
line 1575, in _create_new_domain
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f]
domain.createWithFlags(launch_flags)
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] File
"/usr/lib/python2.7/dist-packages/libvirt.py", line 581, in
createWithFlags
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] if ret == -1: raise
libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] libvirtError: internal error
Process exited while reading console log output: char device
redirected to /dev/pts/1
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] kvm: -netdev
tap,ifname=tapf9b7acd1-99,script=,id=hostnet0: could not open
/dev/net/tun: Operation not permitted
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f] kvm: -netdev
tap,ifname=tapf9b7acd1-99,script=,id=hostnet0: Device 'tap' could not
be initialized
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f]
2012-05-17 15:06:07 TRACE nova.compute.manager [instance:
26158208-7ff0-4b09-874c-b04f2c01d96f]
2012-05-17 15:06:07 DEBUG nova.compute.manager
[req-d17b9394-7497-4752-8da3-8ac1aac94fe6
50be127b9b7f49dcbf5ffea06d23d83a ebf29e67cbd445daa5ad09f76cdf69f9]
[instance: 26158208-7ff0-4b09-874c-b04f2c01d96f] Deallocating network
for instance from (pid=960) _deallocate_network
/usr/lib/python2.7/dist-packages/nova/compute/manager.py:616
2012-05-17 15:06:07 DEBUG nova.rpc.amqp
[req-d17b9394-7497-4752-8da3-8ac1aac94fe6
50be127b9b7f49dcbf5ffea06d23d83a ebf29e67cbd445daa5ad09f76cdf69f9]
Making asynchronous cast on network... from (pid=960) cast
/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:346
2012-05-17 15:06:07 ERROR nova.rpc.amqp
[req-d17b9394-7497-4752-8da3-8ac1aac94fe6
50be127b9b7f49dcbf5ffea06d23d83a ebf29e67cbd445daa5ad09f76cdf69f9]
Exception during message handling
2012-05-17 15:06:07 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in
_process_data
2012-05-17 15:06:07 TRACE nova.rpc.amqp rval =
node_func(context=ctxt, **node_args)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in
wrapped
2012-05-17 15:06:07 TRACE nova.rpc.amqp return f(*args, **kw)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177,
in decorated_function
2012-05-17 15:06:07 TRACE nova.rpc.amqp sys.exc_info())
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-17 15:06:07 TRACE nova.rpc.amqp self.gen.next()
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171,
in decorated_function
2012-05-17 15:06:07 TRACE nova.rpc.amqp return function(self,
context, instance_uuid, *args, **kwargs)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 651,
in run_instance
2012-05-17 15:06:07 TRACE nova.rpc.amqp do_run_instance()
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner
2012-05-17 15:06:07 TRACE nova.rpc.amqp retval = f(*args, **kwargs)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 650,
in do_run_instance
2012-05-17 15:06:07 TRACE nova.rpc.amqp
self._run_instance(context, instance_uuid, **kwargs)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 451,
in _run_instance
2012-05-17 15:06:07 TRACE nova.rpc.amqp
self._set_instance_error_state(context, instance_uuid)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-17 15:06:07 TRACE nova.rpc.amqp self.gen.next()
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 432,
in _run_instance
2012-05-17 15:06:07 TRACE nova.rpc.amqp
self._deallocate_network(context, instance)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-17 15:06:07 TRACE nova.rpc.amqp self.gen.next()
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 429,
in _run_instance
2012-05-17 15:06:07 TRACE nova.rpc.amqp injected_files, admin_password)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 592,
in _spawn
2012-05-17 15:06:07 TRACE nova.rpc.amqp
self._legacy_nw_info(network_info), block_device_info)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in
wrapped
2012-05-17 15:06:07 TRACE nova.rpc.amqp return f(*args, **kw)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py",
line 922, in spawn
2012-05-17 15:06:07 TRACE nova.rpc.amqp self._create_new_domain(xml)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py",
line 1575, in _create_new_domain
2012-05-17 15:06:07 TRACE nova.rpc.amqp domain.createWithFlags(launch_flags)
2012-05-17 15:06:07 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/libvirt.py", line 581, in
createWithFlags
2012-05-17 15:06:07 TRACE nova.rpc.amqp if ret == -1: raise
libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2012-05-17 15:06:07 TRACE nova.rpc.amqp libvirtError: internal error
Process exited while reading console log output: char device
redirected to /dev/pts/1
2012-05-17 15:06:07 TRACE nova.rpc.amqp kvm: -netdev
tap,ifname=tapf9b7acd1-99,script=,id=hostnet0: could not open
/dev/net/tun: Operation not permitted
2012-05-17 15:06:07 TRACE nova.rpc.amqp kvm: -netdev
tap,ifname=tapf9b7acd1-99,script=,id=hostnet0: Device 'tap' could not
be initialized



On Thu, May 17, 2012 at 12:11 AM, Daneyon Hansen (danehans)
<danehans [at] cisco> wrote:
>
> Try the boot command without --key_name test
>
> Regards,
> Daneyon Hansen
> CCIE 9950, CISSP, TOGAF 9 Foundation, VMware Certified Professional
> Customer Solutions Architect
> Cisco Systems, Inc.
> Mobile: 303-718-0400
> Office: 720-875-2936
> Email: danehans [at] cisco
>
> On May 16, 2012, at 12:33 PM, "Igor Laskovy" <igor.laskovy [at] gmail> wrote:
>
>> --key_name test



--
Igor Laskovy
Kiev, Ukraine
_______________________________________________
Openstack-operators mailing list
Openstack-operators [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

OpenStack operators RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.