Remove Copies of Incubated Oslo Code

The Oslo team has moved all previously incubated code from the openstack/oslo-incubator repository into separate library repositories and released those libraries to the Python Package Index. Many of our official project teams are still using the old, unsupported, incubated versions of the code. The Oslo team has been working to remove that incubated code from projects, and the time has come to finish that work.

Gerrit Topic

To facilitate tracking, commits related to this goal should use the gerrit topic:

goal-remove-incubated-oslo-code

Completion Criteria

For all projects:

  1. The project correctly declares dependencies for all Oslo libraries replacing the incubated version of older Oslo code.

  2. The project no longer contains copies of the graduated code.

  3. Any openstack/common directories are removed.

For projects using the apiclient module, which was deprecated by the Oslo team:

  1. The copy of apiclient from the openstack/common module has been moved to a new location within the code base so that openstack/common can be deleted.

References

Reference documentation for the existing Oslo libraries: http://docs.openstack.org/developer/openstack-projects.html

Links to the Oslo specs covering graduation for various modules (useful for identifying which library a module moved to, and for finding “porting notes” written at the time of graduation): http://specs.openstack.org/openstack/oslo-specs/

Current State / Anticipated Impact

On 5 Aug 2016 a review of git repositories owned by official projects showed:

$ for r in $(list-repos ); do
  [ -d ~/repos/$r ] &&
  (cd ~/repos/$r; [ -d */openstack/common ] &&
      (echo $r; ls */openstack/common; echo )
  ); done

openstack-dev/heat-cfnclient
exception.py
gettextutils.py
importutils.py
__init__.py
jsonutils.py
local.py
log.py
timeutils.py

openstack-infra/python-storyboardclient
apiclient
_i18n.py
__init__.py
local.py
log.py
uuidutils.py

openstack-infra/storyboard
fileutils.py
fixture
gettextutils.py
__init__.py
jsonutils.py
local.py
lockutils.py
processutils.py
py3kcompat

openstack/castellan
fileutils.py
_i18n.py
__init__.py
local.py

openstack/designate
__init__.py
memorycache.py

openstack/heat
crypto
_i18n.py
__init__.py
README

openstack/python-ceilometerclient
apiclient
_i18n.py
__init__.py

openstack/python-cinderclient
apiclient
__init__.py

openstack/python-cloudkittyclient
apiclient
cliutils.py
__init__.py

openstack/python-congressclient
apiclient
gettextutils.py
__init__.py

openstack/python-glanceclient
apiclient
_i18n.py
__init__.py

openstack/python-heatclient
apiclient
cliutils.py
_i18n.py
__init__.py

openstack/python-manilaclient
apiclient
cliutils.py
_i18n.py
__init__.py
uuidutils.py

openstack/python-mistralclient
apiclient
cliutils.py
gettextutils.py
importutils.py
__init__.py
strutils.py
uuidutils.py

openstack/python-monascaclient
apiclient
gettextutils.py
__init__.py
py3kcompat

openstack/python-muranoclient
apiclient
__init__.py

openstack/python-saharaclient
apiclient
cliutils.py
_i18n.py
__init__.py

openstack/python-searchlightclient
apiclient
cliutils.py
_i18n.py
__init__.py

openstack/python-smaugclient
apiclient
__init__.py

openstack/python-solumclient
apiclient
cliutils.py
gettextutils.py
importutils.py
__init__.py
strutils.py
uuidutils.py

openstack/python-troveclient
apiclient
__init__.py

openstack/solum
excutils.py
fileutils.py
fixture
gettextutils.py
importutils.py
__init__.py
local.py
lockutils.py
log.py
strutils.py
uuidutils.py

openstack/solum-infra-guestagent
config
gettextutils.py
importutils.py
__init__.py
jsonutils.py
local.py
log.py
strutils.py
timeutils.py

Project Teams

Chef OpenStack

The Chef cookbooks do not use any Python code directly, they consume upstream packages, and thus are not affected by this goal.

Planning Artifacts:

None

Completion Artifacts:

None

Community App Catalog

The Community App Catalog does not rely on oslo-incubator or openstack/common.

Planning Artifacts:

None

Completion Artifacts:

None

Documentation

Planning Artifacts:

The Documentation tools do not use anymore Oslo libraries. We had one references to openstack/common, cleaned up by the patch listed below.

Completion Artifacts:

I18n

OpenStack I18n does not use oslo-incubator or any openstack/common modules.

Planning Artifacts:

None

Completion Artifacts:

None

Infrastructure

Planning Artifacts:
Completion Artifacts:

OpenStack Charms

Planning Artifacts:

Completion Artifacts:

OpenStack UX

OpenStack UX does not use oslo-incubator or any openstack/common modules.