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
This commit is contained in:
parent
1057dcd50a
commit
80b7266ed1
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Looking up disks to bootstrap for Ceph
|
- name: Looking up disks to bootstrap for Ceph
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m find_disks
|
-m find_disks
|
||||||
-a "partition_name='KOLLA_CEPH_OSD_BOOTSTRAP'"
|
-a "partition_name='KOLLA_CEPH_OSD_BOOTSTRAP'"
|
||||||
register: osd_lookup
|
register: osd_lookup
|
||||||
@ -12,7 +12,7 @@
|
|||||||
osds_bootstrap: "{{ (osd_lookup.stdout.split('localhost | SUCCESS => ')[1]|from_json).disks|from_json }}"
|
osds_bootstrap: "{{ (osd_lookup.stdout.split('localhost | SUCCESS => ')[1]|from_json).disks|from_json }}"
|
||||||
|
|
||||||
- name: Looking up disks to bootstrap for Ceph
|
- name: Looking up disks to bootstrap for Ceph
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m find_disks
|
-m find_disks
|
||||||
-a "partition_name='KOLLA_CEPH_OSD_CACHE_BOOTSTRAP'"
|
-a "partition_name='KOLLA_CEPH_OSD_CACHE_BOOTSTRAP'"
|
||||||
register: osd_cache_lookup
|
register: osd_cache_lookup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Looking up OSDs for Ceph
|
- name: Looking up OSDs for Ceph
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m find_disks
|
-m find_disks
|
||||||
-a "partition_name='KOLLA_CEPH_DATA'"
|
-a "partition_name='KOLLA_CEPH_DATA'"
|
||||||
register: osd_lookup
|
register: osd_lookup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Cinder database
|
- name: Creating Cinder database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
@ -18,7 +18,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Cinder database user and setting permissions
|
- name: Creating Cinder database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Cinder service and endpoint
|
- name: Creating the Cinder service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=cinder
|
-a "service_name=cinder
|
||||||
service_type=volume
|
service_type=volume
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Cinder v2 service and endpoint
|
- name: Creating the Cinder v2 service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=cinderv2
|
-a "service_name=cinderv2
|
||||||
service_type=volumev2
|
service_type=volumev2
|
||||||
@ -40,7 +40,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Cinder project, user, and role
|
- name: Creating the Cinder project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user=cinder
|
user=cinder
|
||||||
|
@ -6,7 +6,7 @@ common_run: False
|
|||||||
####################
|
####################
|
||||||
# Docker
|
# Docker
|
||||||
####################
|
####################
|
||||||
ansible_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-kolla-ansible"
|
ansible_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-kolla-toolbox"
|
||||||
ansible_tag: "{{ openstack_release }}"
|
ansible_tag: "{{ openstack_release }}"
|
||||||
ansible_image_full: "{{ ansible_image }}:{{ ansible_tag }}"
|
ansible_image_full: "{{ ansible_image }}:{{ ansible_tag }}"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ rsyslog_image_full }}"
|
image: "{{ rsyslog_image_full }}"
|
||||||
|
|
||||||
- name: Pulling kolla-ansible image
|
- name: Pulling kolla-toolbox image
|
||||||
kolla_docker:
|
kolla_docker:
|
||||||
action: "pull_image"
|
action: "pull_image"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
- "/var/lib/kolla/dev:/dev"
|
- "/var/lib/kolla/dev:/dev"
|
||||||
- "rsyslog:/var/log"
|
- "rsyslog:/var/log"
|
||||||
|
|
||||||
- name: Starting kolla-ansible container
|
- name: Starting kolla-toolbox container
|
||||||
kolla_docker:
|
kolla_docker:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
@ -19,7 +19,7 @@
|
|||||||
ANSIBLE_NOCOLOR: "1"
|
ANSIBLE_NOCOLOR: "1"
|
||||||
ANSIBLE_LIBRARY: "/usr/share/ansible"
|
ANSIBLE_LIBRARY: "/usr/share/ansible"
|
||||||
image: "{{ ansible_image_full }}"
|
image: "{{ ansible_image_full }}"
|
||||||
name: "kolla_ansible"
|
name: "kolla_toolbox"
|
||||||
privileged: True
|
privileged: True
|
||||||
volumes:
|
volumes:
|
||||||
- "/dev/:/dev/"
|
- "/dev/:/dev/"
|
||||||
|
@ -6,8 +6,8 @@ $KLogPermitNonKernelFacility on
|
|||||||
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
||||||
$RepeatedMsgReduction on
|
$RepeatedMsgReduction on
|
||||||
|
|
||||||
$template KollaAnsibleFile,"/var/log/kolla_ansible.log"
|
$template KollaToolboxFile,"/var/log/kolla_toolbox.log"
|
||||||
:syslogtag,contains,"ansible" ?KollaAnsibleFile
|
:syslogtag,contains,"toolbox" ?KollaToolboxFile
|
||||||
|
|
||||||
$template GlanceApiFile,"/var/log/glance/glance_api.log"
|
$template GlanceApiFile,"/var/log/glance/glance_api.log"
|
||||||
:syslogtag,contains,"glance-api" ?GlanceApiFile
|
:syslogtag,contains,"glance-api" ?GlanceApiFile
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Glance database
|
- name: Creating Glance database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
@ -19,7 +19,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Glance database user and setting permissions
|
- name: Creating Glance database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Glance sanity checks
|
- name: Glance sanity checks
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_sanity
|
-m kolla_sanity
|
||||||
-a "service=glance
|
-a "service=glance
|
||||||
project=service
|
project=service
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Glance service and endpoint
|
- name: Creating the Glance service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=glance
|
-a "service_name=glance
|
||||||
service_type=image
|
service_type=image
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Glance project, user, and role
|
- name: Creating the Glance project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user=glance
|
user=glance
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Heat database
|
- name: Creating Heat database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
@ -18,7 +18,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Heat database user and setting permissions
|
- name: Creating Heat database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Heat service and endpoint
|
- name: Creating the Heat service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=heat
|
-a "service_name=heat
|
||||||
service_type=orchestration
|
service_type=orchestration
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Heat-cfn service and endpoint
|
- name: Creating the Heat-cfn service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=heat-cfn
|
-a "service_name=heat-cfn
|
||||||
service_type=orchestration
|
service_type=orchestration
|
||||||
@ -40,7 +40,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Heat project, user, and role
|
- name: Creating the Heat project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user=heat
|
user=heat
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Ironic database
|
- name: Creating Ironic database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_port='{{ mariadb_port }}'
|
login_port='{{ mariadb_port }}'
|
||||||
@ -19,7 +19,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Ironic database user and setting permissions
|
- name: Creating Ironic database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_port='{{ mariadb_port }}'
|
login_port='{{ mariadb_port }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Ironic service and endpoint
|
- name: Creating the Ironic service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=ironic
|
-a "service_name=ironic
|
||||||
service_type=baremetal
|
service_type=baremetal
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Ironic project, user, and role
|
- name: Creating the Ironic project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user={{ ironic_keystone_user }}
|
user={{ ironic_keystone_user }}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Keystone database
|
- name: Creating Keystone database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_port='{{ mariadb_port }}'
|
login_port='{{ mariadb_port }}'
|
||||||
@ -19,7 +19,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Keystone database user and setting permissions
|
- name: Creating Keystone database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_port='{{ mariadb_port }}'
|
login_port='{{ mariadb_port }}'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Keystone sanity checks
|
- name: Keystone sanity checks
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_sanity
|
-m kolla_sanity
|
||||||
-a "service=keystone
|
-a "service=keystone
|
||||||
project=service
|
project=service
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the admin project, user and role
|
- name: Creating the admin project, user and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=admin
|
-a "project=admin
|
||||||
user=admin
|
user=admin
|
||||||
@ -18,7 +18,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Keystone service and endpoint
|
- name: Creating the Keystone service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=keystone
|
-a "service_name=keystone
|
||||||
service_type=identity
|
service_type=identity
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Magnum database
|
- name: Creating Magnum database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
@ -18,7 +18,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Magnum database user and setting permissions
|
- name: Creating Magnum database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Magnum service and endpoint
|
- name: Creating the Magnum service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=magnum
|
-a "service_name=magnum
|
||||||
service_type=container
|
service_type=container
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Magnum project, user, and role
|
- name: Creating the Magnum project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user=magnum
|
user=magnum
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating haproxy mysql user
|
- name: Creating haproxy mysql user
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}'
|
-a "login_host='{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}'
|
||||||
login_port='{{ mariadb_port }}'
|
login_port='{{ mariadb_port }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Mistral database
|
- name: Creating Mistral database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
@ -19,7 +19,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Mistral database user and setting permissions
|
- name: Creating Mistral database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Mistral service and endpoint
|
- name: Creating the Mistral service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=mistral
|
-a "service_name=mistral
|
||||||
service_type=application_catalog
|
service_type=application_catalog
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Mistral project, user, and role
|
- name: Creating the Mistral project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user=mistral
|
user=mistral
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Murano database
|
- name: Creating Murano database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
@ -19,7 +19,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Murano database user and setting permissions
|
- name: Creating Murano database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Murano service and endpoint
|
- name: Creating the Murano service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=murano
|
-a "service_name=murano
|
||||||
service_type=application_catalog
|
service_type=application_catalog
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Murano project, user, and role
|
- name: Creating the Murano project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user=murano
|
user=murano
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Neutron database
|
- name: Creating Neutron database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
@ -18,7 +18,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Neutron database user and setting permissions
|
- name: Creating Neutron database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Neutron service and endpoint
|
- name: Creating the Neutron service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=neutron
|
-a "service_name=neutron
|
||||||
service_type=network
|
service_type=network
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Neutron project, user, and role
|
- name: Creating the Neutron project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user=neutron
|
user=neutron
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating Nova database
|
- name: Creating Nova database
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_db
|
-m mysql_db
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
@ -18,7 +18,7 @@
|
|||||||
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
database_created: "{{ (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}"
|
||||||
|
|
||||||
- name: Creating Nova database user and setting permissions
|
- name: Creating Nova database user and setting permissions
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m mysql_user
|
-m mysql_user
|
||||||
-a "login_host='{{ database_address }}'
|
-a "login_host='{{ database_address }}'
|
||||||
login_user='{{ database_user }}'
|
login_user='{{ database_user }}'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Nova service and endpoint
|
- name: Creating the Nova service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=nova
|
-a "service_name=nova
|
||||||
service_type=compute
|
service_type=compute
|
||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
- name: Creating the Nova project, user, and role
|
- name: Creating the Nova project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user=nova
|
user=nova
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Creating the Swift service and endpoint
|
- name: Creating the Swift service and endpoint
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_service
|
-m kolla_keystone_service
|
||||||
-a "service_name=swift
|
-a "service_name=swift
|
||||||
service_type=object-store
|
service_type=object-store
|
||||||
@ -20,7 +20,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating the Swift project, user, and role
|
- name: Creating the Swift project, user, and role
|
||||||
command: docker exec -t kolla_ansible /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
||||||
-m kolla_keystone_user
|
-m kolla_keystone_user
|
||||||
-a "project=service
|
-a "project=service
|
||||||
user={{ swift_keystone_user }}
|
user={{ swift_keystone_user }}
|
||||||
|
@ -26,7 +26,7 @@ INSTALL_TYPE_CHOICES = ['binary', 'source', 'rdo', 'rhos']
|
|||||||
_PROFILE_OPTS = [
|
_PROFILE_OPTS = [
|
||||||
cfg.ListOpt('infra',
|
cfg.ListOpt('infra',
|
||||||
default=['ceph', 'data', 'mariadb', 'haproxy',
|
default=['ceph', 'data', 'mariadb', 'haproxy',
|
||||||
'keepalived', 'kolla-ansible', 'memcached',
|
'keepalived', 'kolla-toolbox', 'memcached',
|
||||||
'mongodb', 'openvswitch', 'rabbitmq', 'rsyslog'],
|
'mongodb', 'openvswitch', 'rabbitmq', 'rsyslog'],
|
||||||
help='Infra images'),
|
help='Infra images'),
|
||||||
cfg.ListOpt('main',
|
cfg.ListOpt('main',
|
||||||
@ -39,14 +39,14 @@ _PROFILE_OPTS = [
|
|||||||
'magnum', 'mistral', 'trove,' 'zaqar', 'zookeeper'],
|
'magnum', 'mistral', 'trove,' 'zaqar', 'zookeeper'],
|
||||||
help='Aux Images'),
|
help='Aux Images'),
|
||||||
cfg.ListOpt('default',
|
cfg.ListOpt('default',
|
||||||
default=['data', 'kolla-ansible', 'glance', 'haproxy',
|
default=['data', 'kolla-toolbox', 'glance', 'haproxy',
|
||||||
'heat', 'horizon', 'keepalived', 'keystone',
|
'heat', 'horizon', 'keepalived', 'keystone',
|
||||||
'memcached', 'mariadb', 'neutron', 'nova',
|
'memcached', 'mariadb', 'neutron', 'nova',
|
||||||
'openvswitch', 'rabbitmq', 'rsyslog'],
|
'openvswitch', 'rabbitmq', 'rsyslog'],
|
||||||
help='Default images'),
|
help='Default images'),
|
||||||
cfg.ListOpt('gate',
|
cfg.ListOpt('gate',
|
||||||
default=['ceph', 'cinder', 'glance', 'haproxy', 'heat',
|
default=['ceph', 'cinder', 'glance', 'haproxy', 'heat',
|
||||||
'horizon', 'keepalived', 'keystone', 'kolla-ansible',
|
'horizon', 'keepalived', 'keystone', 'kolla-toolbox',
|
||||||
'mariadb', 'memcached', 'neutron', 'nova',
|
'mariadb', 'memcached', 'neutron', 'nova',
|
||||||
'openvswitch', 'rabbitmq', 'rsyslog'],
|
'openvswitch', 'rabbitmq', 'rsyslog'],
|
||||||
help='Gate images'),
|
help='Gate images'),
|
||||||
|
@ -18,7 +18,7 @@ else
|
|||||||
ironic-{discoverd,conductor,api,pxe} \
|
ironic-{discoverd,conductor,api,pxe} \
|
||||||
keepalived \
|
keepalived \
|
||||||
keystone \
|
keystone \
|
||||||
kolla_ansible \
|
kolla_toolbox \
|
||||||
magnum_{api,conductor} \
|
magnum_{api,conductor} \
|
||||||
manila_{api,share,scheduler} \
|
manila_{api,share,scheduler} \
|
||||||
mariadb \
|
mariadb \
|
||||||
|
Loading…
Reference in New Issue
Block a user