Cinder volume-Iscsi Service refresh failed: could not stop tgtd on environment without cinder/ceph nodes

Bug #1249416 reported by Tatyanka
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Undecided
Andrey Korolyov

Bug Description

{"release": "4.0", "nailgun_sha": "673d88be9c2f205ea30abf71902dba35bd3f801b", "ostf_sha": "ce6aabb1f24c5328e316c49f965b4246a5ca5ca6", "astute_sha": "df6ddea3abc93fbe1cab9b4534d4d5e9508c95d6", "fuellib_sha": "6041437f2e16362c239614df6d09b66e1151862a"}

Configuration:
CentOs HA on kvm :3 controllers + 1 compute + Nova Networking(FlatDHCP)
Other configuration leave by default

Actual result:
Deployment failed by several reasons:
1. swift - there is separate bug for this
2. could not refresh volume-iscsi service
2013-11-08 16:11:22 NOTICE

 (/Stage[main]/Keystone/Keystone_config[DEFAULT/verbose]/ensure) created

2013-11-08 16:11:22 NOTICE

 (/Stage[main]/Cinder::Scheduler/Service[cinder-scheduler]) Triggered 'refresh' from 31 events

2013-11-08 16:11:21 NOTICE

 (/Stage[main]/Cinder::Scheduler/Service[cinder-scheduler]/ensure) ensure changed 'stopped' to 'running'

2013-11-08 16:11:21 ERR

 (/Stage[main]/Cinder::Volume::Iscsi/Service[tgtd]) Failed to call refresh: Could not stop Service[tgtd]: Execution of '/sbin/service tgtd stop' returned 1: at /etc/puppet/modules/cinder/manifests/volume/iscsi.pp:28

2013-11-08 16:11:20 NOTICE

 (/Stage[main]/Cinder::Volume/Service[cinder-volume]) Triggered 'refresh' from 31 events

2013-11-08 16:11:20 NOTICE

 (/Stage[main]/Cinder::Volume/Service[cinder-volume]/ensure) ensure changed 'stopped' to 'running'

2013-11-08 16:11:19 NOTICE

 (/Stage[main]/Cinder::Api/Service[cinder-api]) Triggered 'refresh' from 30 events

2013-11-08 16:11:19 NOTICE

 (/Stage[main]/Cinder::Api/Service[cinder-api]/ensure) ensure changed 'stopped' to 'running'

2013-11-08 16:11:19 NOTICE

 (/Stage[main]/Cinder::Base/Exec[cinder-manage db_sync]) Triggered 'refresh' from 87 events

2013-11-08 16:11:13 NOTICE

 (/Stage[main]/Nova/File[/etc/nova/nova.conf]/owner) owner changed 'root' to 'nova'

And there is cinder on controller
Warning: Permanently added 'node-11,10.108.0.6' (RSA) to the list of known hosts.
Last login: Fri Nov 8 16:27:24 2013 from 10.108.0.2
[root@node-11 ~]# ps uax| grep volume
cinder 5013 0.9 0.3 251960 3552 ? S 16:11 0:13 /usr/bin/python /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf --logfile /var/log/cinder/volume.log
cinder 5046 0.0 1.7 373000 17564 ? S 16:11 0:01 /usr/bin/python /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf --logfile /var/log/cinder/volume.log
root 20259 0.0 0.0 103236 852 pts/0 S+ 16:35 0:00 grep volume

[root@node-11 ~]# /etc/init.d/openstack-cinder-volume status
openstack-cinder-volume (pid 5013) is running...
[root@node-11 ~]# /etc/init.d/openstack-cinder-scheduler status
openstack-cinder-scheduler (pid 5184) is running...
[root@node-11 ~]# /etc/init.d/openstack-cinder-backup status
openstack-cinder-backup is stopped
[root@node-11 ~]# /etc/init.d/openstack-cinder-api status
openstack-cinder-api (pid 4932) is running...

But
[root@node-11 ~]# /sbin/service tgtd stop
Stopping target framework daemon
tgtd is not running
[root@node-11 ~]# /sbin/service tgtd status
tgtd is running. Run 'tgt-admin -s' to see detailed target info.

Also t(/Stage[main]/Openstack::Controller_ha/Exec[wait-for-haproxy-mysql-backend]/returns) change from notrun to 0 failed: echo show stat | socat unix-connect:///var/lib/haproxy/stats stdio | grep -q '^mysqld,BACKEND,.*,UP,' returned 1 instead of one of [0] at /etc/puppet/modules/openstack/manifests/controller_ha.pp:236here is problems with Haproxy

Tags: cinder havana
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
description: updated
Changed in fuel:
status: New → Invalid
Changed in fuel:
status: Invalid → Triaged
assignee: Vladimir Kuklin (vkuklin) → Andrey Korolyov (xdeller)
Changed in fuel:
status: Triaged → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.