2325 Commits

Author SHA1 Message Date
Jenkins
dd71b98d81 Merge "Share tftpboot directory for ironic-conductor and pxe" 2015-11-26 17:12:12 +00:00
Jenkins
6363c7eb13 Merge "Fix configuration for ironic-conductor" 2015-11-26 17:11:24 +00:00
Andrey Shestakov
66f07ab5b5 Share tftpboot directory for ironic-conductor and pxe
Node configs and images placed by ironic-conductor should be available
from tftp server.

/tftpboot directory should be shared between ironic-pxe and ironic-conductor
containers.

Closes-bug: #1520293
Change-Id: Iee6a73534ac38c4386a53b82fd3c567b8a971beb
2015-11-26 16:22:10 +00:00
Jenkins
6fb514e06b Merge "Fix neutron ml2 configuration for Ironic" 2015-11-26 14:36:57 +00:00
Jenkins
3888c21a31 Merge "Add OVS-data container" 2015-11-26 14:08:24 +00:00
Jenkins
359f8e83d6 Merge "Remove the two different auth profiles" 2015-11-26 11:51:05 +00:00
Andrey Shestakov
3c14ea2e0a Fix configuration for ironic-conductor
Ironic API url provided for conductor.
Disabled cleaning by default.

TrivialFix
Change-Id: I36bd728e1ec672b42c4844ef6b3c9dc603a6db6b
2015-11-26 11:49:09 +00:00
Andrey Shestakov
a83e53f15e Fix neutron ml2 configuration for Ironic
vxlan should be allowed in tenant_network_types because it used in
tunnel_types.
Allow all flat networks when ironic enabled.

TrivialFix
Change-Id: I39b2fbf26bb4c9047e7c3ea5ca7749ae113e4ed8
2015-11-26 11:48:50 +00:00
Swapnil Kulkarni (coolsvap)
632eb2030f Fix minor typos in ansible
Change-Id: Iaac33c100027beef78f6a831a5081a9d3d5cc192
Closes-Bug:#1520070
2015-11-26 10:51:56 +05:30
Ryan Hallisey
6989e876f7 Add OVS-data container
Change-Id: I488b386ef6864f88b7693cf028626330f5414638
Implements: blueprint ovsdb-data
2015-11-25 14:04:47 -05:00
Jenkins
12975e5504 Merge "Pin specific version of Ceph" 2015-11-25 00:17:39 +00:00
Michal Rostecki
7910044803 Pin specific version of Ceph
Change-Id: Ie358064b507729b9606683ce1a0e8feac7646030
Implements: blueprint pin-ceph
2015-11-24 19:15:47 +01:00
Jenkins
3a81572112 Merge "Fix udev cinder issue" 2015-11-24 17:18:05 +00:00
Jenkins
42c8fec79c Merge "Drop root for ironic" 2015-11-24 17:17:27 +00:00
Jenkins
365236570a Merge "Added ironic-common to ironic base container" 2015-11-24 17:17:00 +00:00
Jenkins
875533b22a Merge "Add missing usermod for magnum" 2015-11-24 16:45:34 +00:00
Jenkins
cb02995b43 Merge "Install magnum-common packages for binary builds" 2015-11-24 16:35:04 +00:00
Swapnil Kulkarni (coolsvap)
44251da0c6 Drop root for ironic
Updates to ensure commands run in the ironic containers
are done as the 'ironic' user rather than root.

Change-Id: I491041ce02fb5dd3eb60c6ae9169f26d8a8919dd
Partially-Implements: blueprint drop-root
2015-11-24 21:28:38 +05:30
Swapnil Kulkarni (coolsvap)
e61b917bb8 Added ironic-common to ironic base container
Change-Id: I5e167fc2e1363eb407016a059acc868e7cf73563
Closes-Bug:#1519409
2015-11-24 21:28:12 +05:30
Paul Bourke
31cee99d28 Add missing usermod for magnum
Change-Id: I19921f38c858ee7a88830773423d50a1a8162204
Trivial-Fix
2015-11-24 15:55:11 +00:00
Paul Bourke
b3fa0fefee Install magnum-common packages for binary builds
User magnum is missing from the binary image, install magnum-common to
fix this.

