resize server error
I installed openstack (Essex) with singel node
I have running instance with id 75198f07-
when I tried to resize with :
nova --debug resize 75198f07-
its not reporting error
but when I tried to confirmed it, with :
nova --debug resize-confirm 75198f07-
its get error :
Instance is in an invalid state for 'confirmResize' (HTTP 409)
in nova.conf I added flag :
--allow_
where was the wrong :???
thanks for advice :??
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- dimas zakky nalendra
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#2 |
Hi,
I would suggest check your nova-compute logs for some error.
Also, you can check nova-scheduler logs to see if the VM was schedule to the compute node.
Can you ssh your machine?
Belmiro
Revision history for this message
|
#3 |
thanks
i will checking now
Revision history for this message
|
#4 |
this is the nova-scheduler.log when I execute resize command :
2012-11-21 21:37:12 DEBUG nova.rpc.amqp [-] received {u'_context_roles': [u'admin', u'KeystoneAdmin', u'KeystoneServi
2012-11-21 21:37:12 DEBUG nova.rpc.amqp [req-7c9c047d-
2012-11-21 21:37:12 WARNING nova.scheduler.
2012-11-21 21:37:12 WARNING nova.scheduler.
2012-11-21 21:37:13 DEBUG nova.rpc.amqp [req-7c9c047d-
2012-11-21 21:37:13 DEBUG nova.rpc.amqp [req-7c9c047d-
2012-11-21 21:37:13 INFO nova.rpc.common [req-7c9c047d-
2012-11-21 21:37:13 DEBUG nova.rpc.amqp [req-7c9c047d-
and this is the log when I done resize --debug :
connect: (192.168.1.25, 5000)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 192.168.
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json
header: Vary: X-Auth-Token
header: Date: Wed, 21 Nov 2012 21:37:11 GMT
header: Transfer-Encoding: chunked
connect: (192.168.1.25, 80)
send: u'GET /compute/
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 21 Nov 2012 21:37:12 GMT
header: X-Compute-
header: Content-Type: application/json
header: Content-Length: 1360
send: u'GET /compute/
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 21 Nov 2012 21:37:12 GMT
header: X-Compute-
header: Content-Type: application/json
header: Content-Length: 339
send: u'GET /compute/
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 21 Nov 2012 21:37:12 GMT
header: X-Compute-
header: Content-Type: application/json
header: Content-Length: 339
send: u'GET /compute/
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 21 Nov 2012 21:37:12 GMT
header: X-Compute-
header: Content-Type: application/json
header: Content-Length: 1360
send: u'POST /compute/
reply: 'HTTP/1.1 202 Accepted\r\n'
header: Date: Wed, 21 Nov 2012 21:37:12 GMT
header: Content-Type: text/html; charset=UTF-8
header: Vary: Accept-Encoding
header: Content-Encoding: gzip
header: Content-Length: 20
after that I checked with nova list and the status of the instance still ACTIVE not RESIZE
Revision history for this message
|
#5 |
the log above is because I'm not adding :
allow_
in nova.conf
after i tried to add :
allow_
i got an error :
2012-11-21 21:53:35 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-11-21 21:53:35 TRACE nova.rpc.amqp File "/usr/lib/
2012-11-21 21:53:35 TRACE nova.rpc.amqp rval = node_func(
2012-11-21 21:53:35 TRACE nova.rpc.amqp File "/usr/lib/
2012-11-21 21:53:35 TRACE nova.rpc.amqp return f(*args, **kw)
2012-11-21 21:53:35 TRACE nova.rpc.amqp File "/usr/lib/
2012-11-21 21:53:35 TRACE nova.rpc.amqp function(self, context, instance_uuid, *args, **kwargs)
2012-11-21 21:53:35 TRACE nova.rpc.amqp File "/usr/lib/
2012-11-21 21:53:35 TRACE nova.rpc.amqp sys.exc_info())
2012-11-21 21:53:35 TRACE nova.rpc.amqp File "/usr/lib/
2012-11-21 21:53:35 TRACE nova.rpc.amqp self.gen.next()
2012-11-21 21:53:35 TRACE nova.rpc.amqp File "/usr/lib/
2012-11-21 21:53:35 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
2012-11-21 21:53:35 TRACE nova.rpc.amqp File "/usr/lib/
2012-11-21 21:53:35 TRACE nova.rpc.amqp raise exception.
2012-11-21 21:53:35 TRACE nova.rpc.amqp MigrationError: destination same as source!
2012-11-21 21:53:35 TRACE nova.rpc.amqp
I found that in nova-compute.log
explain me that
Revision history for this message
|
#6 |
ohhhhh thanks God
the FLAGS allow_resize_
in explain in http://