install guide: keystone_authtoken/auth_url shows incorrect port

Bug #1754104 reported by Sebastian
80
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
liuyamin
Glance
Fix Released
Medium
Brian Rosmaita
Queens
Fix Released
Critical
Brian Rosmaita
OpenStack Heat
In Progress
Undecided
zengjia
OpenStack Object Storage (swift)
Fix Released
Undecided
zengjia
OpenStack Shared File Systems Service (Manila)
Fix Released
High
liuyamin

Bug Description

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [X] This doc is inaccurate in this way: The code shown for the keystone_authtoken needs an update regarding the ports for queens. Following the guides, keystone only listens on port 5000 instead of 5000 & 35357
- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output.
Input:
[keystone_authtoken]
# ...
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = glance
password = GLANCE_PASS

output:
[keystone_authtoken]
# ...
auth_uri = http://controller:5000
auth_url = http://controller:5000
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = glance
password = GLANCE_PASS

If you have a troubleshooting or support issue, use the following resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: 16.0.1.dev1 on 'Thu Mar 1 07:26:57 2018, commit 968f4ae'
SHA: 968f4ae9ce244d9372cb3e8f45acea9d557f317d
Source: https://git.openstack.org/cgit/openstack/glance/tree/doc/source/install/install-ubuntu.rst
URL: https://docs.openstack.org/glance/queens/install/install-ubuntu.html

Changed in glance:
assignee: nobody → Brian Rosmaita (brian-rosmaita)
summary: - Install and configure (Ubuntu) in glance
+ install guide: keystone_authtoken/auth_url shows incorrect port
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Will want to backport this one, the duplicates are beginning to pile up.

Changed in glance:
status: New → Triaged
importance: Undecided → Medium
milestone: none → rocky-1
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

from https://docs.openstack.org/keystone/latest/install/keystone-install-ubuntu.html

"Before the Queens release, keystone needed to be run on two separate ports to accommodate the Identity v2 API which ran a separate admin-only service commonly on port 35357. With the removal of the v2 API, keystone can be run on the same port for all interfaces."

Changed in glance:
status: Triaged → In Progress
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Forgot the closes-bug tag on the review, so here it is: https://review.openstack.org/558932

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Marked this as critical for stable/queens, because triaging these duplicates takes up a lot of time, plus this will not cause any code regressions.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/558932
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=7dfce420279423708138596c6646551308058b50
Submitter: Zuul
Branch: master

commit 7dfce420279423708138596c6646551308058b50
Author: Brian Rosmaita <email address hidden>
Date: Wed Apr 4 17:08:38 2018 -0400

    Update auth_url in install docs

    Beginning with the Queens release, the keystone install guide
    recommends running all interfaces on the same port. This patch
    updates the glance install guide to reflect that change.

    Closes-bug: #1754104

    Change-Id: I6134097f4ec78bf34a03f3ce6d8564bd324eb1b3

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/559136

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/queens)

Reviewed: https://review.openstack.org/559136
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=704483fa9d8df5ba2e362e6d206f4a6c8745ea0e
Submitter: Zuul
Branch: stable/queens

commit 704483fa9d8df5ba2e362e6d206f4a6c8745ea0e
Author: Brian Rosmaita <email address hidden>
Date: Wed Apr 4 17:08:38 2018 -0400

    Update auth_url in install docs

    Beginning with the Queens release, the keystone install guide
    recommends running all interfaces on the same port. This patch
    updates the glance install guide to reflect that change.

    Backporting because this issue is collecting a lot of duplicate bug filings.

    Closes-bug: #1754104

    Change-Id: I6134097f4ec78bf34a03f3ce6d8564bd324eb1b3
    (cherry picked from commit 7dfce420279423708138596c6646551308058b50)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 17.0.0.0b1

This issue was fixed in the openstack/glance 17.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 16.0.1

This issue was fixed in the openstack/glance 16.0.1 release.

