Issues with volumes and services on Essex

Asked by Nolan Peters

Hello,

Fairly new to openstack, so please forgive any dumb questions.

I had everything setup on one controller, and was able to create an instance and run it. Now I have added a compute node to the best that the directions can give me but am having multiple issues. One, when running nova-manage service list, everything is enabled on both the controller and the node, but the state on everything on the node is XXX, as well as the volume, node, and network and console on the controller.

When manually enabling and disabling the services they'll go to :-), then return to XXX shortly after.

As for creating volumes, they will just hang indefinitely in the "Creating" status and if I try to delete them will stay in "Deleting" status. Some of them it won't let me delete as they are not 'available'. It seem as if the controller is not working with nova-volume on the node. Whatever logs I look at or google isn't helping me out any more. Appreciate any help. This is on Fedora 17.

I'm sure you'll want to see logs, just let me know what ones you need. Thanks. - Nolan

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Nolan Peters
Solved:
Last query:
Last reply:
Revision history for this message
Nolan Peters (xabion) said :
#1

scheduler.log

2012-06-20 10:38:45 AUDIT nova.service [-] Starting scheduler node (version 2012.1-LOCALBRANCH:LOCALREVISION)
2012-06-20 10:38:45 INFO nova.rpc.impl_qpid [req-da717bd4-738a-42d2-aab4-6e1fffb61479 None None] Connected to AMQP server on localhost:5672

nova-manage.log

2012-06-12 15:59:56 CRITICAL nova [req-d0708a9f-4bfc-4ef6-8be8-d02931772558 None None] Could not find binary nova-volume on host c1-service.lene.net.
2012-06-12 16:00:50 CRITICAL nova [req-306b4859-e519-49bb-9a94-30668860e8ca None None] Could not find binary nova-volume on host c1-service.lene.net.
2012-06-12 16:11:35 CRITICAL nova [req-37e8307d-fe73-4b07-bed4-120a32ad6bad None None] Could not find binary nova-volume on host c1-service.lene.net.

nova --debug volume-list
connect: (127.0.0.1, 5000)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nAccept-Encoding: identity\r\nContent-Length: 103\r\ncontent-type: application/json\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json
header: Vary: X-Auth-Token
header: Date: Wed, 20 Jun 2012 17:12:25 GMT
header: Transfer-Encoding: chunked
connect: (localhost, 8776)
connect fail: (u'localhost', 8776)
connect: (localhost, 8776)
send: u'GET /v1/eb9d16f15e744b0da12c0f621c37b19a/volumes/detail HTTP/1.1\r\nHost: localhost:8776\r\nx-auth-project-id: admin\r\nx-auth-token: d2c3188ab1474e8aaa702302b315bfbd\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Compute-Request-Id: req-6c1d1d94-f1c0-490e-b7a8-ed9d679da18e
header: Content-Type: application/json
header: Content-Length: 763
header: Date: Wed, 20 Jun 2012 17:12:25 GMT
+----+----------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+----+----------+--------------+------+-------------+-------------+
| 1 | deleting | myvolume | 10 | None | |
| 2 | deleting | myvolume2 | 10 | None | |
| 4 | deleting | myvolume30 | 10 | None | |
+----+----------+--------------+------+-------------+-------------+

Revision history for this message
Nolan Peters (xabion) said :
#2

[root@c1-management nova-volumes]# nova-manage service list
Binary Host Zone Status State Updated_At
nova-scheduler c1-management.lene.net nova enabled :-) 2012-06-20 17:17:06
nova-volume c1-management.lene.net nova enabled XXX 2012-06-14 19:53:48
nova-cert c1-management.lene.net nova enabled :-) 2012-06-20 17:17:01
nova-compute c1-management.lene.net nova enabled :-) 2012-06-20 17:17:06
nova-network c1-management.lene.net nova enabled XXX 2012-06-14 19:58:21
nova-compute c1-resource.lene.net nova enabled XXX 2012-06-14 19:59:28
nova-scheduler c1-resource.lene.net nova enabled XXX None
nova-cert c1-resource.lene.net nova enabled XXX None
nova-volume c1-resource.lene.net nova enabled XXX 2012-06-13 19:45:10
nova-console c1-management.lene.net nova enabled XXX 2012-06-12 15:24:49

Revision history for this message
Nolan Peters (xabion) said :
#3

Figured it out anyways.