Closes-Bug: 1519390
Change-Id: I23e1206ab14b02de716374d28be2ef42e75e5beb
2015-11-24 15:54:33 +00:00
Jenkins
8b5541c85a Merge "Convert gate to Ansible setup" 2015-11-24 15:07:45 +00:00
Jenkins
d0c277bb4f Merge "Create openrc file on the deploy node" 2015-11-24 10:52:51 +00:00
Jenkins
260ad5c196 Merge "Fix incorrect ansible variable" 2015-11-24 00:27:26 +00:00
Jenkins
54bd7fbc52 Merge "Make the database json variable more readable" 2015-11-24 00:27:19 +00:00
Jenkins
71c688ae58 Merge "Fix bootstrap for services" 2015-11-24 00:27:17 +00:00
Jenkins
6f648105fe Merge "Switch find_disks to use a decent python lib" 2015-11-23 22:42:48 +00:00
Hui Kang
46673b81c1 Create openrc file on the deploy node
This task is run as a post-deploy playbook

Implements: blueprint ansible-task-generate-openrc
Change-Id: I69f4ee895094da5c73494a41dccb2e86eb481656
2015-11-23 17:02:54 -05:00
Sam Yaple
97a8ba6fd7 Fix incorrect ansible variable
Change-Id: Ic6755dfe5c3741e4a945c8353f643bbf1479c172
Closes-Bug: #1519040
2015-11-23 17:37:04 +00:00
Sam Yaple
970617b80a Make the database json variable more readable
Additionally remove tty from the container cleanup docker section. It
was added in a sed in a previous patchset by serves no purpose.

Change-Id: Ib617870616bca687f72ffaa44b2e9a3a11ef1011
Partially-Implements: blueprint cleanup-playbooks
2015-11-23 17:24:22 +00:00
Swapnil Kulkarni (coolsvap)
d3efbd07dc Drop root for ceilometer
Updates to ensure commands run in the ceilometer containers
are done as the 'ceilometer' user rather than root.

Change-Id: Ic94b876a002d4413f2038c29ffdb275c68323065
Partially-Implements: blueprint drop-root
2015-11-23 22:45:27 +05:30
Swapnil Kulkarni (coolsvap)
d14666a51d Update ceilometer dockerfiles
Updated ceilometer-base dockerfile to include commons package

Change-Id: Ieff651f0b7e9716b1b73e2e192f22e2e39dbe5a6
Closes-Bug:#1484002
2015-11-23 22:43:42 +05:30
Hui Kang
790bf336d5 Fix bootstrap for services
The bootstrap tasks could be started on any node listed in the
site.yml

The issue is that all the tasks must run on the same node, and the
only node that all the tasks can run on is the 'api' node due to
needing to start the bootstrap container which binds in the configs.

delegate_to is required to ensure that the proper node gets the task.

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: Ica04ab366777a571a92212ac22c482f1881d4ecd
Closes-Bug: #1513598
Related-Bug: #1513439
2015-11-23 17:09:36 +00:00
Jenkins
7f2d46278f Merge "Remove hardcoded MAINTAINER in Dockerfiles" 2015-11-23 14:12:33 +00:00
Jenkins
c769ccffae Merge "Documentation on cache tier setup for ceph" 2015-11-23 14:12:22 +00:00
Swapnil Kulkarni (coolsvap)
59a1c8b9fb Remove hardcoded MAINTAINER in Dockerfiles
Added new option in kolla-build.conf

Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56
Closes-Bug:#1514304
2015-11-23 11:03:47 +00:00
Swapnil Kulkarni (coolsvap)
17f1d9177f Drop root for gnocchi
Updates to ensure commands run in the gnocchi containers
are done as the 'gnocchi' user rather than root.