junboli (junboli)
Changed in cinder (Ubuntu):
assignee: nobody → junboli (junboli)
Changed in manila (Ubuntu):
assignee: nobody → junboli (junboli)
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hi junboli,

Should this be opened against the Ubuntu packages for cinder and manila or did you intend to open this against the upstream packages? If so I think they're still at https://bugs.launchpad.net/cinder and https://bugs.launchpad.net/manila.

Thanks,
Corey

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Upstream projects, rather.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

I've marked this as affecting the upstream cinder/manila projects rather than the Ubuntu cinder/manila packages. Please feel free to switch it back if it does in fact affect Ubuntu packages. Thanks.

Changed in cinder (Ubuntu):
status: New → Invalid
Changed in manila (Ubuntu):
status: New → Invalid
Changed in cinder (Ubuntu):
assignee: junboli (junboli) → nobody
Changed in manila (Ubuntu):
assignee: junboli (junboli) → nobody
junboli (junboli)
no longer affects: cinder (Ubuntu)
no longer affects: manila (Ubuntu)
liuyamin (liuyamin)
Changed in cinder:
assignee: nobody → liuyamin (liuyamin)
Changed in manila:
assignee: nobody → liuyamin (liuyamin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/566790

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/567581

Changed in manila:
status: New → In Progress
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/queens)

Reviewed: https://review.openstack.org/567581
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=bd6c800f8f01dd285b67a8e1a8d2d440090217b2
Submitter: Zuul
Branch: stable/queens

commit bd6c800f8f01dd285b67a8e1a8d2d440090217b2
Author: liuyamin <email address hidden>
Date: Thu May 10 20:33:21 2018 +0800

    Update auth_url value in install docs

    Follow the keystone install guide by using port 5000 as the default
    auth_url, this change is to update manila install guide on the version
    of Queens.

    Change-Id: I8862e2906d0a1eb6f5b900205b39456f6543c14c
    Closes-bug: #1754104

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 7.0.0.0b2

This issue was fixed in the openstack/manila 7.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.0.0b2

This issue was fixed in the openstack/cinder 13.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/watcher 1.10.0

This issue was fixed in the openstack/watcher 1.10.0 release.

Tom Barron (tpb)
Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 6.0.2

This issue was fixed in the openstack/manila 6.0.2 release.

Changed in cinder:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/queens)

Reviewed: https://review.openstack.org/566790
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=2295f537c53638895809a41bc140afa417b94f55
Submitter: Zuul
Branch: stable/queens

commit 2295f537c53638895809a41bc140afa417b94f55
Author: junboli <email address hidden>
Date: Tue May 1 00:17:01 2018 +0800

    Update auth_url value in install docs

    Follow the keystone install guide by using port 5000
    as the default auth_url, this change is to update cinder
    install guide to follow that.

     Conflicts:
     doc/source/install/cinder-controller-install-ubuntu.rst
     doc/source/install/cinder-storage-install-rdo.rst

    Change-Id: If14fe5cd82037fd03b9378333aa502e944dac434
    Closes-bug: #1754104
    (cherry picked from commit d8136936f8af3ff60acbb997dda0828986359a4f)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.4

This issue was fixed in the openstack/cinder 12.0.4 release.

zengjia (zengjia87)
Changed in swift:
assignee: nobody → zengjia (zengjia87)
zengjia (zengjia87)
Changed in swift:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (master)

Fix proposed to branch: master
Review: https://review.opendev.org/670005

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.opendev.org/670005
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=0ae1ad63c10ea8643fc0998dca159b844286c414
Submitter: Zuul
Branch: master

commit 0ae1ad63c10ea8643fc0998dca159b844286c414
Author: zengjia <email address hidden>
Date: Wed Jul 10 15:46:32 2019 +0800

    Update auth_url in install docs

    Beginning with the Queens release, the keystone install guide
    recommends running all interfaces on the same port.This patch
    updates the swift install guide to reflect that change

    Change-Id: Id00cfd2c921da352abdbbbb6668b921f3cb31a1a
    Closes-bug: #1754104

