Commit Graph

12 Commits

Author SHA1 Message Date
Ghanshyam Mann a43311b7ef Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic209179b0be9c3746a702ccea2dd35e883e78bee
2024-02-24 11:43:49 -08:00
Yolanda Robla Mota b9fb5326fd Copy map-services script to tripleo elements
map-services will be removed on dib v2 branch, but
tripleo still relies heavily on it. To prevent breakage,
copy the script to the internal element using it.
In the future, all elements will need to be migrated
to new svc-map, but it is a massive change.

Change-Id: I9f450de66044123ab07fa498b68f744d1029089a
2016-12-05 12:37:17 +01:00
Gregory Haynes 9edecd320a On ubuntu break app logs into their own files
Currently on ubuntu we are sending all app logs to syslog which munges
them all together into /var/log/syslog. This makes debugging a somewhat
painful experience.

Change-Id: I89f9ddc168f08b90cece7cf5af2e032b2c4f5371
2014-09-02 14:03:36 -07:00
Jan Provaznik 195ad9d595 Adds mysql-dev and mariadb-dev elements
It have to be separate elements because installation differs depending
whether mysql or mariadb is used.

Change-Id: I9299b8e21a5ea2ff13ab9f11d851703a67c6b130
2014-03-26 21:22:31 +01:00
Michael Kerrin 09e1abdfdc Install latest version of pip and virtualenv
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
2014-03-10 10:06:59 +00:00
Clint Byrum d9cec3c1ae Pin virtualenv to 1.10.1 to work around pip bug
If 1.11 is used with --system-site-packages pip won't be installed in
the virtualenv, leading to an activated virtualenv not using pip and
thus not installing anything into the virtualenv.

Change-Id: Ic9907438b17ca9a32fbeccc4ca806b8b43f41cd1
Partial-Bug: #1266513
2014-01-06 14:58:54 -08:00
Dan Prince 4e482c192a Enable services with os-svc-enable
Split out the code which enables services to start on boot into
a new os-svc-enable script. This script is currently called by
os-svc-deamon so that services automatically start on first boot
(as is the case with os-svc-install)

The motivation here is to decouple service installation and enabling
so that we can eventually avoid starting services on first boot
until after they are configured. Auto starting services on boot like
we currently do is causing lots of log ERROR messages, etc.

Change-Id: I66d4660c169f5918e924eab1876134891c3a24a1
2013-12-12 10:26:42 -05:00
Clint Byrum d359aed182 Add a service enable/disable mechanism for upstart
Upstart doesn't have its own service enable/disable mechanism. We are in
need of a facility to enable/disable services without writing to /etc at
runtime to enable a readonly root for image based updates. This command
will be used by later changes to have a generic service enable/disable
mechanism for all init systems.

Change-Id: I931281988aa746f93de190794f68f4c9e628db19
2013-12-10 20:55:31 -08:00
James Slagle c0dc6a6534 Handle distribute -> setuptools migration.
Running just 'pip install -U distribute' can leave setuptools in a
half migrated state on Fedora/RHEL/CentOS.  Following it up with 'pip
install -U setuptools' corrects the problem and leaves you with
distribute 0.7.3 and the latest setuptools.

Change-Id: I3652e84fcfdc39065b6b86fc85b6b6602601d7e9
2013-08-05 15:16:46 -04:00
Robert Collins 55a73361ff Fix os-svc-install outside of boot-stack.
os-svc-install is meant for any image, not just those installing a new
cloud, but it was only working so far because we've only been building
boot-stack images routinely.

Fix bug 1198701.

Change-Id: I4fd170333bb36b5bf9b0c33e224c43db2d4235f5
2013-07-09 07:45:25 +12:00
Tim Miller 6cfd9681b7 Seperate install of services and start scripts:
This allows openstack services to be git/pip installed
without installing any startup scripts.

This is useful for keystone-db or nova-db elements, for
example, where the service must be installed to perform
database migration, but no service start scripts need
be installed.

Additionally, add a tool to create openstack sql databases.

Use openstack pypi mirror:

Use the openstack pypi mirror for openstack service
installation. It's much faster than pypi.org.

Also, pip install $svc_repo/tools/pip-requires first,
if it exists, which is required to pick up oslo.config.

Change-Id: I72751d4da59f8597d20aea2f27a9dfabe2f63a8f
2013-03-07 11:45:41 -08:00
Tim Miller 56e50ee5cf Consolidate common OS installation into a script:
Move common openstack service installation operations
into a new script `os-svc-install`, which simplifies
the elements for openstack services.

Change-Id: Ied8ac3278e7fe8af76e24748ec4e598a84afa03c
2013-02-13 11:06:00 -08:00