aboutsummaryrefslogtreecommitdiff
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2016-01-29Convert rabbitmq to named volumeSamYaple2-18/+11
Change-Id: I81413ffcaa4efb881d13fef62823d60b676e871d Implements: blueprint docker-named-volumes
2016-01-30Detect and use physical disks for Swift storageQiu Yu2-45/+40
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-29Merge "Update ceph-mon keyrings"Jenkins2-0/+8
2016-01-28Update all bootstraps to use LabelSamYaple14-3/+37
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-28Add labels to docker moduleSamYaple1-0/+23
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-28Cleanup mariadb and make compatiable with mesosSamYaple3-16/+17
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-28Update ceph-mon keyringsSamYaple2-0/+8
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-28Use trusts in heat.confMichal Rostecki1-1/+13
Change-Id: Ie91b3498e9f9d0d74a502ba6945db531ef967516 Closes-Bug: #1492736
2016-01-28Merge "Add the missed stub upgrade.yml"Jenkins1-0/+1
2016-01-28Rework log output if pull failsSamYaple1-7/+19
Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I066b2d419abb3ef2d4827ce686865c0dc68a5e97 Closes-bug: #1537763
2016-01-27Remove the libvirt socketSamYaple1-7/+2
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-27Add the missed stub upgrade.ymlAllen Gao1-0/+1
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-27Add an ansible role for mongodbHui Kang16-0/+161
Change-Id: Ia6ac371845d1f2b545406d096b35a6d5f68be5f6 Implements: blueprint ansible-mongodb
2016-01-27Merge "Add bootstrap task for ironic-pxe"Jenkins1-0/+17
2016-01-27Merge "Fix ironic-pxe map-file location"Jenkins1-1/+1
2016-01-27Merge "Added Kibana and its deployment."Jenkins13-1/+115
2016-01-27Merge "Update ring builder filenames in Swift config"Jenkins1-3/+3
2016-01-26Merge "Fix swift.conf.j2 so that merge_configs can recognize"Jenkins1-1/+1
2016-01-27Update ring builder filenames in Swift configQiu Yu1-3/+3
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-26Add stub upgrade.ymlMichal Jastrzebski16-0/+16
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-26Added Kibana and its deployment.akwasniewska13-1/+115
Part of ELK stack. Includes Dockerfiles for both Centos and Ubuntu. Change-Id: I1d955a5c51e416cc572eb2c9b4c57982a1d6ab67 Partially-implements: blueprint central-logging-service
2016-01-26Add bootstrap task for ironic-pxeAndrey Shestakov1-0/+17
PXE files should be copied after volume mount to avoid overwrite. Change-Id: I023cc316e6873abd658478dfa05be839e44a80c7 Closes-bug: #1538164
2016-01-26Fix ironic-pxe map-file locationAndrey Shestakov1-1/+1
map-file should not be overwriten by volume TrivialFix Change-Id: I57bf963fd4af8c010fda0c4504e83dc33f6e9162
2016-01-26Fix swift regression caused by swift shared image changeQiu Yu1-1/+1
Correct the leftover image name. Change-Id: I54c46bfabc2afbdd2ada697decec1f67bf70b6ed Related-Id: I929689f93b56396a41b19fda46e4679c4de84ca1 Closes-Bug: #1537993
2016-01-25Merge "Share the same image between swift services"Jenkins3-145/+28
2016-01-23Fix swift.conf.j2 so that merge_configs can recognizeQiu Yu1-1/+1
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-22Merge "Fix deprecated parameter name in nova.conf"Jenkins1-1/+1
2016-01-21Fix deprecated parameter name in nova.confHui Kang1-1/+1
rename auth_type to auth_plugin Change-Id: Idc20cc6e61fe15e64ba5b49e874f1290b9ee685d closes-Bug: #1536820
2016-01-21Merge "Add debug option in config file"Jenkins9-8/+10
2016-01-21Merge "Rename ceph-mon bootstrap container to avoid conflict"Jenkins1-4/+12
2016-01-21Merge "prechecks: check ansible version on deployment host"Jenkins2-0/+6
2016-01-21Merge "remove option verbose define in defaults/main.yml"Jenkins12-12/+0
2016-01-21prechecks: check ansible version on deployment hostAllen Gao2-0/+6
Change-Id: I688ac5cba128e7eae9df9f51c48273e39fdb09a9 Partially-implements: blueprint precheck-tasks
2016-01-21Merge "Add missing ceph-rgw group for sample multinode inventory"Jenkins1-0/+3
2016-01-21Update docker and docker-py reqsSamYaple1-2/+2
Change-Id: I3d452f30304a83cdeb65d8cac0ddef77c58cfeb9 Partially-Implements: blueprint precheck-tasks
2016-01-20Fix permissions to /var/lib/nova/Artur Zarzycki3-4/+33
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-20remove option verbose define in defaults/main.ymlIce Yao12-12/+0
References: https://review.openstack.org/#/c/269042/ TrivialFix Change-Id: Ief08781342a06f956fc4cf00ba4383759da8c897
2016-01-20Add debug option in config fileIce Yao9-8/+10
Config file use *_logging_debug as debug default value Change-Id: I41102fff9056a82f7307694252adff0aedcf2658
2016-01-20prechecks: remove the docker max version checkAllen Gao2-2/+0
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-20keep consistent with style of othersAllen Gao1-3/+3
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-19Merge "Fix ceph-mon existing cluster detection logic"Jenkins1-8/+7
2016-01-19Merge "Consistency changes in configs"Jenkins3-8/+17
2016-01-19Consistency changes in configsMaciej Szankin3-8/+17
TrivialFix Change-Id: Iafd92e4e962dec5a225582ff058ab3603e5a50bb
2016-01-19Use driver instead of deprecated notification_driver in configWanlong Gao7-7/+21
TrivialFix https://review.openstack.org/#/c/249508/ Change-Id: Ie2732ee116b6b4b3e0210eb1f62fc72878d8c277
2016-01-18Merge "Replace the deprecated rsyslog config style"Jenkins1-2/+4
2016-01-18Merge "remove option verbose from config files"Jenkins10-10/+0
2016-01-18remove option verbose from config filesAllen Gao10-10/+0
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-17Rename ceph-mon bootstrap container to avoid conflictSamYaple1-4/+12
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-18Fix pid leftover after converting ceph to kolla_dockerQiu Yu1-1/+1
Related-Id: Icb1e81dc8acabe51740edc5658957022ddd13cd7 TrivialFix Change-Id: Icf7cca554a972370bb109530cce3a0d451c95ae1
2016-01-17Merge "Use auth_type instead of deprecated auth_plugin"Jenkins11-14/+14