2379 Commits

Author SHA1 Message Date
Paul Bourke
58bc097ff2 Allow heat on a dedicated node in a HA setup
Without this the haproxy role doesn't have the facts it needs to
render it's template, resulting in the following error:

TASK: [haproxy | Copying over config(s)]
************************************** fatal: [control01] => {'msg':
"AnsibleUndefinedVariable: One or more undefined variables: 'dict
object' has no attribute u'ansible_eno1'", 'failed': True}

This is similar to the fix applied previously for other services in
I99b7dbebd5a6193e192ee258ddf576d18db90ed7.

Change-Id: I279374e8861c02e3aa12988b885be7361e0cf2f5
Closes-Bug: 1524739
2015-12-10 11:20:25 +00:00
Jenkins
6316279278 Merge "create path, /var/lib/nova, in nova-base" 2015-12-08 15:19:40 +00:00
Jenkins
be571bb4cb Merge "Run libvirtd as root" 2015-12-08 15:19:09 +00:00
Jenkins
f35bdeeb2b Merge "Install plugins in neutron-server if available" 2015-12-08 10:18:38 +00:00
Jenkins
b121d3cf3b Merge "Allow fetching plugins as part of the build" 2015-12-08 10:17:46 +00:00
Jenkins
8ee78949ff Merge "Update Vagrant's Ubuntu box provisioning script" 2015-12-08 10:00:14 +00:00
Kuo-tung Kao
6e1363ba17 create path, /var/lib/nova, in nova-base
Without root privileges, nova process can't create and access the path,
`/var/lib/nova`.
Create the path and change the permission.

Change-Id: I6e5650298041b672bf386c50ccb68a6a80f9de43
Closes-Bug: #1523753
2015-12-08 16:06:05 +08:00
Jenkins
bfa2ea6c1c Merge "Fix typos in kolla/doc" 2015-12-07 19:36:37 +00:00
Michal Rostecki
2e67b2790b Run libvirtd as root
Currently we are not creating any non-root user for running
libvirt daemon. That should be done in the future, but currently
when we don't have such a user, libvirtd should be runned by
root.

Change-Id: Ieb0d8bd068b591f522548628b0bfffbe206b749e
Related-Bug: #1523630
2015-12-07 19:46:26 +01:00
Jenkins
fdd920eac4 Merge "Add Python 3.x support in set_configs.py" 2015-12-07 15:23:36 +00:00
Diogo Monteiro
c7297e04c1 Update Vagrant's Ubuntu box provisioning script
Starting from Vivid Ubuntu uses systemd as the
default boot manager instead of upstart. Updating
the way the docker daemon is configured to follow
the systemd way.
Setting env variable GUNICORN_OPTS=[--preload]
to fix race condition and avoid IntegrityError
when pushing images to local registry

Change-Id: I841f85015c2c3683ef7e1e454ec1369263063c45
Related-bug: https://github.com/docker/docker-registry/issues/518
Closes-Bug: #1523336
2015-12-07 10:18:40 -05:00
Jenkins
0183dd9e61 Merge "add ubuntu dependency for vagrant" 2015-12-07 12:11:16 +00:00
Michal Rostecki
dab8cae9b2 Add Python 3.x support in set_configs.py
Change-Id: I348c69e5411135da8434e9278a48a5777ff2a72d
Partially-Implements: blueprint python3
2015-12-07 09:41:31 +01:00
Michal Rostecki
7670611aa4 Exclude .eggs from pep8 checks
Change-Id: I11f5af83fc602332f6c9ac39f4c22731f8e84161
Closes-Bug: #1523365
2015-12-07 08:25:57 +01:00
Kuo-tung Kao
09345bf127 add ubuntu dependency for vagrant
add ubuntu dependency for vagrant

Change-Id: I96161dd34b68795c2d78312f160579706a6bab86
Closes-Bug: #1515548
2015-12-07 11:13:19 +08:00
Jenkins
30b0439c65 Merge "Drop root for nova" 2015-12-05 10:48:25 +00:00
Jenkins
0c8956ecf3 Merge "Drop root for cinder" 2015-12-05 10:37:13 +00:00
Mitsuhiro SHIGEMATSU
897cdf900d Fix typos in kolla/doc
Change-Id: I17b4b40a6c49210faa535bdf3032c000daae0e2e
2015-12-05 17:06:58 +09:00
Jenkins
939b464d12 Merge "Add support for copying files from a "zk://" source" 2015-12-04 17:04:59 +00:00
Jenkins
7ace0155b8 Merge "configure ovs bridge in openvswitch-db container" 2015-12-04 01:39:50 +00:00
David Moreau Simard
271de22a73 Add Aodh and Tempest to the list of provided images
Aodh provided by I4daf2160fe6743d62e6874f9fe032d37c9db90b7
Tempest provided by I1877c03d0804e57d274044aecb1055f847025bec

TrivialFix
Change-Id: Idb25e5872d6546b5c59424d393275c9a1e8dc8c8
2015-12-03 16:02:49 -05:00
Sean Mooney
9ce814619a configure ovs bridge in openvswitch-db container
- this change moves the ovs_ensure_configured.sh  file to the
  openvswitch-db container.
- this change reorders the plays in ansible/roles/neutron/tasks/start.yml
  to configure the ovs bridges before starting the vswitchd container.

Change-Id: Ied1a82d48377534c15680406df9a96caf3b79515
Closes-Bug: #1522133
2015-12-03 20:13:21 +00:00
Jenkins
cb73c6b7c0 Merge "Sanity check for glance" 2015-12-03 17:03:11 +00:00
Jenkins
dcb88fa572 Merge "Sanity check for keystone" 2015-12-03 17:03:01 +00:00
Jenkins
af6c80db01 Merge "Drop root for murano" 2015-12-03 16:55:48 +00:00
Swapnil Kulkarni (coolsvap)
3ef57a9ed6 Drop root for nova
Updates to ensure commands run in the nova containers
are done as the 'nova' user rather than root.

Change-Id: I0dd0276c2848ad77d92d350dfa0f20161329ed55
Partially-Implements: blueprint drop-root
2015-12-03 20:01:41 +05:30
Swapnil Kulkarni (coolsvap)
6f2fbe933e Add support for Aodh
Aodh is replacement for OpenStack Ceilometer Alarming
service.

Change-Id: I4daf2160fe6743d62e6874f9fe032d37c9db90b7
Partially-Implements: blueprint add-aodh
2015-12-03 19:59:04 +05:30
Jenkins
c21ac63691 Merge "Set docker api version to auto" 2015-12-03 11:39:43 +00:00
Jenkins
c3906fabba Merge "Sanity check module" 2015-12-03 10:30:56 +00:00
Artur Zarzycki
dc2ad7d134 Set docker api version to auto
Change-Id: I25d957a2368fa4e52b5fa9253d7ea5ec4046d830
Closes-Bug: #1521949
2015-12-03 11:28:21 +01:00
Sean Mooney
2ffb35ee53 adds tools/cleanup-containers regex support
- this change extends the tools/cleanup-containers script to
  support a grep extended regex as a first paramater.
- if tools/cleanup-containers is called with a grep extended
  regex string as a first paramater, only containers mataching
  that regex will be cleaned up.
- e.g. tools/cleanup-containers "neutron|openvswitch"
  will cleanup all container whoes name contains either neutron
  or openvswitch.

Change-Id: Iadb68c0a8de40e9ec2c0a27568e3a372ec0e8303
Closes-Bug: #1522168
2015-12-02 23:01:42 +00:00
Michal Jastrzebski
aab1bd36c8 Sanity check for glance
This runs first sanity check for glance. After glance is deployed
it checks images.list(). Also consist few fixes for previous patches

Change-Id: I03d05d246302d8411b2e94c94ca7fe046c00d735
Partially-Implements: blueprint sanity-check-container
2015-12-02 14:19:01 -06:00
Michal Jastrzebski
f632cfe878 Sanity check for keystone
This runs first sanity check for keystone. After keystone is deployed
it checks tenants.list()

Change-Id: Ie919ffe6124eb70428309404a434d9b0eb0b9f70
Partially-Implements: blueprint sanity-check-container
2015-12-02 10:27:36 -06:00
Michal Jastrzebski
d6f78f0610 Sanity check module
This module will be collection of basic checks to ensure that module
is running. After deploying service (like keystone) we will run sanity
checks for given service.

Change-Id: If7dc7f8a1ce1c3f93fc51d8327a55ef655b0de00
Partially-Implements: blueprint sanity-check-container
2015-12-02 10:22:30 -06:00
Jeffrey Zhang
b3a695e934 Remove the meaningless comment line in base image Dockerfile
Use jinja2 comment syntax instead.

Closes-Bug: #1521932
Change-Id: Ida5a9204e7affe880ac6156d3fed3206b1eae7b9
2015-12-02 20:37:32 +08:00
Angus Salkeld
27c0ae0624 Add support for copying files from a "zk://" source
Co-Authored-By: Michal Rostecki <mrostecki@mirantis.com>
Implements: blueprint zookeeper

Change-Id: I176f063d3802716846b921e210c1569d28bd90d8
2015-12-02 10:25:43 +01:00
Swapnil Kulkarni (coolsvap)
a8661deac6 Drop root for cinder
Updates to ensure commands run in the cinder containers
are done as the 'cinder' user rather than root.

Change-Id: Ibbe04e3a92195dfb957fa56f762c60a80dbe30ca
Partially-Implements: blueprint drop-root
2015-12-01 09:20:46 +05:30
Jenkins
917b4df01e Merge "Fix the confused comment in the base image Dockerfile" 2015-11-30 10:42:07 +00:00
Jeffrey Zhang
ce05819d6c Fix the confused comment in the base image Dockerfile
Use jinja2 comment syntax instead.

Closes-Bug: #1521078
Change-Id: I261f7bdd9e1286b4ad71fc4529228449ffe21af2
2015-11-30 10:03:13 +00:00
Paul Bourke
acb13dc5b9 Install plugins in neutron-server if available
Implements: blueprint neutron-third-party-plugins

Change-Id: I56c56bacd2f06c120b14b00c0b97dd4e39c0afc0
2015-11-30 10:01:06 +00:00
Paul Bourke
2581e3099c Allow fetching plugins as part of the build
This change allows additional archives to be fetched as part of the
build and added to images.

An example use case is the installation of plugins for neutron. For
example, to add the networking-arista plugin to neutron-server, one
would do the following in kolla-build.conf:

[neutron-server-plugin-networking-arista]
type = url
location = http://tarballs.openstack.org/networking-arista/networking-arista-master.tar.gz

The format for plugin sections is <image-name>-plugin-<plugin-name>

The required Dockerfile additions will be added in the next patchset.

Background to this change:
https://review.openstack.org/#/c/207545/3/docker_templates/neutron/neutron-server/Dockerfile.j2

Related: blueprint neutron-third-party-plugins
DocImpact
Change-Id: Idec2ca9fd06163c7d820e8c4bc9ebca8d9673856
2015-11-30 10:00:53 +00:00
Swapnil Kulkarni (coolsvap)
2a491b9896 Drop root for murano
Updates to ensure commands run in the murano containers
are done as the 'murano' user rather than root.

Change-Id: I558c46b032f11b83a9dc6b5abc158aa6d24ec0eb
Partially-Implements: blueprint drop-root
2015-11-30 11:36:02 +05:30
Hui Kang
1c9056bcb6 Output unique admin id of user and project list
Change-Id: I8983768b6fafdd70f4c8aa7bdcf91af4f50efe70
Closes-Bug: #1520982
2015-11-29 20:17:19 +00:00
Jenkins
b0159f7ec9 Merge "Install yum-plugin-priorities on RHEL-derivatives" 2015-11-29 03:04:13 +00:00
Hui Kang
afb30cbebd Remove openvswitch_data container in the cleanup script
Change-Id: Iec94e254e8df501005fd3660c80e3c2eefbb05bb
Closes-bug: #1520833
2015-11-28 16:30:00 -05:00
Jenkins
61550cefac Merge "Source installation in virtualenv" 2015-11-27 19:27:42 +00:00
David Moreau Simard
a9d570695a Install yum-plugin-priorities on RHEL-derivatives
RDO provides all of the OpenStack services, clients, libs and their
dependencies self-contained in it's repositories.
We have had users that were impacted by sudden updates from EPEL
when it was enabled because EPEL provided a more up-to-date version.
Packages may also be found in both the delorean and delorean-deps
repositories. yum-plugin-priorities will ensure the right package
candidates are chosen for installation.

Change-Id: I043ec1f60381dc7f5baab5f320ed5f1edde8ae82
Related-bug: https://bugzilla.redhat.com/show_bug.cgi?id=1284978
Closes-bug: #1520620
2015-11-27 15:21:58 +00:00
Jenkins
f294b5ce29 Merge "Unblock the gate for ceilometer-alarm failures" 2015-11-27 15:01:38 +00:00
Michal Rostecki
febcb600f1 Source installation in virtualenv
Use virtualenv for installation of OpenStack projects and
dependencies to avoid conflicts with Python libraries installed
by non-OpenStack binary packages.

Change-Id: I21ecd673b2e93335b1d3dd4e279e940c9d694c3c
Implements: blueprint virtualenv
2015-11-27 10:22:17 +01:00
Jenkins
563b561269 Merge "Add new image for tempest" 2015-11-27 09:02:21 +00:00