Multiple nova-volume services fails to create volume on second storage server when using Nexenta driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Unassigned | ||
cinder (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
OS: Ubuntu 12.04
Arch: amd64
Nova Version: 2012.1+
Storage Driver: Nexenta
Using a single Nexenta server with one nova-volume works fine. When adding a second nova-volume service pointing to a second Nexenta server I get failures when creating the volume on the second server. Volumes on first server still work.
(both have same rabbit setting and talk to api ok)
scheduler conf:
--scheduler_
--volume_
nova-volume1 conf:
# VOLUME
--volume_
--volume_
--quota_
# Nexenta Storage Driver
--volume_
--use_local_
--nexenta_
--nexenta_
--nexenta_
--nexenta_
--nexenta_
--nexenta_
nova-volume2 conf:
# VOLUME
--volume_
--volume_
--quota_
# Nexenta Storage Driver
--volume_
--use_local_
--nexenta_
--nexenta_
--nexenta_
--nexenta_
--nexenta_
--nexenta_
I start the second service with a second upstart script which points to the second nova-volume conf. There are no errors on startup. Authentication succeeds. Error shown in second nova volume logs:
nova.service: AUDIT: Starting volume node (version 2012.1-
nova.volume.
nova.volume.
nova.utils: DEBUG: [req-62f2b7fe-
nova.volume.
nova.rpc.common: INFO: Connected to AMQP server on 172.16.14.1:5672
nova.service: DEBUG: Creating Consumer connection for Service volume from (pid=87464) start /usr/lib/
nova.rpc.amqp: DEBUG: received {u'_context_roles': [u'admin'], u'_context_
nova.rpc.amqp: DEBUG: [req-14847c59-
nova.rpc.amqp: ERROR: [req-14847c59-
TRACE nova.rpc.amqp Traceback (most recent call last):
TRACE nova.rpc.amqp File "/usr/lib/
TRACE nova.rpc.amqp rval = node_func(
TRACE nova.rpc.amqp File "/usr/lib/
TRACE nova.rpc.amqp volume_ref = self.db.
TRACE nova.rpc.amqp File "/usr/lib/
TRACE nova.rpc.amqp return IMPL.volume_
TRACE nova.rpc.amqp File "/usr/lib/
TRACE nova.rpc.amqp return f(*args, **kwargs)
TRACE nova.rpc.amqp File "/usr/lib/
TRACE nova.rpc.amqp raise exception.
TRACE nova.rpc.amqp VolumeNotFound: Volume 21 could not be found.
TRACE nova.rpc.amqp
-------
description: | updated |
affects: | openstack-ci → cinder |
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: driver |
Changed in cinder: | |
status: | Confirmed → Invalid |
Changed in cinder (Ubuntu): | |
status: | Confirmed → Won't Fix |
Note that both nova-volume servies are on same server.. From what I can tell it is doing round robin between the two services when I create volumes. I do notice that the service table in db only references one service.. Is this to be expected?