Comment 8 for bug 1943977

Revision history for this message
Mat Clarke (matclarke-clarkesnet) wrote : Re: [Bug 1943977] Re: os_bricks fails to rerty "iscsiadm -m session" when iser_use_multipath and iscsi_use_multipath are set in nova.conf

I've now completed upgrade from rocky to train and the iscsiadm is still
failing on the first try but is retrying and succeeding on the second
try without your patch.

*2021-10-08 12:27:08.404* e3-211-rccn01 nova-compute.service 6
2021-10-08 12:27:08.402 4525 INFO os_brick.initiator.connectors.iscsi
[req-38f33f8a-4f80-4a75-a863-11be44ea4f79
630092b76ad44c22ac1d9cbfef23ad88 83f353251c8c4ddb8a70cd1a3c393d34 -
default default] Trying to connect to iSCSI portal 172.20.213.200:3260
*2021-10-08 12:27:05.214* e3-211-rccn01 nova-compute.service 4
2021-10-08 12:27:05.212 4525 WARNING os_brick.initiator.connectors.iscsi
[req-38f33f8a-4f80-4a75-a863-11be44ea4f79
630092b76ad44c22ac1d9cbfef23ad88 83f353251c8c4ddb8a70cd1a3c393d34 -
default default] iscsiadm stderr output when getting sessions: iscsiadm:
No active sessions.
*2021-10-08 12:27:05.139* e3-211-rccn01 nova-compute.service 6
2021-10-08 12:27:05.138 4525 INFO os_brick.initiator.connectors.iscsi
[req-38f33f8a-4f80-4a75-a863-11be44ea4f79
630092b76ad44c22ac1d9cbfef23ad88 83f353251c8c4ddb8a70cd1a3c393d34 -
default default] Trying to connect to iSCSI portal 172.20.213.200:3260

Thanks
Mat

On 05/10/2021 09:26, Mat Clarke (GMail) wrote:

> Sorry I didn't capture the exit code. I'm currently half way through
> the upgrade from Rocky to Train. I'll test once I'm fully migrated.
>
> On 04/10/2021 16:50, Sophie Huang wrote:
>> Mat,
>>
>> Do you know the exit code of your failed command? The retry I added only
>> handles exit code 6...
>>
>> Sophie
>>