604 Commits

Author SHA1 Message Date
Jenkins
42fc119658 Merge "Add the missed stub upgrade.yml" 2016-01-28 10:15:12 +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
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
1360c9f776 Merge "Update ring builder filenames in Swift config" 2016-01-27 10:20:19 +00:00
Jenkins
6c35db3683 Merge "Fix swift.conf.j2 so that merge_configs can recognize" 2016-01-26 19:42:56 +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
Andrey Shestakov
9da034dc0a Fix ironic-pxe map-file location
map-file should not be overwriten by volume

TrivialFix

Change-Id: I57bf963fd4af8c010fda0c4504e83dc33f6e9162
2016-01-26 14:28:21 +00:00
Qiu Yu
1f430a4935 Fix swift regression caused by swift shared image change
Correct the leftover image name.

Change-Id: I54c46bfabc2afbdd2ada697decec1f67bf70b6ed
Related-Id: I929689f93b56396a41b19fda46e4679c4de84ca1
Closes-Bug: #1537993
2016-01-26 13:41:18 +08:00
Jenkins
b7fea50b65 Merge "Share the same image between swift services" 2016-01-25 17:07:29 +00:00
Qiu Yu
654fe9e585 Fix swift.conf.j2 so that merge_configs can recognize
This change fixes the problem that `swift_hash_path_suffix` and
`swift_hash_path_prefix` not picked up because of the relative path
merge_configs can not recognize.

Change-Id: I4d93269babe71e51ba7949b719f753c1e1b34e3c
Closes-Bug: #1537331
2016-01-23 16:25:50 +08:00
Jenkins
e410386e45 Merge "Fix deprecated parameter name in nova.conf" 2016-01-22 12:59:01 +00:00
Hui Kang
c9e9637651 Fix deprecated parameter name in nova.conf
rename auth_type to auth_plugin

