Deleting volume error in Dashboard

Asked by Bobby Yakovich

Hi Guys,
I am new to Linux and open stack so please bare with me.
I installed Grizzly open stack and everything is working pretty good except for 1 issue.
I incorrectly deleted one of the volumes and now Dashboard always shows it as deleting.
I am able to create and delete new volumes with no problem, except for the one that is stuck.
I checked /var/lib/cinder/volumes/ and no volumes exist there ( I deleted all volumes to start over.
Logs do not show anything that jumps out. I restarted several services with no luck, only issue is when restarting
tgtd service get below error.
"ERROR: You must provide a username via either --os-username or env[OS_USERNAME]
root@cloudcontroller:/# /usr/sbin/tgtd stop
(null): iscsi_tcp_init_portal(227) unable to bind server socket, Address already in use
(null): iscsi_tcp_init_portal(227) unable to bind server socket, Address already in use
(null): iscsi_add_portal(275) failed to create/bind to portal (null):3260
librdmacm: couldn't read ABI version.
librdmacm: assuming: 4
CMA: unable to get RDMA device list
(null): iser_ib_init(3263) Failed to initialize RDMA; load kernel modules?
(null): fcoe_init(214) stop"

Question information

Language:
English Edit question
Status:
Solved
For:
Cinder Edit question
Assignee:
No assignee Edit question
Solved by:
Bobby Yakovich
Solved:
Last query:
Last reply:
Revision history for this message
Bobby Yakovich (bgyako) said :
#1

Config files are as following.

1. targets.conf
# Empty targets configuration file -- please see the package
# documentation directory for an example.
include /etc/tgt/conf.d/cinder_tgt.conf
default-driver iscsi

2. cinder_tgt.conf
include /var/lib/cinder/volumes/*

3. cinder.conf
[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
sql_connection = mysql://cinder:password@localhost/cinder
rabbit_password = password

Revision history for this message
Bobby Yakovich (bgyako) said :
#2

Able to resolve by cleaning out the cinder DB and restarting services.

Revision history for this message
ugvddm (271025598-9) said :
#3

Actually, you can try to use this command: "cinder reset-state --state available volume-id", then delete it again.