827 Commits

Author SHA1 Message Date
Jenkins
91bc4b094c Merge "Allow arbitrary source archive name to be imported into Dockerfile" 2015-09-04 06:24:28 +00:00
Sam Yaple
3487d8da14 Rename Galera to MariaDB
Change-Id: I3134ba72e2ce4e85a17facbc3b5af4c1c3438d33
Closes-Bug: #1491740
2015-09-03 21:00:23 +00:00
Vladislav Belogrudov
c22cf33268 Allow arbitrary source archive name to be imported into Dockerfile
Currently we cannot import source archives with names different
than expected by hardcoded line in Dockerfiles. This worked well
for Openstack services' tarballs where we expected SERVICE-* root
folder after extraction or kanaka-noVNC for nova-novncproxy docker.
The latter fails if one tries to clone or get tarball under other
names. This fix allows any archive (tar,tgz,zip) or repo name to be
imported into dockerfile.

Change-Id: I869a6a19afaf0e93925572746c22b7589b6600c9
Closes-Bug: #1491415
2015-09-03 16:49:50 +03:00
Sam Yaple
9d3f3f28e2 Create openstack-base container
This creates and moves the dependencies for Ubuntu into a common
openstack-base container. This commit shows dramatically smaller
sizes for all non-openstack containers. The Openstack container remain
the same size.

Change-Id: I2f46420d4b9edcfddda374caddcce906fc708f6c
Partially-Implements: blueprint openstack-common-container
2015-09-03 10:37:45 +00:00
Sam Yaple
1cbfbcc48d Reduce install size
This is a trade-off, it increases the base size some _but_ it
decreases the total size by a few hundred MB.

Partially-Implements: blueprint openstack-common-container

Change-Id: I1216deed122aa734e0c84325264a53711d94ea4c
2015-09-03 09:31:07 +00:00
Jenkins
3493717517 Merge "Source based builds should get novnc from tarball (git/url)" 2015-09-02 09:32:12 +00:00
Vladislav Belogrudov
f24e80d7e6 Source based builds should get novnc from tarball (git/url)
Source based centos, fedora and oraclelinux install novnc via
rdo repository while ubuntu and debian get novnc from github.
oraclelinux source build cannot use rdo, also using novnc tarballs
can be expanded to all distros.

Change-Id: I236dd5c36380e0592fceae4f4e1c28fe97dec1e7
Closes-Bug: #1490893
2015-09-02 11:38:21 +03:00
Jenkins
d4fc93d883 Merge "rsyslog container" 2015-09-01 14:54:23 +00:00
Steven Dake
7cd1cb7081 Register internal_url properly
The external url was being registered in the Keystone service
with the internal_url contents.  Fix that problem.

Change-Id: Ie134be4bf9e76b8bc085de2e31561a72b647c024
Closes-Bug: #1490867
2015-09-01 01:09:42 -07:00
Sam Yaple
3f1a3c386a Fix mysql permissions
Closes-Bug: #1489537
Change-Id: I6544398f8cebe2a0d1bec6db2a75a9f8651f5d6f
2015-08-31 12:45:29 -07:00
Jenkins
bdf6c7c44d Merge "Make Horizon work on centos+binary" 2015-08-31 19:36:05 +00:00
inc0
1dfa9c79f9 rsyslog container
First container from logging stack

Change-Id: I8c8b6743e22a38969cb8a741f3176c5aed24f549
Implements: bp logging-container
2015-08-31 17:15:25 +02:00
Jenkins
23e289ecc9 Merge "Keystone container should use the openstackclient" 2015-08-31 11:12:29 +00:00
Jenkins
be230d47eb Merge "Add Ansible support for Heat" 2015-08-31 11:12:24 +00:00
Jenkins
3f5b601303 Merge "make nova-libvirt is child of base" 2015-08-31 06:54:24 +00:00
Sam Yaple
229bc52eee make nova-libvirt is child of base
Change-Id: I10677bcbb748ff99923e71ead982e778a41f2529
Closes-Bug: #1490246
2015-08-31 05:35:37 +00:00
Jenkins
c940e156e3 Merge "Fix KOLLA_CONFIG_STRATEGY in neutron agents" 2015-08-31 05:25:15 +00:00
Sam Yaple
45f625a73e Remove dest_filename from build.ini
We can, and should, figure out the filename dynamically rather than
hardcode that value in build.ini since it is not actually a
configurable paramater.

