iscsid unavaiable after rebooting undercloud

Bug #1789771 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Incomplete
High
Unassigned

Bug Description

After rebooting the undercloud the iscsid container is stuck in a restart loop because it cannot bind IPC socket. This can lead to deployment failures because ironic cannot properly deploy the systems without iscsid

+ sudo -E kolla_set_configs
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Copying service configuration files
INFO:__main__:Deleting /etc/iscsi/iscsid.conf
INFO:__main__:Copying /var/lib/kolla/config_files/src-iscsid/iscsid.conf to /etc/iscsi/iscsid.conf
INFO:__main__:Deleting /etc/iscsi/initiatorname.iscsi
INFO:__main__:Copying /var/lib/kolla/config_files/src-iscsid/initiatorname.iscsi to /etc/iscsi/initiatorname.iscsi
INFO:__main__:Writing out command to execute
++ cat /run_command
+ CMD='/usr/sbin/iscsid -f'
+ ARGS=
+ [[ ! -n '' ]]
+ . kolla_extend_start
++ [[ ! -f /etc/iscsi/initiatorname.iscsi ]]
+ echo 'Running command: '\''/usr/sbin/iscsid -f'\'''
Running command: '/usr/sbin/iscsid -f'
+ exec /usr/sbin/iscsid -f
iscsid: Can not bind IPC socket
+ sudo -E kolla_set_configs
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Copying service configuration files
INFO:__main__:Deleting /etc/iscsi/iscsid.conf
INFO:__main__:Copying /var/lib/kolla/config_files/src-iscsid/iscsid.conf to /etc/iscsi/iscsid.conf
INFO:__main__:Deleting /etc/iscsi/initiatorname.iscsi
INFO:__main__:Copying /var/lib/kolla/config_files/src-iscsid/initiatorname.iscsi to /etc/iscsi/initiatorname.iscsi
INFO:__main__:Writing out command to execute
++ cat /run_command
+ CMD='/usr/sbin/iscsid -f'
+ ARGS=
+ [[ ! -n '' ]]
+ . kolla_extend_start
Running command: '/usr/sbin/iscsid -f'
++ [[ ! -f /etc/iscsi/initiatorname.iscsi ]]
+ echo 'Running command: '\''/usr/sbin/iscsid -f'\'''
+ exec /usr/sbin/iscsid -f
iscsid: Can not bind IPC socket
+ sudo -E kolla_set_configs
Running command: '/usr/sbin/iscsid -f'
Running command: '/usr/sbin/iscsid -f'
Running command: '/usr/sbin/iscsid -f'
Running command: '/usr/sbin/iscsid -f'
Running command: '/usr/sbin/iscsid -f'
Running command: '/usr/sbin/iscsid -f'
Running command: '/usr/sbin/iscsid -f'
+ sudo -E kolla_set_configs
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Copying service configuration files
INFO:__main__:Deleting /etc/iscsi/iscsid.conf
INFO:__main__:Copying /var/lib/kolla/config_files/src-iscsid/iscsid.conf to /etc/iscsi/iscsid.conf
INFO:__main__:Deleting /etc/iscsi/initiatorname.iscsi
INFO:__main__:Copying /var/lib/kolla/config_files/src-iscsid/initiatorname.iscsi to /etc/iscsi/initiatorname.iscsi
INFO:__main__:Writing out command to execute
++ cat /run_command
+ CMD='/usr/sbin/iscsid -f'
+ ARGS=
+ [[ ! -n '' ]]
+ . kolla_extend_start
++ [[ ! -f /etc/iscsi/initiatorname.iscsi ]]
+ echo 'Running command: '\''/usr/sbin/iscsid -f'\'''
+ exec /usr/sbin/iscsid -f
Running command: '/usr/sbin/iscsid -f'
iscsid: Can not bind IPC socket

tags: added: rocky-backport-potential
Revision history for this message
Alex Schultz (alex-schultz) wrote :

Looks like if iscsi-initiator-utils is installed on the undercloud it can prevent the container from starting properly

Revision history for this message
Emilien Macchi (emilienm) wrote :

I couldn't reproduce the bug on centos7 with libiscsi-1.9.0-7.el7.x86_64 and centos-binary-iscsid:9ad93affedba8870315dd72c714770875ce24759_b72f0c42.

Revision history for this message
Emilien Macchi (emilienm) wrote :

Also, note that on a fresh undercloud deployed by hand from a clean centos7 image, iscsi-initiator-utils wasn't installed.

Changed in tripleo:
status: Triaged → Invalid
Changed in tripleo:
status: Invalid → Incomplete
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → stein-rc1
Changed in tripleo:
milestone: stein-rc1 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.