← Back to team overview

openstack team mailing list archive

Re: live_migration Permission denied

 

Hi again, Alex,

The appropriate place to submit these things is either as a bug
report, or as a question on Launchpad Answers.

For questions like this (where you aren't sure if it is a bug or not),
use Launchpad Answers:

http://answers.launchpad.net/nova

Thanks!
-jay

On Thu, Oct 27, 2011 at 6:52 AM, aliex_liu <aliex_liu@xxxxxxxxxxx> wrote:
> control node:
> 011-10-27 17:57:41,819 CRITICAL nova [-] UnboundLocalError local variable
> 'filename' referenced before assignment
> [u'Traceback (most recent call last):\n', u'  File
> "/usr/lib/pymodules/python2.6/nova/rpc.py", line 188, in _receive\n    rval
> = node_func(context=ctxt, **node_args)\n', u'  File
> "/usr/lib/pymodules/python2.6/nova/scheduler/manager.py", line 83, in
> _schedule\n    **kwargs)\n', u'  File
> "/usr/lib/pymodules/python2.6/nova/scheduler/driver.py", line 101, in
> schedule_live_migration\n    self._live_migration_common_check(context,
> instance_ref, dest)\n', u'  File
> "/usr/lib/pymodules/python2.6/nova/scheduler/driver.py", line 196, in
> _live_migration_common_check\n
> self.mounted_on_same_shared_storage(context, instance_ref, dest)\n', u'
> File "/usr/lib/pymodules/python2.6/nova/scheduler/driver.py", line 313, in
> mounted_on_same_shared_storage\n    "args": {\'filename\': filename}})\n',
> u"UnboundLocalError: local variable 'filename' referenced before
> assignment\n"]
> (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 643, in live_migration
> (nova): TRACE:     "topic": FLAGS.compute_topic}})
> (nova): TRACE:   File "/usr/lib/pymodules/python2.6/nova/rpc.py", line 385,
> in call
> (nova): TRACE:     raise wait_msg.result
> (nova): TRACE: RemoteError: UnboundLocalError local variable 'filename'
> referenced before assignment
>
> compute node:
>
> 2011-10-27 15:09:03,379 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: [Errno 13] Permission denied:
> '/var/lib/nova/instances/tmpI5oQvP'
> (nova): TRACE:
> 2011-10-27 15:09:03,379 ERROR nova.rpc [-] return [Errno 13] Permission
> denied: '/var/lib/nova/instances/tmpI5oQvP'  exception
>
> what cause this error,and what should i do?
> 2011-10-27
> ________________________________
> aliex_liu
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


References