Change-Id: I496d6555e9fa356ab09e62063fd707f43ed08121
Closes-Bug: #1490386
2015-08-31 04:09:59 +00:00
Steven Dake
f2b9292973 Fix KOLLA_CONFIG_STRATEGY in neutron agents
The change from:
I01220077d8d25db5f69802ad27e745d90826d69b

In some way was lost by the gerrit.  This patch just basically
redoes that work so the neutron agents will work properly.

Change-Id: I92ac1b8601d145a0722b37eda937ee2baac7a7c5
Closes-Bug: #1489664
2015-08-30 12:44:43 -07:00
Sam Yaple
7f17203406 Keystone container should use the openstackclient
Initially it did not use this client due to the fact that the client
didn't seem to want to work in the containers. Now it works fine and
it should be used instead of the deprecated keystone client

Change-Id: Ib0e172c677e200e5df01c478b7ea257b30c0df0b
Closes-Bug: #1490126
2015-08-30 08:35:54 +00:00
rthallisey
63a7d01639 Ceph container
Running ceph in a container requires 2 pieces:
 - ceph-mon
 - objectstorage-daemon (osd)

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: I33e5baf72e4bc493889da0d796041acfd1a2cad3
Partially-Implements: blueprint ceph-container
2015-08-30 07:54:01 +00:00
Sam Yaple
2d4a261f22 Remove pam+noaudit
This version of pam conflicts with ceph-common and needs to be removed
which is fine since we now have true Ubuntu images.

Change-Id: I1e85352a869d814bc2e26b9568ac1ccc93ca899f
Partially-Implements: blueprint ceph-container
2015-08-30 07:53:57 +00:00
Steven Dake
5e521f0550 Add Ansible support for Heat
This changes bootstrapping of the Heat container to bootstrap
the Heat container with a heat domain user.  This requires some
work from bootstrap.yml to pass in several environment variables
needed by the heat domain setup script.

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: Iab05983754fa514835cb5ff54d775faa18773110
Partially-implements: blueprint ansible-heat
2015-08-29 23:58:54 -07:00
Steven Dake
f587ed3729 Make Horizon work on centos+binary
Several problems exist with Horizon on centos+binary:

1. The default setup of http binds a port to port 80 on RPM
   based distros.

2. There is no horizon user/group added causing config-external
   to break badly.

3. openstack-dashboard is installed in
   /usr/share/openstack-dashboard/openstack_dashboard. This
   is incompatible with the expectations of the wsgi configuration.

4. the target for config-external is
   /etc/httpd/sites.d/horizon.conf. It should be
   /etc/httpd/conf.d/horizon.conf

5. A workaround is required for:
    https://bugzilla.redhat.com/show_bug.cgi?id=1220070

6. Static display requires compressing the installation via
   manage.py.  To do this correctly pyscss needs to be upgraded
   because the version in RDO is broken.

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: Iabd3044906920f5cc60b9a6b320e62d1d7c9210f
Closes-Bug: #1490066
2015-08-29 09:50:52 +00:00
Steven Dake
3046d4e94f Keystone container listens on port 80 by default
A default configuration file is present in RPM distros which
listen to http on port 80 by default.

With this patch the keystone container works on centos+binary
where it did not previously.

Closes-Bug: 1490025

Change-Id: I4b5260200521e79d76eec324eb0ef026aa61b23d
2015-08-28 13:47:14 -07:00
Sam Yaple
cbd42ca6e9 Move docker_templates to docker dir
Updated build.py to reflect this change.
Deprecate --template option and make it a noop.

Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2
Partially-Implements: blueprint remove-docker-dir
2015-08-28 13:33:50 +00:00
Steven Dake
f895ee07cc Remove docker directory
Remove the docker directory (yay) and old build tools.

