Keystone.conf unconfigured upgrading from Grizzly

Asked by Marcos Lobo

Hi,

I am making some upgrading tests from Grizzly to Havana.

Reading the Upgrading procedure from RDO website http://openstack.redhat.com/Upgrading_RDO I made this script to install Grizzly and upgrade to havana

My problem is, when I execute keystone-manage db_sync system raises this error:

CRITICAL keystone [-] (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None

I realized that keystone.conf file is unconfigured, I mean, all parameters are commented. My question is: What is the reason to comment all the parameters in the upgrade process?

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Solved by:
Shree Duth Awasthi
Solved:
Last query:
Last reply:
Revision history for this message
Haneef Ali (haneef) said :
#1

In keystone.conf, all those commented values are default values, which are set in the code. If we you want to change, remove the comment and add your own values

Revision history for this message
Marcos Lobo (marcos-fermin-lobo) said :
#2

Thank you Hannef but, my question is: What is the reason to comment all the parameters in the upgrade process?. I mean, when you install Openstack, keystone.conf file has some parameters commented but not all of them. If you upgrade to havana all of them will be commented. What is the reason?

Revision history for this message
Best Shree Duth Awasthi (shreeduth-awasthi) said :
#3

Hi Marcos,

IMHO the commented lines are only to provide us the gist so that we could later modify it on our own, if needed. There may not be any specific reason.

Once we install the Identity Service (or after successful upgrade), we can modify this file according to our usage (like use SQL for endpoint data n all )

Anyway, the best possible reason can be verified with the RDO developers itself ! ( As it is to provide a development environment )

Thanks.

Revision history for this message
Marcos Lobo (marcos-fermin-lobo) said :
#4

Thanks Shree Duth Awasthi, that solved my question.