Commit Graph

11 Commits

Author SHA1 Message Date
Steven Hardy c653eaee1c Remove unused elements
Most elements in this repo are old, untested and no longer used, so
remove all those we're not using (as proven via CI).

I think there are some remaining things we build into the images but no
longer need, but those can be handled via follow-up patches.

Change-Id: I221c5a3f82a2500c90646fc69439a210cf64e5e1
2017-04-12 13:21:03 +00:00
Derek Higgins 85c68ffc75 Update pbr version to match global requirements
The version of pbr we were using was having trouble parsing a new version
identifier for python-qpid, We have the pbr version hardcoded in many
places so update it to match whats currently in global-requirements.

Fixes bug #1470871
Change-Id: Ia5aec472555ad1368684b224a55c29242ae40b58
2015-07-02 16:53:06 +01:00
Gregory Haynes d338bce587 Remove setuptools <8.0 pinning
This was added in If3300a6b1ef1c633fc339f884e9dab0d82bc0720 and should
be removed now that the new setuptools version fixes our issues.

Change-Id: I3ded4f83918d74ca91a8c7a4aede9ef4d1d7a489
2015-01-05 09:44:26 -08:00
Gregory Haynes 01694b1547 Pin setuptools to <8.0
Setuptools 8.0 changed the way it parses version strings and many of our
openstack packages break when using it. Pinning this for now until our
packages are fixed.

Closes-Bug: #1402305

Change-Id: If3300a6b1ef1c633fc339f884e9dab0d82bc0720
2014-12-14 10:54:37 -08:00
Jenkins 701bf0e912 Merge "Issue in openstack-client that stops nova being in a common-venv" 2014-07-14 19:33:40 +00:00
Gonéri Le Bouder e73cbc8e2b indent using 4 spaces (2/3)
As advised in I072cf8bf6748d0c910fecffdf2282bcc4656d038, code should
use 4 spaces for indentation.
This commit enforces the use of 4 spaces indentation.
In order to simplify the review process, this patch only cover the
following elements:
 - nagios3
 - network-utils
 - neutron-openvswitch
 - nova-api
 - nova-baremetal
 - nova-compute
 - nova-kvm
 - openstack-client
 - openstack-db
 - openstack-ssl

Change-Id: I489746d384c0c2c5a4f2b12444606e3bf8e3ce11
2014-05-23 00:30:26 +02:00
Michael Kerrin a0a7a747b1 Issue in openstack-client that stops nova being in a common-venv
Install the openstack client libraries with 'pip install .' and
not python setup.py develop. The reason for this is that
python setup.py develop had the side effect of changing the
python path inside the virtualenv causing the problems whereas
pip install . doesn't.

I also want to delete the /opt/stack/python-client git directories
later.

Change-Id: Idc68e85c68f1c423f083e656d65d1654688dc84b
2014-05-20 11:27:10 -04:00
Dan Prince 923c096d22 Openstack-clients: don't hard code venv
Updates install-openstack-clients so that it parses args rather than
using positional parameters.

Updates the various source install elements so that we use a
new {CLIENTNAME}_VENV_DIR variable (set via an environment.d hook)
to configure the virtualenv directory. The in element default is
the same as before (/opt/stack/venvs/python-clientname)

We also add support for controlling the virtualenv
--system-site-packages options by passing -s to the
install-openstack-client bin. This is externally
controllable by setting the {CLIENTNAME}_EXTRA_INSTALL_OPTS
variable. (defaults to "")

This is cleaner in that we aren't hard coding /opt/stack/venv
everywhere and also supports both isolated and shared
venvs (which some people would like to use).

Change-Id: Ieb90be14a5fb1a644d253777d6468870995372b0
2014-04-19 08:08:45 -04:00
Jon-Paul Sullivan 1c998eb93f Create pip manifest files of installed packages
Create the pip-manifest element to encapsulate the saving and use
of pip manifest files.

Ensure that it installs prior to any elements that should be able
to use it.

Write pip manifest files for installs in:
    * os-svc-install
    * os-apply-config
    * os-collect-config
    * os-refresh-config
    * openstack-clients

Enable using a manifest file to reinstall exact versions of
packages in a subsequent run through the DIB_PIP_MANIFEST_*
environment variables.

Change-Id: I4d4ab5921c534727b48cb9969ec8ecfd2c26e6ed
2014-03-25 12:22:59 +00:00
Gregory Haynes aa62d27972 Explicitly install pbr via pip
When a pypi mirror is used with certain conditions installing pbr as a
dependency fails.  This is a temporary fix until the underlying cause
is resolved.

This is also required for a wheels based pip mirror to work.

Change-Id: Ia08eb16b96d9897fa2f86239ea264b145ef0b9b5
Closes-Bug: #1293812
2014-03-24 12:43:01 -07:00
James Slagle a77fb4e7ac Add package install support to openstack-clients
Each client has its own install type directory. This is needed because
of the multiple repositories with different names in
source-repository-clients.

The client install logic has been refactored into the
install-openstack-client script so that each source install can reuse
it.

An alternative implementation would be add the ability to the
source-repositories element to support an alternate repo override name
for elements that have multiple entries in their source-repository
configuration. For example, the source-repository file for
openstack-clients is called source-repository-clients. We could add
support to look for a clients-source-install or clients-package-install
directory. However, we'd lose the ability to mix source and package
install types from the same element. Given that, I went with the
implementation here.

Note that the ironic client is not broken out by install type, because
there are no packages that yet exist for it.

Change-Id: I2700490d139db47b69dd0f30cd46d9d7e72b7809
2014-01-24 16:32:38 -05:00