← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2074045] Re: keystone dev environment setup document is out of date

 

Reviewed:  https://review.opendev.org/c/openstack/keystone/+/925010
Committed: https://opendev.org/openstack/keystone/commit/9fd7b952d3f837a49ea3969d6d6d440e1243d733
Submitter: "Zuul (22348)"
Branch:    master

commit 9fd7b952d3f837a49ea3969d6d6d440e1243d733
Author: Artem Goncharov <artem.goncharov@xxxxxxxxx>
Date:   Fri Jul 26 14:00:06 2024 +0200

    Update development setup doc
    
    Python evolves and certain things from the development setup simply
    stopped working. This was also mentioned few times by the people
    struggling to start development version of Keystone locally. In addition
    to that certain steps are not being ordered properly what confuses
    people not knowing technical details.
    
    This change modifies the doc by explicitly using python 3.11, reodrering
    steps as required and adding clarifications on the database setup.
    
    Closes-Bug: 2074045
    Change-Id: I2eefc91594bac516e076cc60ae1fcdd7e704eab4


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/2074045

Title:
  keystone dev environment setup document is out of date

Status in OpenStack Identity (keystone):
  Fix Released

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 https://docs.openstack.org/keystone/latest/contributor/set-up-keystone.html is inaccurate in this way:
    1. It mentions python3.6 is required but this doesn't seem to be the case. Maybe it should simply point here ? https://governance.openstack.org/tc/reference/runtimes/
    2. The layout of the document is somewhat confusing as well. It would be helpful to outline the steps clearly in a numbered fashion.
    3. Following the instructions the step : keystone-manage bootstrap command seems to fail with the error below.
    4. keystone-manage db_sync fails with the same error as well.
    5. This command : uwsgi --http 127.0.0.1:5000 --wsgi-file $(which keystone-wsgi-public) : from the above link for running locally seems to be out of date as well. The flag --wsgi-file for one isn't supported anymore.

  ERROR keystone sqlalchemy.exc.NoSuchModuleError: Can't load plugin:
  sqlalchemy.plugins:dbcounter

  It will be helpful to newcomers to keep this up to date.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/2074045/+subscriptions



References