Update Iscsid puppet_config to reset host's IQN
The Iscsid service uses puppet to update the IQN of each node, so that all overcloud nodes have a unique IQN. When Iscsid is containerized, the new IQN is captured in the "puppet-generated" directory, and made available to other containers using bind mounts. However, any non-containerized service that uses the IQN will be seeing the host's value, instead of the new value made available to the containers. This IQN mismatch between containerized and non-containerized services will cause failures, typically with authentication. The problem is resolved by adding a bind mount to Iscsid's puppet_config that allows the iscsid container to update the host's IQN. Change-Id: I1cbcb858754cc4792a085438eb28f2476245228c
This commit is contained in:
parent
bb2b083b73
commit
697140281a
|
@ -68,6 +68,8 @@ outputs:
|
|||
puppet_tags: iscsid_config
|
||||
step_config: *step_config
|
||||
config_image: {get_param: DockerIscsidConfigImage}
|
||||
volumes:
|
||||
- /etc/iscsi:/etc/iscsi
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/iscsid.json:
|
||||
command: /usr/sbin/iscsid -f
|
||||
|
|
Loading…
Reference in New Issue