Ask Your Question
0

resizing doesnt work [closed]

asked 2014-09-02 08:35:51 -0600

Amr gravatar image

updated 2014-09-02 14:45:43 -0600

mpetason gravatar image

Hello ! i trying to resize an instance but i get error:

2014-09-02 13:01:13.030 22142 ERROR nova.compute.manager [req-3dac111e-7b11-4d91-b252-9d2aa885593f f6fd50dd75d64b1bb34f176c00f20388 6e84d345581e4cd0bb247a240aea3179] [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48] Setting instance vm_state to ERROR
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48] Traceback (most recent call last):
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 5526, in _error_out_instance_on_exception
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48]     yield
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3338, in prep_resize
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48]     filter_properties)
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3332, in prep_resize
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48]     node)
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3285, in _prep_resize
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48]     raise exception.MigrationError(msg)
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48] MigrationError: destination same as source!
2014-09-02 13:01:13.030 22142 TRACE nova.compute.manager [instance: f7d93079-9d5e-4543-bbde-5d3b5ccb0c48] 
2014-09-02 13:01:13.637 22142 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: destination same as source!
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher     payload)
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-09-02 13:01:13.637 22142 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by SamYaple
close date 2014-09-02 15:53:42.888205

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-02 14:47:48 -0600

mpetason gravatar image

In nova.conf on the compute node set this option to True:

allow_resize_to_same_host=True

Then restart nova-compute on the compute node.

edit flag offensive delete link more

Comments

yes i did that and its working

thanks alot :)

Amr gravatar imageAmr ( 2014-09-02 15:34:21 -0600 )edit

Great, glad that worked out. Good luck with your cloud.

mpetason gravatar imagempetason ( 2014-09-02 15:38:17 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-02 08:35:51 -0600

Seen: 631 times

Last updated: Sep 02 '14