Changed in swift:
status: In Progress → Fix Released
zengjia (zengjia87)
Changed in heat:
assignee: nobody → zengjia (zengjia87)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.opendev.org/670937

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (feature/losf)

Fix proposed to branch: feature/losf
Review: https://review.opendev.org/671181

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (feature/losf)
Download full text (3.9 KiB)

Reviewed: https://review.opendev.org/671181
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=ea5cbf633cfa56a418a79cde4ccfea0c1f6f3f92
Submitter: Zuul
Branch: feature/losf

commit a1af3811a79963e2e5d1db3e5588cbc9748f9d57
Author: Tim Burke <email address hidden>
Date: Mon Jun 24 12:25:33 2019 -0700

    sharding: Cache shard ranges for object writes

    Previously, we issued a GET to the root container for every object PUT,
    POST, and DELETE. This puts load on the container server, potentially
    leading to timeouts, error limiting, and erroneous 404s (!).

    Now, cache the complete set of 'updating' shards, and find the shard for
    this particular update in the proxy. Add a new config option,
    recheck_updating_shard_ranges, to control the cache time; it defaults to
    one hour. Set to 0 to fall back to previous behavior.

    Note that we should be able to tolerate stale shard data just fine; we
    already have to worry about async pendings that got written down with
    one shard but may not get processed until that shard has itself sharded
    or shrunk into another shard.

    Also note that memcache has a default value limit of 1MiB, which may be
    exceeded if a container has thousands of shards. In that case, set()
    will act like a delete(), causing increased memcache churn but otherwise
    preserving existing behavior. In the future, we may want to add support
    for gzipping the cached shard ranges as they should compress well.

    Change-Id: Ic7a732146ea19a47669114ad5dbee0bacbe66919
    Closes-Bug: 1781291

commit 0ae1ad63c10ea8643fc0998dca159b844286c414
Author: zengjia <email address hidden>
Date: Wed Jul 10 15:46:32 2019 +0800

    Update auth_url in install docs

    Beginning with the Queens release, the keystone install guide
    recommends running all interfaces on the same port.This patch
    updates the swift install guide to reflect that change

    Change-Id: Id00cfd2c921da352abdbbbb6668b921f3cb31a1a
    Closes-bug: #1754104

commit f4bb1bea28640dc603da891559387d6b15f1f2da
Author: Tim Burke <email address hidden>
Date: Wed Jul 10 23:48:39 2019 -0700

    reconciler: Enqueue right work for shard containers

    This fixes newly-enqueued work going forward, but doesn't offer anything
    to try to parse existing bad work items or even to kick shards so they
    reset their reconciler high-water marks.

    Change-Id: I79d20209cea70a6447c4e94941e5e854889cbec5
    Closes-Bug: 1836082

commit c1d170225281a39973dda1b8e46f5b3b5c943d1a
Author: Tim Burke <email address hidden>
Date: Wed Jul 10 15:37:44 2019 -0700

    functests: Make test_PUT_metadata less flakey

    Change-Id: I846e746c2fe7591a3ab502428f587e3cbe753225

commit b10f4bae28bec9c0c394c340bf813a28ac8a3380
Author: Tim Burke <email address hidden>
Date: Tue Jun 18 09:54:02 2019 -0700

    func tests: tolerate more 404s when deleting

    Change-Id: I3129e4f94ac39964f2f17ea05b6b2dd807fba82a

commit 557335465561b7a00d08cc5a370d5fcd6e7d83b0
Author: Tim Burke <email address hidden>
Date: Sat Jun 1 10:46:54 2019 -0700

    Move calls to self.app outside of error handling

    On p...

Read more...

tags: added: in-feature-losf
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift 2.22.0

This issue was fixed in the openstack/swift 2.22.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by zengjia (<email address hidden>) on branch: master
Review: https://review.opendev.org/670937

Changed in cinder:
status: In Progress → Fix Released
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.