Merge "Refactor iscsi initiator-name reset into separate service"
This commit is contained in:
commit
84e6bff8a6
@ -57,6 +57,7 @@
|
|||||||
- OS::TripleO::Services::NovaLibvirt
|
- OS::TripleO::Services::NovaLibvirt
|
||||||
- OS::TripleO::Services::MySQLClient
|
- OS::TripleO::Services::MySQLClient
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
|
|
||||||
- name: Controller
|
- name: Controller
|
||||||
CountDefault: 1
|
CountDefault: 1
|
||||||
@ -79,3 +80,4 @@
|
|||||||
- OS::TripleO::Services::TripleoPackages
|
- OS::TripleO::Services::TripleoPackages
|
||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
|
@ -60,6 +60,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::NovaCompute
|
- OS::TripleO::Services::NovaCompute
|
||||||
- OS::TripleO::Services::NovaLibvirt
|
- OS::TripleO::Services::NovaLibvirt
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -58,6 +58,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::Horizon
|
- OS::TripleO::Services::Horizon
|
||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -57,6 +57,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::Pacemaker
|
- OS::TripleO::Services::Pacemaker
|
||||||
- OS::TripleO::Services::Horizon
|
- OS::TripleO::Services::Horizon
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -89,6 +89,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::FluentdClient
|
- OS::TripleO::Services::FluentdClient
|
||||||
- OS::TripleO::Services::SensuClient
|
- OS::TripleO::Services::SensuClient
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
|
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
|
@ -87,6 +87,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::FluentdClient
|
- OS::TripleO::Services::FluentdClient
|
||||||
- OS::TripleO::Services::SensuClient
|
- OS::TripleO::Services::SensuClient
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
|
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
|
@ -67,6 +67,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::TripleoPackages
|
- OS::TripleO::Services::TripleoPackages
|
||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -66,6 +66,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::TripleoPackages
|
- OS::TripleO::Services::TripleoPackages
|
||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -62,6 +62,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::TripleoPackages
|
- OS::TripleO::Services::TripleoPackages
|
||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -59,6 +59,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::TripleoPackages
|
- OS::TripleO::Services::TripleoPackages
|
||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -77,6 +77,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::TripleoPackages
|
- OS::TripleO::Services::TripleoPackages
|
||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -77,6 +77,7 @@ parameter_defaults:
|
|||||||
- OS::TripleO::Services::TripleoPackages
|
- OS::TripleO::Services::TripleoPackages
|
||||||
- OS::TripleO::Services::TripleoFirewall
|
- OS::TripleO::Services::TripleoFirewall
|
||||||
- OS::TripleO::Services::Sshd
|
- OS::TripleO::Services::Sshd
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
ControllerExtraConfig:
|
ControllerExtraConfig:
|
||||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
- OS::TripleO::Services::HeatApiCfn
|
- OS::TripleO::Services::HeatApiCfn
|
||||||
- OS::TripleO::Services::HeatApiCloudwatch
|
- OS::TripleO::Services::HeatApiCloudwatch
|
||||||
- OS::TripleO::Services::HeatEngine
|
- OS::TripleO::Services::HeatEngine
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
- OS::TripleO::Services::MySQL
|
- OS::TripleO::Services::MySQL
|
||||||
- OS::TripleO::Services::MySQLClient
|
- OS::TripleO::Services::MySQLClient
|
||||||
- OS::TripleO::Services::NeutronDhcpAgent
|
- OS::TripleO::Services::NeutronDhcpAgent
|
||||||
@ -130,6 +131,7 @@
|
|||||||
- OS::TripleO::Services::OpenDaylightOvs
|
- OS::TripleO::Services::OpenDaylightOvs
|
||||||
- OS::TripleO::Services::SensuClient
|
- OS::TripleO::Services::SensuClient
|
||||||
- OS::TripleO::Services::FluentdClient
|
- OS::TripleO::Services::FluentdClient
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
|
|
||||||
- name: BlockStorageDeployedServer
|
- name: BlockStorageDeployedServer
|
||||||
disable_constraints: True
|
disable_constraints: True
|
||||||
|
@ -84,6 +84,10 @@ outputs:
|
|||||||
dest: "/"
|
dest: "/"
|
||||||
merge: true
|
merge: true
|
||||||
preserve_properties: true
|
preserve_properties: true
|
||||||
|
- source: "/var/lib/kolla/config_files/src-iscsid/*"
|
||||||
|
dest: "/"
|
||||||
|
merge: true
|
||||||
|
preserve_properties: true
|
||||||
permissions:
|
permissions:
|
||||||
- path: /var/lib/cinder
|
- path: /var/lib/cinder
|
||||||
owner: cinder:cinder
|
owner: cinder:cinder
|
||||||
@ -113,13 +117,13 @@ outputs:
|
|||||||
-
|
-
|
||||||
- /var/lib/kolla/config_files/cinder_backup.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/cinder_backup.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/puppet-generated/cinder/:/var/lib/kolla/config_files/src:ro
|
- /var/lib/config-data/puppet-generated/cinder/:/var/lib/kolla/config_files/src:ro
|
||||||
|
- /var/lib/config-data/puppet-generated/iscsid/:/var/lib/kolla/config_files/src-iscsid:ro
|
||||||
# FIXME: we need to generate a ceph.conf with puppet for this
|
# FIXME: we need to generate a ceph.conf with puppet for this
|
||||||
- /var/lib/config-data/puppet-generated/ceph/:/var/lib/kolla/config_files/src-ceph:ro
|
- /var/lib/config-data/puppet-generated/ceph/:/var/lib/kolla/config_files/src-ceph:ro
|
||||||
- /dev/:/dev/
|
- /dev/:/dev/
|
||||||
- /run/:/run/
|
- /run/:/run/
|
||||||
- /sys:/sys
|
- /sys:/sys
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /etc/iscsi:/etc/iscsi
|
|
||||||
- /var/lib/cinder:/var/lib/cinder
|
- /var/lib/cinder:/var/lib/cinder
|
||||||
- /var/log/containers/cinder:/var/log/cinder
|
- /var/log/containers/cinder:/var/log/cinder
|
||||||
environment:
|
environment:
|
||||||
|
@ -98,6 +98,10 @@ outputs:
|
|||||||
dest: "/"
|
dest: "/"
|
||||||
merge: true
|
merge: true
|
||||||
preserve_properties: true
|
preserve_properties: true
|
||||||
|
- source: "/var/lib/kolla/config_files/src-iscsid/*"
|
||||||
|
dest: "/"
|
||||||
|
merge: true
|
||||||
|
preserve_properties: true
|
||||||
permissions:
|
permissions:
|
||||||
- path: /var/log/cinder
|
- path: /var/log/cinder
|
||||||
owner: cinder:cinder
|
owner: cinder:cinder
|
||||||
@ -124,13 +128,13 @@ outputs:
|
|||||||
-
|
-
|
||||||
- /var/lib/kolla/config_files/cinder_volume.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/cinder_volume.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/puppet-generated/cinder/:/var/lib/kolla/config_files/src:ro
|
- /var/lib/config-data/puppet-generated/cinder/:/var/lib/kolla/config_files/src:ro
|
||||||
|
- /var/lib/config-data/puppet-generated/iscsid/:/var/lib/kolla/config_files/src-iscsid:ro
|
||||||
# FIXME: we need to generate a ceph.conf with puppet for this
|
# FIXME: we need to generate a ceph.conf with puppet for this
|
||||||
- /var/lib/config-data/puppet-generated/ceph/:/var/lib/kolla/config_files/src-ceph:ro
|
- /var/lib/config-data/puppet-generated/ceph/:/var/lib/kolla/config_files/src-ceph:ro
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /dev/:/dev/
|
- /dev/:/dev/
|
||||||
- /run/:/run/
|
- /run/:/run/
|
||||||
- /sys:/sys
|
- /sys:/sys
|
||||||
- /etc/iscsi:/etc/iscsi
|
|
||||||
- /var/lib/cinder:/var/lib/cinder
|
- /var/lib/cinder:/var/lib/cinder
|
||||||
- /var/log/containers/cinder:/var/log/cinder
|
- /var/log/containers/cinder:/var/log/cinder
|
||||||
environment:
|
environment:
|
||||||
|
@ -42,23 +42,38 @@ resources:
|
|||||||
ContainersCommon:
|
ContainersCommon:
|
||||||
type: ./containers-common.yaml
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
|
IscsidBase:
|
||||||
|
type: ../../puppet/services/iscsid.yaml
|
||||||
|
properties:
|
||||||
|
EndpointMap: {get_param: EndpointMap}
|
||||||
|
ServiceNetMap: {get_param: ServiceNetMap}
|
||||||
|
DefaultPasswords: {get_param: DefaultPasswords}
|
||||||
|
RoleName: {get_param: RoleName}
|
||||||
|
RoleParameters: {get_param: RoleParameters}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
description: Role data for the Iscsid API role.
|
description: Role data for the Iscsid role.
|
||||||
value:
|
value:
|
||||||
service_name: iscsid
|
service_name: {get_attr: [IscsidBase, role_data, service_name]}
|
||||||
config_settings: {}
|
config_settings: {get_attr: [IscsidBase, role_data, config_settings]}
|
||||||
step_config: ''
|
step_config: &step_config
|
||||||
service_config_settings: {}
|
{get_attr: [IscsidBase, role_data, step_config]}
|
||||||
|
service_config_settings: {get_attr: [IscsidBase, role_data, service_config_settings]}
|
||||||
# BEGIN DOCKER SETTINGS
|
# BEGIN DOCKER SETTINGS
|
||||||
puppet_config:
|
puppet_config:
|
||||||
config_volume: iscsid
|
config_volume: iscsid
|
||||||
#puppet_tags: file
|
puppet_tags: iscsid_config
|
||||||
step_config: ''
|
step_config: *step_config
|
||||||
config_image: {get_param: DockerIscsidConfigImage}
|
config_image: {get_param: DockerIscsidConfigImage}
|
||||||
kolla_config:
|
kolla_config:
|
||||||
/var/lib/kolla/config_files/iscsid.json:
|
/var/lib/kolla/config_files/iscsid.json:
|
||||||
command: /usr/sbin/iscsid -f
|
command: /usr/sbin/iscsid -f
|
||||||
|
config_files:
|
||||||
|
- source: "/var/lib/kolla/config_files/src-iscsid/*"
|
||||||
|
dest: "/"
|
||||||
|
merge: true
|
||||||
|
preserve_properties: true
|
||||||
docker_config:
|
docker_config:
|
||||||
step_3:
|
step_3:
|
||||||
iscsid:
|
iscsid:
|
||||||
@ -76,14 +91,10 @@ outputs:
|
|||||||
- /run/:/run/
|
- /run/:/run/
|
||||||
- /sys:/sys
|
- /sys:/sys
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /etc/iscsi:/etc/iscsi
|
- /var/lib/config-data/puppet-generated/iscsid/:/var/lib/kolla/config_files/src-iscsid:ro
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
- name: create /etc/iscsi
|
|
||||||
file:
|
|
||||||
path: /etc/iscsi
|
|
||||||
state: directory
|
|
||||||
- name: stat /lib/systemd/system/iscsid.socket
|
- name: stat /lib/systemd/system/iscsid.socket
|
||||||
stat: path=/lib/systemd/system/iscsid.socket
|
stat: path=/lib/systemd/system/iscsid.socket
|
||||||
register: stat_iscsid_socket
|
register: stat_iscsid_socket
|
||||||
|
@ -59,6 +59,11 @@ outputs:
|
|||||||
kolla_config:
|
kolla_config:
|
||||||
/var/lib/kolla/config_files/multipathd.json:
|
/var/lib/kolla/config_files/multipathd.json:
|
||||||
command: /usr/sbin/multipathd -d
|
command: /usr/sbin/multipathd -d
|
||||||
|
config_files:
|
||||||
|
- source: "/var/lib/kolla/config_files/src-iscsid/*"
|
||||||
|
dest: "/"
|
||||||
|
merge: true
|
||||||
|
preserve_properties: true
|
||||||
docker_config:
|
docker_config:
|
||||||
step_3:
|
step_3:
|
||||||
multipathd:
|
multipathd:
|
||||||
@ -72,11 +77,11 @@ outputs:
|
|||||||
- {get_attr: [ContainersCommon, volumes]}
|
- {get_attr: [ContainersCommon, volumes]}
|
||||||
-
|
-
|
||||||
- /var/lib/kolla/config_files/multipathd.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/multipathd.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
|
- /var/lib/config-data/puppet-generated/iscsid/:/var/lib/kolla/config_files/src-iscsid:ro
|
||||||
- /dev/:/dev/
|
- /dev/:/dev/
|
||||||
- /run/:/run/
|
- /run/:/run/
|
||||||
- /sys:/sys
|
- /sys:/sys
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /etc/iscsi:/etc/iscsi
|
|
||||||
- /var/lib/cinder:/var/lib/cinder
|
- /var/lib/cinder:/var/lib/cinder
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -81,6 +81,10 @@ outputs:
|
|||||||
dest: "/"
|
dest: "/"
|
||||||
merge: true
|
merge: true
|
||||||
preserve_properties: true
|
preserve_properties: true
|
||||||
|
- source: "/var/lib/kolla/config_files/src-iscsid/*"
|
||||||
|
dest: "/"
|
||||||
|
merge: true
|
||||||
|
preserve_properties: true
|
||||||
permissions:
|
permissions:
|
||||||
- path: /var/log/nova
|
- path: /var/log/nova
|
||||||
owner: nova:nova
|
owner: nova:nova
|
||||||
@ -103,8 +107,8 @@ outputs:
|
|||||||
-
|
-
|
||||||
- /var/lib/kolla/config_files/nova_compute.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova_compute.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/puppet-generated/nova_libvirt/:/var/lib/kolla/config_files/src:ro
|
- /var/lib/config-data/puppet-generated/nova_libvirt/:/var/lib/kolla/config_files/src:ro
|
||||||
|
- /var/lib/config-data/puppet-generated/iscsid/:/var/lib/kolla/config_files/src-iscsid:ro
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /etc/iscsi:/etc/iscsi
|
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /var/lib/nova:/var/lib/nova
|
- /var/lib/nova:/var/lib/nova
|
||||||
|
@ -73,6 +73,10 @@ outputs:
|
|||||||
dest: "/"
|
dest: "/"
|
||||||
merge: true
|
merge: true
|
||||||
preserve_properties: true
|
preserve_properties: true
|
||||||
|
- source: "/var/lib/kolla/config_files/src-iscsid/*"
|
||||||
|
dest: "/"
|
||||||
|
merge: true
|
||||||
|
preserve_properties: true
|
||||||
permissions:
|
permissions:
|
||||||
- path: /var/log/nova
|
- path: /var/log/nova
|
||||||
owner: nova:nova
|
owner: nova:nova
|
||||||
@ -94,9 +98,9 @@ outputs:
|
|||||||
-
|
-
|
||||||
- /var/lib/kolla/config_files/nova_ironic.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova_ironic.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/puppet-generated/nova/:/var/lib/kolla/config_files/src:ro
|
- /var/lib/config-data/puppet-generated/nova/:/var/lib/kolla/config_files/src:ro
|
||||||
|
- /var/lib/config-data/puppet-generated/iscsid/:/var/lib/kolla/config_files/src-iscsid:ro
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /etc/iscsi:/etc/iscsi
|
|
||||||
- /var/lib/nova/:/var/lib/nova
|
- /var/lib/nova/:/var/lib/nova
|
||||||
- /var/log/containers/nova:/var/log/nova
|
- /var/log/containers/nova:/var/log/nova
|
||||||
environment:
|
environment:
|
||||||
|
@ -109,6 +109,7 @@
|
|||||||
- OS::TripleO::Services::CinderHPELeftHandISCSI
|
- OS::TripleO::Services::CinderHPELeftHandISCSI
|
||||||
- OS::TripleO::Services::Etcd
|
- OS::TripleO::Services::Etcd
|
||||||
- OS::TripleO::Services::AuditD
|
- OS::TripleO::Services::AuditD
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
|
|
||||||
- name: Compute
|
- name: Compute
|
||||||
CountDefault: 1
|
CountDefault: 1
|
||||||
@ -138,6 +139,7 @@
|
|||||||
- OS::TripleO::Services::SensuClient
|
- OS::TripleO::Services::SensuClient
|
||||||
- OS::TripleO::Services::FluentdClient
|
- OS::TripleO::Services::FluentdClient
|
||||||
- OS::TripleO::Services::AuditD
|
- OS::TripleO::Services::AuditD
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
|
|
||||||
- name: BlockStorage
|
- name: BlockStorage
|
||||||
ServicesDefault:
|
ServicesDefault:
|
||||||
@ -205,6 +207,7 @@
|
|||||||
- OS::TripleO::Services::TripleoPackages
|
- OS::TripleO::Services::TripleoPackages
|
||||||
- OS::TripleO::Services::SensuClient
|
- OS::TripleO::Services::SensuClient
|
||||||
- OS::TripleO::Services::FluentdClient
|
- OS::TripleO::Services::FluentdClient
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
|
|
||||||
- name: ContrailAnalytics
|
- name: ContrailAnalytics
|
||||||
ServicesDefault:
|
ServicesDefault:
|
||||||
|
@ -20,6 +20,7 @@ resource_registry:
|
|||||||
OS::TripleO::Services::HeatApi: ../docker/services/heat-api.yaml
|
OS::TripleO::Services::HeatApi: ../docker/services/heat-api.yaml
|
||||||
OS::TripleO::Services::HeatApiCfn: ../docker/services/heat-api-cfn.yaml
|
OS::TripleO::Services::HeatApiCfn: ../docker/services/heat-api-cfn.yaml
|
||||||
OS::TripleO::Services::HeatEngine: ../docker/services/heat-engine.yaml
|
OS::TripleO::Services::HeatEngine: ../docker/services/heat-engine.yaml
|
||||||
|
OS::TripleO::Services::Iscsid: ../docker/services/iscsid.yaml
|
||||||
OS::TripleO::Services::Keystone: ../docker/services/keystone.yaml
|
OS::TripleO::Services::Keystone: ../docker/services/keystone.yaml
|
||||||
OS::TripleO::Services::NeutronApi: ../docker/services/neutron-api.yaml
|
OS::TripleO::Services::NeutronApi: ../docker/services/neutron-api.yaml
|
||||||
OS::TripleO::Services::NeutronCorePlugin: ../docker/services/neutron-plugin-ml2.yaml
|
OS::TripleO::Services::NeutronCorePlugin: ../docker/services/neutron-plugin-ml2.yaml
|
||||||
|
@ -170,6 +170,7 @@ resource_registry:
|
|||||||
OS::TripleO::Services::HAproxy: puppet/services/haproxy.yaml
|
OS::TripleO::Services::HAproxy: puppet/services/haproxy.yaml
|
||||||
OS::TripleO::Services::HAProxyPublicTLS: OS::Heat::None
|
OS::TripleO::Services::HAProxyPublicTLS: OS::Heat::None
|
||||||
OS::TripleO::Services::HAProxyInternalTLS: OS::Heat::None
|
OS::TripleO::Services::HAProxyInternalTLS: OS::Heat::None
|
||||||
|
OS::TripleO::Services::Iscsid: puppet/services/iscsid.yaml
|
||||||
OS::TripleO::Services::Keepalived: puppet/services/keepalived.yaml
|
OS::TripleO::Services::Keepalived: puppet/services/keepalived.yaml
|
||||||
OS::TripleO::Services::Memcached: puppet/services/memcached.yaml
|
OS::TripleO::Services::Memcached: puppet/services/memcached.yaml
|
||||||
OS::TripleO::Services::SaharaApi: OS::Heat::None
|
OS::TripleO::Services::SaharaApi: OS::Heat::None
|
||||||
|
41
puppet/services/iscsid.yaml
Normal file
41
puppet/services/iscsid.yaml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
heat_template_version: pike
|
||||||
|
|
||||||
|
description: >
|
||||||
|
Configure iscsid
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
ServiceData:
|
||||||
|
default: {}
|
||||||
|
description: Dictionary packing service data
|
||||||
|
type: json
|
||||||
|
ServiceNetMap:
|
||||||
|
default: {}
|
||||||
|
description: Mapping of service_name -> network name. Typically set
|
||||||
|
via parameter_defaults in the resource registry. This
|
||||||
|
mapping overrides those in ServiceNetMapDefaults.
|
||||||
|
type: json
|
||||||
|
DefaultPasswords:
|
||||||
|
default: {}
|
||||||
|
type: json
|
||||||
|
RoleName:
|
||||||
|
default: ''
|
||||||
|
description: Role name on which the service is applied
|
||||||
|
type: string
|
||||||
|
RoleParameters:
|
||||||
|
default: {}
|
||||||
|
description: Parameters specific to the role
|
||||||
|
type: json
|
||||||
|
EndpointMap:
|
||||||
|
default: {}
|
||||||
|
description: Mapping of service endpoint -> protocol. Typically set
|
||||||
|
via parameter_defaults in the resource registry.
|
||||||
|
type: json
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
role_data:
|
||||||
|
description: Role data for iscsid
|
||||||
|
value:
|
||||||
|
service_name: iscsid
|
||||||
|
config_setting: {}
|
||||||
|
step_config: |
|
||||||
|
include ::tripleo::profile::base::iscsid
|
@ -57,6 +57,7 @@
|
|||||||
- OS::TripleO::Services::Horizon
|
- OS::TripleO::Services::Horizon
|
||||||
- OS::TripleO::Services::IronicApi
|
- OS::TripleO::Services::IronicApi
|
||||||
- OS::TripleO::Services::IronicConductor
|
- OS::TripleO::Services::IronicConductor
|
||||||
|
- OS::TripleO::Services::Iscsid
|
||||||
- OS::TripleO::Services::Keepalived
|
- OS::TripleO::Services::Keepalived
|
||||||
- OS::TripleO::Services::Kernel
|
- OS::TripleO::Services::Kernel
|
||||||
- OS::TripleO::Services::Keystone
|
- OS::TripleO::Services::Keystone
|
||||||
|
@ -152,6 +152,7 @@ Example
|
|||||||
* OS::TripleO::Services::ComputeNeutronOvsAgent
|
* OS::TripleO::Services::ComputeNeutronOvsAgent
|
||||||
* OS::TripleO::Services::Docker
|
* OS::TripleO::Services::Docker
|
||||||
* OS::TripleO::Services::FluentdClient
|
* OS::TripleO::Services::FluentdClient
|
||||||
|
* OS::TripleO::Services::Iscsid
|
||||||
* OS::TripleO::Services::Kernel
|
* OS::TripleO::Services::Kernel
|
||||||
* OS::TripleO::Services::MySQLClient
|
* OS::TripleO::Services::MySQLClient
|
||||||
* OS::TripleO::Services::NeutronSriovAgent
|
* OS::TripleO::Services::NeutronSriovAgent
|
||||||
|
Loading…
Reference in New Issue
Block a user