Change-Id: Idc20cc6e61fe15e64ba5b49e874f1290b9ee685d
closes-Bug: #1536820
2016-01-21 17:50:58 -05:00
Jenkins
801f84ed11 Merge "Add debug option in config file" 2016-01-21 22:44:03 +00:00
Jenkins
bb12f82c70 Merge "Rename ceph-mon bootstrap container to avoid conflict" 2016-01-21 19:05:13 +00:00
Jenkins
812db6f45b Merge "prechecks: check ansible version on deployment host" 2016-01-21 10:18:43 +00:00
Jenkins
2504f55038 Merge "remove option verbose define in defaults/main.yml" 2016-01-21 08:26:53 +00:00
Allen Gao
9ec425ae15 prechecks: check ansible version on deployment host
Change-Id: I688ac5cba128e7eae9df9f51c48273e39fdb09a9
Partially-implements: blueprint precheck-tasks
2016-01-21 15:54:39 +08:00
Jenkins
d56ad53b3f Merge "Add missing ceph-rgw group for sample multinode inventory" 2016-01-21 06:59:41 +00:00
SamYaple
a53b1478dc Update docker and docker-py reqs
Change-Id: I3d452f30304a83cdeb65d8cac0ddef77c58cfeb9
Partially-Implements: blueprint precheck-tasks
2016-01-21 04:13:40 +00:00
Artur Zarzycki
ef971bff51 Fix permissions to /var/lib/nova/
Due to changes with the drop-root work, we lost the ability to write
to /var/lib/nova/*. This fixes those permissions and ensures cross
container talk works properly between nova_libvirt and nova_compute

Additionally, this fixes another issue introduced which saw that
nova-compute could not run sudo commands as it did not have a proper
sudoers entry

Testing from previous deploys means you need a fresh environment. You
have to remove all of the named volumes that kolla created in docker.
Check these with `docker volume ls`

Signed-off-by: Hui Kang <kangh@us.ibm.com>
Signed-off-by: Artur Zarzycki <azarzycki@mirantis.com>
Co-Authored-By: Sam Yaple <sam@yaple.net>
Co-Authored-By: Hui Kang <kangh@us.ibm.com>
Closes-Bug: #1533350
Change-Id: I7f864c448a2414e0b5d89f48337be411b891df35
2016-01-20 16:58:01 +00:00
Ice Yao
e1ff26612f remove option verbose define in defaults/main.yml
References: https://review.openstack.org/#/c/269042/

TrivialFix

Change-Id: Ief08781342a06f956fc4cf00ba4383759da8c897
2016-01-20 16:17:05 +08:00
Ice Yao
83df0f8612 Add debug option in config file
Config file use *_logging_debug as debug default value

Change-Id: I41102fff9056a82f7307694252adff0aedcf2658
2016-01-20 15:44:27 +08:00
Allen Gao
7609cc2428 prechecks: remove the docker max version check
Remove the docker max version check since we are not pinning
docker version any more.

Partially-Implements: blueprint precheck-tasks
Change-Id: Icfa10e72c56092931aae016afaeed4c6ce8cb337
2016-01-20 06:43:25 +00:00
Allen Gao
3d4cedcc52 keep consistent with style of others
TrivialFix
It should be more comfortable to keep consistent:
$ find . -name *.yml | xargs grep -h -A5 start_container | grep name: | sort
    name: "ceph_mon"
    name: "ceph_rgw"
    name: "cinder_api"
    name: "cinder_backup"
    name: "cinder_scheduler"
    name: "cinder_volume"
    name: "glance_api"
    name: "glance_registry"
    name: "haproxy"
    name: "heat_api"
    name: "heat_api_cfn"
    name: "heat_engine"
    name: "horizon"
    name: "ironic-api"
    name: "ironic-conductor"
    name: "ironic-discoverd"
    name: "ironic-pxe"
    name: "keepalived"
    name: "keystone"
    name: "magnum_api"
    name: "magnum_conductor"
    name: "mariadb"
    name: "memcached"
    name: mistral_api
    name: mistral_engine
    name: mistral_executor
    name: "murano_api"
    name: "murano_engine"
    name: "neutron_agents"
    name: "neutron_openvswitch_agent"

Change-Id: Ie946286968c830dcc3c0c45cc9ba87418dd44e8c
2016-01-20 12:10:17 +08:00
Jenkins
0416913fb5 Merge "Fix ceph-mon existing cluster detection logic" 2016-01-19 17:48:36 +00:00
Jenkins
14c56d542f Merge "Consistency changes in configs" 2016-01-19 15:45:57 +00:00
Maciej Szankin
57fdb0ceed Consistency changes in configs
TrivialFix

Change-Id: Iafd92e4e962dec5a225582ff058ab3603e5a50bb
2016-01-19 14:58:11 +01:00
Wanlong Gao
66f5802daa Use driver instead of deprecated notification_driver in config
TrivialFix
https://review.openstack.org/#/c/249508/

Change-Id: Ie2732ee116b6b4b3e0210eb1f62fc72878d8c277
2016-01-19 17:09:19 +08:00
Jenkins
9a9dbf481b Merge "Replace the deprecated rsyslog config style" 2016-01-18 21:23:59 +00:00
Jenkins
37bcd509bc Merge "remove option verbose from config files" 2016-01-18 21:16:14 +00:00
Allen Gao
3729755da0 remove option verbose from config files
Option "verbose" from group "DEFAULT" is deprecated for removal.
Its value may be silently ignored in the future.

If this option is not set explicitly, there is no such warning.
Furthermore, the default value of verbose is true, so there is
no need to set this value in config files.

TrivialFix

Change-Id: I3ec2a8900c984a64bc0645672ef89a63975f7f4e
2016-01-18 21:29:36 +08:00
SamYaple
af0d73ea38 Rename ceph-mon bootstrap container to avoid conflict
Ceph-mon bootstrap container shares the same name of `ceph_mon` with
real ceph-mon service. When bootstrapping, it will sleep forever for the
purpose of distribute rings. Later on, when starting real `ceph_mon`
service, kolla_docker module will take bootstrap container as real one
because bootstrap container has a super set of env variables and
kolla_docker doesn't do strict comparing of env variable items.

This change follows the pattern of other bootstrap containers and rename
to use `bootstrap_ceph_mon` to avoid conflict.

Co-Authored-By: Sam Yaple <sam@yaple.net>

Change-Id: I0082820900928c42f9cc778ffd705980fea9ad1c
Closes-Bug: #1535140
2016-01-17 23:20:54 +00:00
Qiu Yu
8c125f01fd Fix pid leftover after converting ceph to kolla_docker
Related-Id: Icb1e81dc8acabe51740edc5658957022ddd13cd7
TrivialFix

Change-Id: Icf7cca554a972370bb109530cce3a0d451c95ae1
2016-01-18 02:32:47 +08:00
Jenkins
b4edee1c2f Merge "Use auth_type instead of deprecated auth_plugin" 2016-01-17 16:02:56 +00:00
Wanlong Gao
93df2483c6 Replace the deprecated rsyslog config style
The old style has been deprecated for time:
http://www.rsyslog.com/doc/v8-stable/compatibility/v7compatibility.html#omruleset-and-discard-action-are-deprecated
TrivialFix

Change-Id: I70fa065f5fbd686ddb8f4134bb93c08c7af00365
2016-01-16 20:40:55 +08:00
Wanlong Gao
3898205f0a ironic-discoverd: fix ironic config file path
TrivialFix

Change-Id: Idb15f134137a377690d69d9848791a95df572948
2016-01-16 17:18:09 +08:00
Wanlong Gao
181b4947dd Use auth_type instead of deprecated auth_plugin
TrivialFix

Change-Id: I33924d6de43126ff8523883eebce703c976f9a1a
2016-01-16 07:44:14 +08:00
Qiu Yu
20c0f4c3f1 Fix ceph-mon existing cluster detection logic
After moving from data container to named volumes, ceph monmap detection
is broken. This change fix the logic by leverage kolla_docker's
idempotency creating a named volume.

Change-Id: Iabc2e2fe5f526e1a6fc2e1b1158d1702aaf4bdf9
Related-Bug: #1533368
2016-01-16 06:17:44 +08:00
Hui Kang
a755aa88e4 Fix wrong integration bridge configuration name in ml2 conf
Change-Id: Idd8d0c41fb527634fcbb74da415c99a3e3995e3c
closes-Bug: #1534666
2016-01-15 12:08:18 -05:00
Jeffrey Zhang
1cf92be7b2 Share the same image between swift services
Get rid of swfit children images by share the same image in the swift
account, swift object and swift container services

Closes-Bug: #1534476

Change-Id: I929689f93b56396a41b19fda46e4679c4de84ca1
2016-01-15 15:23:09 +08:00
Qiu Yu
5f0a5384ad Add missing ceph-rgw group for sample multinode inventory
Change-Id: If37a91d368e88b25e5c59eae70f872001f744cbc
Closes-Bug: #1534401
2016-01-15 09:02:50 +08:00
Michal Jastrzebski
26524c7475 Playbook for keystone upgrade
New playbook for keystone release upgrade.

Co-Authored-By: SamYaple <sam@yaple.net>
Change-Id: I387abb30e5ead0033430848164d250fce739d2fd
Implements: blueprint upgrade-keystone
Partially-Implements: blueprint upgrade-kolla
2016-01-13 18:48:55 +00:00