- 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
In Ubuntu Focal there is no package named 'python-dev'.
This patch maps this to 'python3-dev'.
Change-Id: I2ea41c36d13748dd5a375853b26aacfc63c1bd48
Signed-off-by: Andreas Florath <andreas.florath@telekom.de>
Closes-Bug: 1865328
In opensuse the service files are located in /usr/lib rather than /lib. This change adds this path
as an option.
Change-Id: I99c2db557a2290c3860bb41233d7efc35d03be0b
This change makes /etc/os-collect-config.conf only readable by root
when os-apply-config overwrites it with credential-containing content.
The credentials are only good for fetching metadata for the server, but
that metadata itself may contain secrets which should be hidden from
non-root users.
Change-Id: I0819ea94afe769d572f03d415dcce164b5f2ccef
Closes-Bug: #1463409
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
This modify the template of os-collect-config.conf to be able to
specify zaqar configuration.
blueprint software-config-zaqar
Change-Id: Ie1245b912d5e2a1d4c772dc446016f6f00830bcb
This change adds the required o-a-c template section
to configure os-collect-config for the request collector.
This allows heat deployment data to be polled from a swift
TempURL.
Change-Id: I3fb821dbdbe42b5195fa90c2b85f14eaa41d9ead
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
This allows os-collect-config to pass a ca_certificate when making
requests to an SSL metadata server.
Change-Id: I06056c0d3a4f26f7483980305898e4e2b1e08c6e
When using packages with the tripleo-image-elements
os-collect-config is no longer started on boot causing
things not to be configured at all.
This was a regression in dad3c0ccf1
where we made global use of package installs within the TripleO
image elements.
Change-Id: I001c3d24882b3a4817cac767a8b7535d6b9cf247
Closes-bug: #1392751
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
We pinned requests to not use version 2.4.0 due to a bug in requests.
2.4.1 has been released now which fixes this issue.
Change-Id: I53f6ff92400b30e9faee186ae8fee9e4e6d0b127
Since we already have a wrapper script for enabling services called
os-svc-enable, drop all direct usage of systemctl enable, replacing
it with os-svc-enable.
Also drive-by replacements of == with =. == is a pattern match.
Change-Id: I707bf6f02207308e8f61caff17a27b0697096359
o-c-c registers it's "collectors" config param as a MultiStrOpt, rather
than a ListOpt. The required configuration file format for this type of
option is:
[DEFAULT]
collectors = heat_local
collectors = ec2
collectors = ...
Change-Id: I35063c75781f855883b02e1e0438b8cc08475ced
Logging to an upstart logfile results in log entries that are not
associated with a timestamp(e.g. os-collect-config). This isn't
consistent with the log files produced in other openstack CI tests
and means we can't index them in logstash (at least consistently
with how the other projects are indexed).
As a result of this we will need to remove the double time stamps that
get produced (by taking them out in each of the services configuration)
and extract the log at the end of CI into per-service files so that we
can selectively index the files we want.
In particular the service that doesn't contain timestamps in all of the
log entries is os-collect-config which is arguably one of the most
important service logs we want indexed. We could simply just divert this
service alone to syslog but doing them all is more consistent with other
distros and how this will presumably work when ubuntu moves to systemd.
Change-Id: Ib8c1fc39d56b2b9c6d8e9b64a868def619aa2f1f
This patch add a section to the os-collect-config.conf template so that
the 'heat' collector can get proper configuration arguments.
Change-Id: I070929fd3cee6683b9ec1f9b6772f9fb076f835b
Closes-Bug: #1334581
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
Since I43fd90647acba400cea11c665fb587856514b0ee dib-lint
ensure the elment-deps file is properly sorted.
Change-Id: Ie0347951d99a227fe60530645eeda0f4aa55c325
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 packaged os-collect-config does not automatically enable the
os-collect-config service, this adds a step to do so.
Change-Id: Ifa536e5e0570ea7c7513f6e722d85ca6776b99a8
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
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
Need to use setuptools>=1.0 in order to get fixes which
allow fetches of dependencies from pypi to work correctly
when operating behind a proxy.
Ref: https://bitbucket.org/pypa/setuptools/issue/52/ssl-errors-with-https-proxy
and also some prior fixes to bug #1201253 in change id
I7cca000857f7691d4cb723d0a0c22a202da703f8
Change-Id: I3f11b4b9b8d2bd59f32c5d4de5ee58f1423287f5
Fixes: bug #1201253
We had been installing this from a git repository into the global site-packages.
Which is inconsistent with how we install os-apply-config.
Change-Id: I262f1159ca58d6e225567d718460f78474f2db48
os-collect-config is installed in /usr/bin. This adjusts the systemd
service file accordingly to make it work for openSUSE. On Fedora the
wrong path didn't cause any problems because /bin is just a symlink to
/usr/bin there.
Change-Id: I2f02b12f9667920196084ee0abef1c9f676d413a
Flesh out some details about the hoops you need to jump through to
integrate the cfn collector into a heat template. This info could
probably live somewhere else, but I figure adding here is a reasonable
starting point.
Change-Id: I163a4a7cc665292a814a693f83f947bb2b280970
These aren't needed during an image build and keep getting
copied each time a new service unit is added.
Change-Id: I498a229b69e78a3eca06bf8691c13157ecd6739d