Change-Id: I2e24300e05d1b2eeaa52bdc6ed3ec4599791136e
Partially-Implements: blueprint drop-root
2015-11-23 09:04:06 +05:30
Sam Yaple
f9ee96f216 Convert gate to Ansible setup
To support multinode we must now distribute our setup to multiple
hosts. Instead of making special rules for this, we are going to
convert our existing setup to Ansible. This way both setup proceedures
take place in the exact same fashion.

Partially-Implements: blueprint multinode-gate
Change-Id: I43ece298bba994e9b5083403ef3cf6d4245cda6d
2015-11-22 18:34:35 +00:00
Jenkins
4d69166e57 Merge "Add error handler for unknown build type" 2015-11-22 18:28:52 +00:00
Hui Kang
e88e9bd29c Add error handler for unknown build type
Change-Id: Ia5d9ad1ffa119c2dd3e74272df3fb6d78501ec09
closes-Bug: #1513175
2015-11-22 00:10:00 -05:00
David Moreau Simard
a13a25b402 Dynamically find the extra partitioned block device
This provides support for using loopback devices for the extra
disk.

Change-Id: Ia61b32e27ba619d15860daa6a9ed75291dad1d06
Closes-bug: #1518641
2015-11-21 20:06:53 -05:00
Sam Yaple
d6c57809ed Documentation on cache tier setup for ceph
Additionally add some stuff in there for erasure coding

Change-Id: I3bbfa3d2cbf6f8e38f517d05f6f0509abeb3c8f1
Closes-Bug: #1512535
2015-11-22 00:36:19 +00:00
Sam Yaple
8c1e7061f8 Remove the two different auth profiles
Ceph can function just fine generating the keys before the pools have
been created so we can apply the proper permissions to the auth string
ahead of time. This allows us to not require additional steps to add a
cache tier on the fly in the future.

Change-Id: I8214c567fb7c337f95d908c5699d1da922bfa1a6
Closes-Bug: #1518475
2015-11-20 23:24:53 +00:00
Sam Yaple
dd16395ae1 Switch find_disks to use a decent python lib
Now /dev/loop devices will work!

Change-Id: Icb8efe4f9bc3a21a72eb04bfd03452c26f13fd70
Closes-Bug: #1518438
2015-11-20 23:24:53 +00:00
Sam Yaple
3cd5eec2ec Fix udev cinder issue
/run/udev contains the udev information needed for the lvm tools
/run and /dev must be bound in for this to work properly

Change-Id: Icfe07c4ce3673310cc24591b42c107c9710cd3ac
Closes-Bug: #1518454
Closes-Bug: #1487780
Related-Bug: #1487807
2015-11-20 23:16:16 +00:00
Sam Yaple
42b9660c7c Only start nova-data on the compute hosts
Change-Id: Icd7aa39556c50a3367c3b9630b24b7195612ba70
Closes-Bug: #1517914
2015-11-20 22:04:54 +00:00
Jenkins
6bbd4bf1ca Merge "Fix gate" 2015-11-20 21:23:08 +00:00
Jenkins
e1c0b3ac1d Merge "Fix /etc files location for ironic-base building from sources" 2015-11-20 20:42:14 +00:00
Jenkins
8d387dcdb9 Merge "Fix ironic-api listen address" 2015-11-20 20:41:42 +00:00
Sam Yaple
ea17c2db72 Fix gate
A previous commit [1] removed the glance data container. Although this
worked at the time (as evident by it passing the gate) the drop root
patches merged after the gate patch causing the glance service to
not have the proper permissions to create this needed directory

[1] I7f2f5979b01807275908699d1243756cb97d3588

Change-Id: I5044de8d348e401a50970fd77671a79d35d2d595
2015-11-20 20:29:06 +00:00