1284 Commits

Author SHA1 Message Date
Jenkins
9376751d39 Merge "Designate ubuntu binary container" 2016-02-15 04:16:20 +00:00
Jenkins
d346545922 Merge "Fix keystone initial auth mechanism" 2016-02-14 19:36:53 +00:00
Jenkins
1733a701dd Merge "Install keystone-dist-paste.ini in /etc/keystone" 2016-02-14 19:35:32 +00:00
Jenkins
33da123eb1 Merge "Make kolla-toolbox container build on CentOS bin" 2016-02-14 16:20:05 +00:00
SamYaple
8ef7434770 Fix keystone initial auth mechanism
A recent change in keystone [1] has deprecated the token auth
mechanism that we used. We reintroduce it temporarily while a more
permanant solution is worked on.

[1] 5286b4a297

Change-Id: I4d585733a9abd201c1b0680e6196dd2a36db3c7e
Closes-Bug: #1545292
2016-02-14 08:59:13 -07:00
Steven Dake
03568ce863 Install keystone-dist-paste.ini in /etc/keystone
The CentOS packages install a default version of the paste file
but don't install them in the /etc directory.  Kolla doesn't
configure the paste files, so this file never gets setup properly.

With the recent change in Keystone around the default admin_token
being changed, this triggered Keystone to return a 401 Auth error.

A follow-on patch from Sam edits this file, and that patch breaks
the build without this dependent patch.

TrivialFix

Change-Id: Ib1568e186bdd7d19b7e5af151388197755902488
2016-02-14 08:59:11 -07:00
xionglingfeng
50b885c260 Fix horizon startup failure
original extend_start.sh try to write temp files to a non-existent folder (/home/horizon) and cause horizon failed to start. It is fixed by moving the file to /tmp.

Partial-Bug: 1543429

Change-Id: I8d8778be755a4db9e57d6ff7aaee623547c4243e
2016-02-13 15:39:22 -03:30
Jenkins
d3731eb99f Merge "Remove data docker image" 2016-02-10 19:19:24 +00:00
Jenkins
6267192c4b Merge "Safely create directories" 2016-02-10 18:41:15 +00:00
Jeffrey Zhang
ce5e8a8257 Remove data docker image
we have moved to named volume, the old data container should be removed

TrivialFix

Change-Id: Ib73205de6566509492568381179814baa7af2d22
2016-02-10 22:46:22 +08:00
Jenkins
b479d8db03 Merge "Remove unnecessary patch for oslo.log" 2016-02-10 04:29:03 +00:00
Martin André
e6571c0203 Safely create directories
This prevents failure when the directory already exists.

This commit fixes a failure in centos-binary because of a change in the
RDO packaging, where the required directory is now created for us.

Change-Id: Idd3e15802c3e3fd363e1295111ec12948d566781
Closes-Bug: #1543417
2016-02-10 08:25:23 +09:00
Hui Kang
bed9ed97a4 Remove unnecessary patch for oslo.log
Ubuntu binary package includes the fix

TrivialFix

Change-Id: Iaeff250e75565b1f447d97acfffc1b1a3a76c250
2016-02-09 02:35:43 -05:00
Martin André
e9a64b589e Cleanup dependencies for cinder-base
The python-cinder package now pulls the required dependency on
python-oslo-policy:

a22f32c619/openstack-cinder.spec (L143)

TrivialFix

Change-Id: I504546e75b5a237fc4aac89bd9a5c34f09570817
2016-02-09 09:23:12 +09:00
Martin André
1f280adebe Cleanup dependencies for nova-base
The python-nova package now pulls the required dependency on
python-oslo-policy:

036149e93f/openstack-nova.spec (L389)

TrivialFix

Change-Id: I472f600710cb743ef6ede01e722a79b1451cf295
2016-02-09 09:23:12 +09:00
Martin André
ed8d911881 Cleanup dependencies for neutron-base
The python-neutron package now pulls the required dependency on
python-oslo-reports:

774036f7f9/openstack-neutron.spec (L125)

TrivialFix

Change-Id: I6cb4d0d9601c910cf631dddcf715a7f4fc9754e3
2016-02-09 09:23:01 +09:00
MD NADEEM
79b9e0d302 Designate ubuntu binary container
Change-Id: I546d25249527d7f1f7dfa2059ae38e7cc0e0a765
Partially-Implements: blueprint binary-ubuntu
2016-02-08 04:01:29 +00:00
SamYaple
ddb7cd88c5 Convert Neutron to thin containers
*** Requires Docker 1.10 which is released ***

Documentation will be in the next patch. You must set the following
in your docker.service daemon control file for propogation to work:

    [Service]
    MountFlags=shared

======================================================================

Thanks to mount propagation in Docker 1.10 we can use thin containers
finally! This is extremely useful to operators since now they can
access the network namespaces from the hosts (outside the neutron
container). But additionally it allows us to implement the VPN agent
and other services easier.

