2869 Commits

Author SHA1 Message Date
weiyu
04992a3de0 fix miss rabbitmq config when hostname include special character
Change-Id: I46db4d3547b120d1ccd87a48e31b699bdd1aa1a0
Closes-Bug: #1540234
2016-02-02 18:37:44 +08:00
Jenkins
1057dcd50a Merge "Removed unused containers from gate build" 2016-02-01 10:43:32 +00:00
Jenkins
728b62cd50 Merge "Rework log output if pull fails" 2016-02-01 10:41:02 +00:00
Jenkins
b3c205dd40 Merge "Convert rabbitmq to named volume" 2016-02-01 10:37:38 +00:00
Jenkins
c755a62ee0 Merge "Fix missing swift proxy server image in pull action" 2016-02-01 09:41:32 +00:00
Qiu Yu
d1d8308b51 Fix missing swift proxy server image in pull action
Add back missing swift proxy server image which was removed in Swift
shared image change.

TrivialFix

Change-Id: Icf13d4a1550192f73e266a6c6aa74f604ee4e77a
2016-01-30 06:00:59 +08:00
SamYaple
9e98149b3c Removed unused containers from gate build
TrivialFix

Change-Id: I7ccbecddc55b26d252b92faccec94676315c3eec
2016-01-29 20:39:55 +00:00
SamYaple
64a767db4d Convert rabbitmq to named volume
Change-Id: I81413ffcaa4efb881d13fef62823d60b676e871d
Implements: blueprint docker-named-volumes
2016-01-29 20:39:55 +00:00
Qiu Yu
a0fc2bd644 Detect and use physical disks for Swift storage
This change let Swift detect and use physical disk for storage. The
old named volume for storage isn't really useful for any serious setup.
Also updated swift-guide.rst accordingly.

Change-Id: I4f577b7b69d8bcd8b3961500946241c65a16db22
Partially-Implements: blueprint swift-physical-disk
2016-01-30 04:03:55 +08:00
Jenkins
da692dc4e6 Merge "Update cleanup-containers to remove manila containers" 2016-01-29 18:48:41 +00:00
Jenkins
5fc2794eb0 Merge "Update ceph-mon keyrings" 2016-01-29 18:47:57 +00:00
Jenkins
5190742740 Merge "Update all bootstraps to use Label" 2016-01-29 17:42:40 +00:00
Jenkins
0584634bcc Merge "Add labels to docker module" 2016-01-29 17:41:40 +00: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
6d8959a962 Update all bootstraps to use Label
Add bootstrap label to all bootstrap containers to ensure that when
the a new container is launched a difference is seen between it and
the bootstrap container since we cannot rely on ENV variables for
this. This only affects mariadb at this stage, but it is needed to
ensure rabbitmq works when we switch to named volumes.

Change-Id: Ia022af26212d2e5445c06149848831037a508407
Closes-Bug: #1538136
2016-01-28 20:26:41 +00:00
SamYaple
55c3e0252e Add labels to docker module
With the switch to named volumes we run into a few situations where
we cannot bootstrap volumes like we used to. This labels param will
fix that as the next patchset shows.

Change-Id: Ia93166dd204c5c0d1a0eb9ffeb6d0aba486e269a
Partially-Implements: blueprint docker-named-volumes
2016-01-28 20:26:41 +00: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
Mauricio Lima
488f46f537 Update cleanup-containers to remove manila containers
Change-Id: Ie7a53396b03ce4e472b5e810a02ccdfc9bd8aacd
Partially-Implements: blueprint enable-manila-containers
2016-01-28 14:47:37 -05:00
SamYaple
33f3e1d8ca Update ceph-mon keyrings
Since the fetch script fetched _all_ keyrings from the ceph-mon
container, the ceph-mon container must contain all keyrings. This
setup works AIO but was broken on multinode because the ceph-mon
container did not have the radosgw keyring. This issue affects every
multinode install regardless of using the radosgw or not.

TrivialFix

