Bug 981383

Summary: openstack-packstack: remote cinder deployment doesn't work as packstack doesn't configure keystone service properly
Product: Red Hat OpenStack Reporter: Haim <hateya>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED NOTABUG QA Contact: Haim <hateya>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.0CC: aortega, derekh, hateya, jkt, mmagr, yeylon
Target Milestone: rcKeywords: Triaged, Unconfirmed
Target Release: 4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-07 14:29:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Haim 2013-07-04 15:12:55 UTC
Description of problem:

remote cinder deployment doesn't work as packstack doesn't configure correct keystone server. 

in /etc/cinder/cinder.conf

the configuration of keystone was:

 service_host=127.0.0.1

instead of:

service_host=10.35.115.22

I couldn't perform any basic operation due to authentication errors.

ERROR:

2013-07-04 17:39:17  WARNING [keystoneclient.middleware.auth_token] Unexpected response from keystone service: {u'error': {u'message': u'Invalid user / password', u'code': 401, u'title': u'Not Authorized'}}
2013-07-04 17:39:17  WARNING [keystoneclient.middleware.auth_token] Authorization failed for token 040ee745203a4d53be3a87ac68ad5dd6
2013-07-04 17:43:17  WARNING [cinder.openstack.common.policy] Inheritance-based rules are deprecated; use the default brain instead of HttpBrain.


workaround: 

change server to keystone server and restart all services.

Comment 1 Perry Myers 2013-12-05 18:49:48 UTC
@haim, can you reproduce this with the RHOS 4.0 latest builds and provide packstack logs?

Comment 2 Martin Magr 2013-12-07 14:29:05 UTC
Can't find service_host in cinder.conf sample [1] and service_host is correctly set in api-paste.ini:

[para@virtual-rhel ~]$ sudo cat /etc/cinder/api-paste.ini | grep service_host
service_host=192.168.122.229

So, I'm going to close this one.

[1] https://github.com/openstack/cinder/blob/master/etc/cinder/cinder.conf.sample

Comment 3 Red Hat Bugzilla 2023-09-14 01:47:32 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days