Neutron containers and the neutron role are brought into the standards
of the new Kolla. Completely with drop-root and ansible formating
updates.

The ip_wrapper.py script was (thankfully) not needed so it has been
removed from the repo.

Partially-Implements: blueprint upgrade-neutron
Change-Id: Iaf5555283240457e1912459f397a6393d886fba1
2016-02-06 07:13:47 +00:00
SamYaple
2514bcf0c3 Correct issue with virtualenv rootwrap
Because we use rootwrap in a venv we need to update the exec_dirs.
Without doing this *some* commands will break for various reasons that
I won't get into in this review in detail. But this is required for
neutron-l3-agent in a container + drop-root.

Change-Id: I1a09f7188fdd501b7ce251d9f2fb0e5b10222142
Partially-Implements: blueprint drop-root
2016-02-06 06:48:59 +00:00
Jenkins
5d642f1ad1 Merge "Fix manila perms" 2016-02-05 17:53:24 +00:00
Jenkins
b891afd64c Merge "Rename kolla_ansible to kolla_toolbox" 2016-02-05 15:04:37 +00:00
Jenkins
e8348d033a Merge "Move the install base type check to kolla-build" 2016-02-04 11:31:01 +00:00
Allen Gao
db53ad1ddf Move the install base type check to kolla-build
The install type is converted in kolla-build, so it will never
fail in dockerfile, move the check to kolla-build just above
the install type converting.

TrivialFix

Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Change-Id: I1500d3b47e909f94ea9f68c5245297733f63a70b
2016-02-04 16:48:12 +08:00
SamYaple
4ab5ae789d gnocchi is busted missing tooz for source
TrivialFix

Change-Id: I1c0a80f7781aa196023795a6381443d6835d534c
2016-02-03 19:23:36 +00:00
Jenkins
7c264ca022 Merge "Create nova-api database" 2016-02-03 15:30:49 +00:00
venkatamahesh
23b1a8c03a Fix some words spellings
Trivial Fix

Change-Id: Ic14778bb4e894490a3b6af9471ba01ab4da94601
2016-02-03 10:01:30 +00:00
SamYaple
e7dfd63bfc Create nova-api database
This is a required patch.

Kilo introduced a nova-api database but didn't use it. [1]
Mitaka now uses it and has broken booting instances. [2]

[1] https://wiki.openstack.org/wiki/ReleaseNotes/Kilo#OpenStack_Compute_.28Nova.29
[2] df0fca62cf/releasenotes/notes/request-spec-api-db-b9cc6e0624d563c5.yaml

Change-Id: If0a7f4ba4937fab8d60f5236ca00db06faa768c7
Closes-Bug: #1540579
2016-02-02 21:56:54 +00:00
Jenkins
262e880b86 Merge "Fix Swift for multinode P+ACO deployment" 2016-02-02 21:39:07 +00:00
Jenkins
572e80e6d0 Merge "Add an ansible role for mongodb" 2016-02-02 21:25:19 +00:00
SamYaple
80b7266ed1 Rename kolla_ansible to kolla_toolbox
This change is needed for clarity. We have a kolla-ansible script.
We have a kolla-mesos repo. We plan to have a kolla-ansible repo.
Already we have had far too much confusion about whether we are
talking about the container or the project. Naming this kolla-toolbox
eliminates all of that confusion and its probably a bit more accurate
of a name too.

Closes-Bug: #1541053
Change-Id: I8fd1f49d5a22b36ede5b10f46b9fe02ddda9007e
2016-02-02 18:12:15 +00:00
SamYaple
5a251ca75f Fix manila perms
Change-Id: I5b40de377ac0323d3253f58b49318d57da347d11
Parially-Implements: blueprint enable-manila-containers
2016-02-02 18:04:56 +00:00
Antoine Roux
b5c2bd22a2 Fix wrong behavior when the source is a directory
TrivialFix

Change-Id: Ie723fb35f15be0a500b428b2b58e6b4c5321df0c
2016-02-02 12:15:33 +00:00
Qiu Yu
b209da1306 Fix Swift for multinode P+ACO deployment
Current Swift playbook is based on the preassumption of AIO setup.
However, if one goes with default multinode setup
(ansible/inventory/multinode), it follows the P + ACO deployment model,
which proxy-server runs on controller nodes where ACO
(account/container/object services) run on storage nodes.

