- Ceiling of pbr version can create installation conflicts with pip.
- Fixes tox default env list to be python version agnostic
- Updated template to use newer jobs (include testing with newer python)
Bug: #1921679
Change-Id: Ifd0d2f810799992faa1db41b80bf93bc97d5d19d
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
All the openstack services support being installed into their own venv,
or into a common one. why not these two? This should cut some time off
builds.
Change-Id: Iab90372ba84993da6a2cb600ce1fef6fc073d3f6
Migrating install-packages commands to package-installs-* scripts where
possible.
This patch is broken up into multiple parts to minimize impact and
review overhead.
Change-Id: Idd1be32149e7238d53d04a34170c5029dda83f1f
We were installing some packages with support for prerelease versions in
expectation of needing it in our CI. This turns out to not be needed so
we should remove it.
Change-Id: I7ae440d3534e33144942c2230a88cf54f8a153d3
This reverts commit d088fde2ea.
Since the underlying problem with argparse has been resolved
in python 2.7 and filtering out argparse for python 2.6 has been removed,
there is no longer a need to explicitly install argparse for python 2.6.
Closes-bug: #1346364
Change-Id: If9534bf5a4400f5f72475c67a8e6e14da08f9562
Since RHEL 6.5 uses Python 2.6, which lacks argparse,
they need to be installed to ensure that os-apply-config
and os-refresh-config work properly.
Change-Id: I80dcce56d00fc6f1240a5fcccd425cc2b4db29d5
Change last references to os-config-applier (scripts, file names and
documentation) in os-apply-config element.
Change-Id: Ifa46522a48668adcef0d1fd5d28d2fc85141dce5
Specify pip install --pre so that local git built packages will be
installed if available. It should be possible to always specify
--pre since public repos do not have snapshot release packages for
these tools
Change-Id: Id2e539ba72ac2ef8d39a3ab694991e9b8bf724d7
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:
- os-apply-config
- os-collect-config
- os-refresh-config
- os-svc-install
- pacemaker
- pypi-mirror
- qpidd
- rabbitmq-server
- snmpd
- stackuser
- tripleo-cd
Change-Id: I3f365f6a1cd6fd9e56402ad3bd6572192b85d798
This reverts commit bf95d722f0.
I hate to be a wet blanket but this is a workaround for lower layers
of the design not being powerful enough - we'll have to repeat this
for other similar elements, such as nagios, and thats poor - plus
we'll have to support this once its in a release, and thats
undesirable.
Change-Id: I0c1aca7f64e4aa0f60c5c24000282cdaa2678c2b
This allows elements to override the templates provided by other
elements using templates in post-os-apply-config. For example, the
logstash element provides a very basic logstash.conf. This change allows
another element to easily substitute a more useful version.
README.md has been rewritten as it was fairly sparse to begin with.
Change-Id: I14a103bf16554dc42b9c8ba1d4fefcacf6f07786
This updates the source install scripts for os-apply collect and
refresh config elements to activate their virtualenvs before
performing pip installs, as without this specifing a manifest for
e.g. os-apply-config breaks devtest build
Closes-bug: #1305151
Change-Id: I3c42de180f76fb122637c801541f14e50169de89
The os-apply-config and os-config-applier directories are empty other
than 1 hidden file in each. This appears to be the case just so that
they will exist when the rsync commands run to install the templates
into the image. It's possible the directories won't exist otherwise if
no elements provided any templates.
Instead of using empty directories and hidden files to force them to
exist in git, just check for the existence of each directory before
running the rsync commands.
Change-Id: I0f286a28601c292b5f70258747def36a08d93a87
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
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
Creating $TEMPLATE_ROOT is common to both os-apply-config package and
source installs, so move it into it's own install hook script under
install.d.
Change-Id: Iba79129cd111c144f67efabb93d4eb81641d1c2c
Package install support for:
* os-collect-config
* os-refresh-config
* os-apply-config
This change requires a corresponding change to dib to move the install
type enablement out of source-repositories since the os-*-config
packages do not use source-repositories:
cccdcb904d485fce92443edbb088740e074c3046
Change-Id: I22672a4312152ab594de2a149e16866c7564e3d4
We install pip with get-pip.py and use this to install virtualenv. This
is done as part of the new pip-and-virtualenv element. All elements that
need pip or virtualenv should use this element to install them.
Our motivation is that we need to talk to a pypi mirror generated with
a recent http://github.com/openstack-infra/pypi-mirror This mirror
caches some 'wheels' that the previous version of pip & virtualenv
can't install.
virtualenv contains its own version of pip that is used for all
virtualenv environments.
Change-Id: I282fd8fffc8d5707a078f78f2b4571138d7266f3
Moustache can't render binary files, and open editor sessions can
create such things which were being copied into the built tree.
Change-Id: Ie1c5861e89af5f6aa2202800accd7e2099c953ec
Closes-Bug: #1224728
By default, virtualenv embeds setuptools, and doesn't download its
latest version. At the moment, latest virtualenv is 1.10.1, which does
install setuptools-0.9.8
Unfortunately, setuptools-0.9.8 doesn't manage correctly HTTPS
certificates if the user is specifying a proxy with https_proxy and
http_proxy environments variables. This can raise an error if the
server to download is having TLS2_3 HTTPS certificate, by example when
pip installing python-novaclient, whick asks for
https://pypi.python.org/simple/pbr
Fixes: bug #1201253
Change-Id: I7cca000857f7691d4cb723d0a0c22a202da703f8
Due to the older python distribute still shipping on Fedora, Ubuntu,
and other distros, os-apply-config can not be installed with pip
install -U. This change installs os-apply-config in a virtualenv
instead, so that it's in an isolated environment. os-apply-config and
os-config-applier are symlinked under /usr/local/bin so that all calls
continue to work.
Change-Id: I50d7147cf74a36bbe7751d545c353ac354bdd189
This is being done to reduce confusion between os-refresh-config and
os-config-applier. In order to make the transition smooth, all this
patch does is rename the element, install the now pypi available
os-apply-config, and support both the old and new directory names
for templates, allowing incremental migration of users.
Change-Id: I8c4c7679799f4e8b436ce766791f45f4c81d75f2