Change-Id: Ie416de1a5275862da6d77ef0dd174e85e499fc0f
2016-01-28 17:47:30 +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
42fc119658 Merge "Add the missed stub upgrade.yml" 2016-01-28 10:15:12 +00:00
Jenkins
af7092151a Merge "Fix swift build issue" 2016-01-28 10:14:21 +00:00
Jenkins
4caf6fafca Merge "Remove the libvirt socket" 2016-01-28 10:06:24 +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
SamYaple
4649279c9d Rework log output if pull fails
Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: I066b2d419abb3ef2d4827ce686865c0dc68a5e97
Closes-bug: #1537763
2016-01-28 03:06:05 +00:00
SamYaple
e80b44da08 Remove the libvirt socket
We use tcp connection rather than socket so we can remove the config
options related to it.

Additionally adjust the _extremely_ verbose logging from INFO to
WARNING.

TrivialFix
Change-Id: I88bf660134192f11732d012985df5c4f688419ba
2016-01-27 20:04:13 +00:00
Allen Gao
727a69e41e Add the missed stub upgrade.yml
After introduction of pull action and turing every main.yml into
{{action}}.yml we lost ability to perform upgrade.

Change-Id: Id6b5921bd1e3e7b196c4b3223920e51ae5e0b840
Closes-Bug: #1538210
2016-01-27 18:34:51 +00:00
OpenStack Proposal Bot
2361fddcff Updated from global requirements
Change-Id: I2b59e7606e3ab4e09e1cc7d56494b1e0ab2da29f
2016-01-27 14:20:52 +00: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
c533945d8a Merge "Add the keyfile option to decrypt the passwords.yml" 2016-01-27 10:23:18 +00:00
Jenkins
1360c9f776 Merge "Update ring builder filenames in Swift config" 2016-01-27 10:20:19 +00:00
Jenkins
c6d01ea39c Merge "Fix bug:xrange() issue with py3.x" 2016-01-27 07:15:20 +00:00
Jeffrey Zhang
4afe624f07 Re-generate the compressed css and js on every horizon start
The local_settings file affect django-compress behavior, so
re-generate the compressed javascript and css if it is changed

Closes-Bug: #1537815
Change-Id: I330bfb666e39ffb88a4488793562df697d5572d0
2016-01-27 09:38:26 +08:00
Allen Gao
0f01d3ebc7 Add the keyfile option to decrypt the passwords.yml
The passed keyfile path is used to decrypt the passwords.yml
which encrypted by the ansible vault.

Partially-Implements: blueprint	encrypt-sensitive-info
DocImpact
Change-Id: Ifaebf464478cde99e896c13b375cfaf9282ee576
2016-01-27 06:24:59 +08:00
Allen Gao
2a81598434 Add the missed long option tags
And use variables for options.

TrivialFix

Change-Id: I6cf8612b4e15ef263d2f5b2dbacc186ccd16871b
2016-01-27 06:17:21 +08:00
Jenkins
6c35db3683 Merge "Fix swift.conf.j2 so that merge_configs can recognize" 2016-01-26 19:42:56 +00:00
Jenkins
b3310d0c7e Merge "Add stub upgrade.yml" 2016-01-26 19:16:03 +00:00
Qiu Yu
40a17b559e Update ring builder filenames in Swift config
Update Swift config playbook to use correct name of Swift ring
builer file. Those are the names generated if one follows document in
doc/swift-guide.rst

TrivialFix

Change-Id: If1d713e3cccc851ef6f2cc3cb5a736b43fa26957
2016-01-27 02:24:03 +08:00
Michal Jastrzebski
375965ddfb Add stub upgrade.yml
After introduction of pull action and turing every main.yml into
{{action}}.yml we lost ability to perform upgrade

Change-Id: Ie9fa2cd083b061033abc733fba53d54f9c55e393
Fixes-Bug: #1538210
2016-01-26 11:52:19 -06:00
akwasniewska
3672152d9d Added Kibana and its deployment.
Part of ELK stack. Includes Dockerfiles for both Centos and Ubuntu.

Change-Id: I1d955a5c51e416cc572eb2c9b4c57982a1d6ab67
Partially-implements: blueprint central-logging-service
2016-01-26 15:53:13 +00:00
Andrey Shestakov
5855a07212 Add bootstrap task for ironic-pxe
PXE files should be copied after volume mount to avoid overwrite.

Change-Id: I023cc316e6873abd658478dfa05be839e44a80c7
Closes-bug: #1538164
2016-01-26 15:35:09 +00:00
Jenkins
c91e701b0a Merge "Fix swift regression caused by swift shared image change" 2016-01-26 14:29:00 +00:00