It will break because swift proxy-server no longer has access (it
shouldn't have) to /srv/node path. This change ensure disk mounting part
only happens on storage node. It also moves chown from proxy-server
Dockerfile to rsyncd because no matter with PACO, P+ACO or P+A+C+O
model, rsyncd is always running on each storage node.

Change-Id: I3aa20454902caa9c84d3901bb91e4e4c93ac5f34
Partially-Implements: blueprint swift-physical-disk
Closes-Bug: #1537544
2016-02-02 02:14:31 +08:00
Steven Dake
5dd79bbbef Make kolla-toolbox container build on CentOS bin
Ansible installs pytz from pip which is newer then then pytz in
RDO repositories.  As part of this process, it removes pytz
which corrupts the python installation in some way.  This causes
further pip usage to produce a backtrace causing the kolla-toolbox
container not to build.

Mixing pip and RPM is not good.

Change-Id: I413468641bad5476cfcba61cb0e2189c31f3d682
Closes-Bug: #1545215
2016-01-29 18:51:30 -07:00
Jenkins
0f635266fe Merge "Cleanup mariadb and make compatiable with mesos" 2016-01-29 17:41:14 +00:00
Jenkins
473022a732 Merge "Re-generate the compressed css and js on every horizon start" 2016-01-29 17:30:34 +00:00
Jenkins
d54e7182e1 Merge "Enable find_disks module to match by filesystem label" 2016-01-29 12:58:08 +00:00
Jenkins
dcc3723876 Merge "Use rdo magnum instead of sdake's copr for magnum" 2016-01-29 05:17:24 +00:00
Vikas Jain
8eb2f83eee Use rdo magnum instead of sdake's copr for magnum
Steve is tired of maintaining a copr for Magnum.  People bug him
all the time to update the rpm for RDO.  The RDO community
has offered to take on the maintainance of the Magnum RPM. As this
RPM won't be in current-passed-ci for some time so it needs
to be pulled from current repo for the foreseeable future,
possibly nearing the release of Mitaka.

Change-Id: I9cfb02ab828251ef5bf40ca236f18b5f0f715e34
Closes-Bug: #1539325
2016-01-28 20:32:50 -08:00
SamYaple
7e2ce01431 Cleanup mariadb and make compatiable with mesos
There is no reason to have a hostname-unique pidfile in the container
as we currently have. This posed problems with kolla-mesos reusing
the same script. Since there is no reason for this pidfile to be
configurable in path _at_ _all_, we hardcode the path.

Additionally, we adjust the file perm change to only update the perms
on the folder if it is not already properly set.

This also incorperates a kolla-ansible file in the bootstrap process
which follows our other container techniques of using the idempotent
creation of a volume in the bootstrap process (see nova)

TrivialFix
Related-Bug: #1538136
Change-Id: I2380529fc7146a9603145cdc31e649cb8841f7dd
2016-01-28 20:26:41 +00:00
Jeffrey Zhang
649686584f Remove the machine-id which cause nova-compute raise exception
Change-Id: I3cfb239e6f99e7079b2781b06550fa627fcb8998
Closes-Bug: #1539064
2016-01-29 00:48:40 +08:00
Jenkins
af7092151a Merge "Fix swift build issue" 2016-01-28 10:14:21 +00:00
SamYaple
76c88bbd1e Fix swift build issue
Swift updates and new deps are needed, here is one

Closes-Bug: #1538377
Change-Id: Ibb890c73e462113c5aa29ab12637a9115bb51240
2016-01-28 07:07:30 +00:00
weiyu
6a38a9fe75 reset $(hostname) to $(hostname -s) in ceph extend_start.sh
$(hostname) is Ceph Monitor name in extend_start.sh,
{{ ansibe_hostanme }} is Ceph Monitor name in ceph.conf.
$(hostname) not always equal to ansible_hostname , that
makes ceph_mon container can't start.

Closes-Bug: #1538870
Change-Id: I312bf8d74c855aa4c72f12285e3092df96f60048
2016-01-28 12:37:17 +08:00
Qiu Yu
428b484397 Enable find_disks module to match by filesystem label
Currently the only consumer of ansible find_disks module is Ceph. And
Ceph OSD deployment in kolla uses GPT partition label to detect and
identify disks for Ceph OSD use. This is not always true for all the
deployment.

The change here extended the find_disks module by:
- adding `name` argument to find disk by either partition name or
  filesystem label matching
- `partition_name` argument now becomes an alias to `name`
- adding `match_mode` argument to allow prefix matching. It is used for
  swift disk detection.
- return `fs_label` key / value in result for disk mounting purpose

Change-Id: I9c93400c1826f5148acf09e9fbe555e358dfdfcc
Partially-Implements: blueprint swift-physical-disk
2016-01-28 04:34:16 +00:00
Hui Kang
3ae0063944 Add an ansible role for mongodb
Change-Id: Ia6ac371845d1f2b545406d096b35a6d5f68be5f6
Implements: blueprint ansible-mongodb
2016-01-27 10:48:34 -05:00
Jenkins
b6c9d2acfa Merge "Add bootstrap task for ironic-pxe" 2016-01-27 13:52:36 +00:00
Jenkins
c70cefe19c Merge "Fix ironic-pxe map-file location" 2016-01-27 13:51:38 +00:00
Jenkins
4ee8f78051 Merge "Added Kibana and its deployment." 2016-01-27 13:49:49 +00:00
Jenkins
c6d01ea39c Merge "Fix bug:xrange() issue with py3.x" 2016-01-27 07:15:20 +00:00