839 Commits

Author SHA1 Message Date
Jenkins
9633c60c58 Merge "Make novncproxy work on from source installs" 2015-09-13 20:13:25 +00:00
Jenkins
31594eef5b Merge "Add missing Swift services, also ansible configuration" 2015-09-13 20:09:59 +00:00
Steven Dake
8080ba0e40 Make novncproxy work on from source installs
The symlink was wrong.

Change-Id: I9bb7978c7b5460484528af2a740a95e1d6411901
Closes-Bug: #1495158
2015-09-13 01:11:39 -07:00
Vladislav Belogrudov
c619bdf911 Source type nova compute container misses qemu-img on VM boot
nova-compute requires qemu-img for various image operations

Change-Id: I295f789565ba326d4023905459413df6c60aeb39
Closes-Bug: #1494273
2015-09-10 14:56:16 +03:00
Jenkins
84535cf15a Merge "Add rsyncd image and related Ansible for Swift" 2015-09-08 01:15:43 +00:00
Jenkins
766d07e41e Merge "Add ansible support for Murano" 2015-09-07 18:18:21 +00:00
Paul Bourke
8fa96a1516 Add rsyncd image and related Ansible for Swift
Swift replicator services require rsync to function. This patch adds a
new container which is included automatically on each of the Swift
storage nodes.

Change-Id: If10fbe610ca4df21ef0f2c7a1025035d627cb4ba
Partial-Bug: #1477993
2015-09-07 12:16:35 +00:00
jamesmmccarthy
91fc423a01 Add missing Swift services, also ansible configuration
DocImpact
Closes-Bug: #1477993
Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
Change-Id: Ifeab0fec11889cb0c90a56a6211dbdd27a40f3d9
2015-09-07 10:38:00 +00:00
Mick Thompson
68e7da0a36 Add ansible support for Murano
Deploy the core services for murano-api and murano-engine containers.

Implements: bp ansible-murano

Change-Id: Ibcc618665a3509465ba8f9249a417e8848087eef
2015-09-07 09:30:07 +01:00
Steven Dake
e32dcd5d1d Import not found for glance
Glance now depends on python-castellan and python-cryptography but
the package is not in the package depends list.

Change-Id: I8ba8c191572b0c7f51df5948a2951d9a7e0aead4
Closes-Bug: #1492641
2015-09-05 15:20:48 -07:00
Steven Dake
360999929d Add support to the base image for RHEL
Add support to the base image for running RHEL containers.  Document
how to register a system with RHN in image-buliding.rst.

Change-Id: Id69c114cf734a8242066b8d7d05ba19c07af036a
Partially-Implements: blueprint rhel-based-image-support
2015-09-04 07:06:56 -07:00
Steven Dake
6992049323 Add 'rhel' for RPM distros
Add 'rhel' to list for RPM based distros.  Also sort the distro
list for rpm packages for affected lines.

Change-Id: Ied4cb3e9763d6c6359f314d16185383ac3e006ed
Partially-Implements: blueprint rhel-based-image-support
2015-09-04 03:12:15 -07:00
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