This will result in an f21 failing gate - however, I have a patch
submission to remove that gate from our project configuration.

Change-Id: I3c461cedb6906422c8076f60c470e773d6cdcf33
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
5c82e0c90c Move scripts for zaqar to docker_templates
Change-Id: I558b4f1d8eceb420a3bf77297bd699f277f840b1
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
26d0d8d2fb Move scripts for swift to docker_templates
Change-Id: Ia1bcc94fd58bbfec980bfacbd7acb885a17f9056
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
eef32f0353 Move scripts for rabbitmq to docker_templates
Change-Id: I6f06c067c18e4a3eafbed2b2796aa1cfe6c9b28c
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
c685119fec Move scripts for openvswitch to docker_templates
Change-Id: I04e804bb36daf53ce2eb0db804008deb7ebc6b11
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
9fe28bd220 Move scripts for nova to docker_templates
Change-Id: If00f0f2e3258b7b2876b42b4fbda3681c49c8127
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
ce86de9915 Move scripts for neutron to docker_templates
Change-Id: Ife6623aab20c4259af28d2b1374fc838b934d053
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
6434f19ef2 Move scripts for murano to docker_templates
Change-Id: I1f7090d22c33891717002297c898cf1b5ddb210c
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
eb9d7da1a0 Move scripts for memcached to docker_templates
Change-Id: I3632f7d60e5830a394cd8ac1c17941745f6f2813
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
4438d45a12 Move scripts for magnum to docker_templates
Change-Id: Ia601291c5a618315e0494ab7d0673a5062ae6b99
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
1dbb831103 Move scripts for kolla-ansible to docker_templates
Change-Id: Icde18219b7d70bde8c5ebc0a3160e2f2b61d3c56
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
a7109a1f8b Move scripts for keystone to docker_templates
Change-Id: I71ba1998215913fdffaa335c270a622af113e1da
2015-08-28 00:50:29 -07:00
Steven Dake
2cbccd7dc1 Move scripts for keepalive to docker_templates
Change-Id: I67ebbfa5a89b5d5c6ab2db78ded10151b95f7337
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
bd32c7a2dc Move scripts for horizon to docker_templates
Change-Id: If260f47ea3e4f9917cf20a6e2013cc81bfa5fc83
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
43327444ca Move scripts for heat to docker_templates
Change-Id: I22ff477865382d2612eee97390a9580d2d03f40c
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
739c2c6e3a Move scripts for haproxy to docker_templates
Change-Id: I942ba0e0ced0532fb0b575843fa170a031a8eb59
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
59138665ac Move scripts for gnocchi to docker_templates
Change-Id: Iabff693470d5b522cd82915ba3b7298d286c5fa4
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
19318667ba Move scripts for glance to docker_templates
Change-Id: I6272caf3939a2e13a4599239d85020205ff7d9e3
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
dc2869684a Move scripts for galera to docker_templates
Change-Id: I16639642d4e8bc5074d72d2f4b7fa1ec3a8f31de
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
155f5a5817 Move scripts for designate to docker_templates
Change-Id: Ic1b00c8e1b459dd3ac7a6678c58ab53171dfaf00
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
ccdc01fb49 Move scripts for cinder to docker_templates
Change-Id: Id19cedf33e2acbbeebbde1c8d36e092225a25fe2
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
8930c12922 Move scripts for ceilometer to docker_templates
Change-Id: I4b4707b2d30175fcb93836edbe02c154a211c116
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
3ca9ae380e Move kolla-common to bsae directory
Change-Id: Ie48e1d25f06a2b91d608edda7fae54ec1ad80f2a
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Sam Yaple
399117b27a Fix neutron-agents regression
Change-Id: I01220077d8d25db5f69802ad27e745d90826d69b
Closes-Bug: #1489664
2015-08-28 04:29:22 +00:00