Install and configure in Installation Guide

Bug #1636965 reported by Raj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Won't Fix
Medium
Unassigned

Bug Description

In Openstack Liberty Install-guide-ubuntu, in Glance service install, the keystone_authtoken is incorrect. If you follow what is given in the documentation, you cannot create image using glance image-create as it throws the error "Invalid Openstack Credentials" the document says the following to add in glance-registry.conf and glance-api.conf file under [keystone_authtoken] section

auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = glance
password = GLANCE_PASS

this did not work. Instead the following was added in both the config files and it worked cleanly and correctly

[keystone_authtoken]
auth_host = <controller ip>
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = glance
admin_password = mypass
auth_uri = http://<controller id>:5000

-----------------------------------
Release: 0.1 on 2016-10-02 17:08
SHA: 620d348d56f41b8f87fb48a1195f9228df451ae0
Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/glance-install.rst
URL: http://docs.openstack.org/liberty/install-guide-ubuntu/glance-install.html

Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Hi Raj,

I do not appear to be having the same issue as you and cannot replicate. This could be a singular case. I would like to leave this bug open to determine if anyone else is experiencing similar problems.

Are you able to replicate this issue a second time?

Cheers,

Alex

Revision history for this message
Raj (supra91) wrote : Re: [Bug 1636965] Re: Install and configure in Installation Guide

 blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Yes many times. As I have said below I was able to go forward only after the change I made and not following what is said in the document
Rajesh

Sent from Yahoo Mail for iPhone

On Thursday, December 22, 2016, 8:26 PM, Alexandra Settle <email address hidden> wrote:

Hi Raj,

I do not appear to be having the same issue as you and cannot replicate.
This could be a singular case. I would like to leave this bug open to
determine if anyone else is experiencing similar problems.

Are you able to replicate this issue a second time?

Cheers,

Alex

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1636965

Title:
  Install and configure in Installation Guide

Status in openstack-manuals:
  New

Bug description:
  In Openstack Liberty Install-guide-ubuntu, in Glance service install,
  the keystone_authtoken is incorrect. If you follow what is given in
  the documentation, you cannot create image using glance image-create
  as it throws the error "Invalid Openstack Credentials" the document
  says the following to add in glance-registry.conf and glance-api.conf
  file under [keystone_authtoken] section

  auth_uri = http://controller:5000
  auth_url = http://controller:35357
  auth_plugin = password
  project_domain_id = default
  user_domain_id = default
  project_name = service
  username = glance
  password = GLANCE_PASS

  this did not work. Instead the following was added in both the config
  files and it worked cleanly and correctly

  [keystone_authtoken]
  auth_host = <controller ip>
  auth_port = 35357
  auth_protocol = http
  admin_tenant_name = service
  admin_user = glance
  admin_password = mypass
  auth_uri = http://<controller id>:5000

  -----------------------------------
  Release: 0.1 on 2016-10-02 17:08
  SHA: 620d348d56f41b8f87fb48a1195f9228df451ae0
  Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/glance-install.rst
  URL: http://docs.openstack.org/liberty/install-guide-ubuntu/glance-install.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-manuals/+bug/1636965/+subscriptions

Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Okay, thanks Raj!

I'll leave this open and see if anyone else is able to replicate.

Changed in openstack-manuals:
importance: Undecided → Medium
milestone: none → ocata
Revision history for this message
Steve Martinelli (stevemar) wrote :

This may be due to using Liberty or older releases. Marking the auth token middleware options with "admin_" prefixes was done back then. Some services had migrated over, others had not. Going forward we should only use the new convention (no prefixes).

Since Liberty is EOL'd, i'm not sure there is much to do. Not sure if the docs team keeps the guides around for that long?

Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

The Liberty branch is EOL so there is unfortunately nothing we can do to update the documentation for you.

"admin_" in the auth token section is old, keystone now uses the non prefixed ones.

Sorry we cannot help any further.

Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

If you have any further questions about your configuration for liberty, I recommend you jump into the #openstack-keystone channel on IRC.

Changed in openstack-manuals:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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