Forum
Welcome, Guest
Username: Password: Remember me
This is the optional category header for the Suggestion Box.

TOPIC:

HA-lizard Version 2.2.0 Trial 5 years 3 months ago #1737

  • Nathan Scannell
  • Nathan Scannell's Avatar Topic Author
  • Offline
  • Posts: 38
done

Please Log in or Create an account to join the conversation.

HA-lizard Version 2.2.0 Trial 5 years 3 months ago #1738

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
ha-lizard and iscsi-ha wait for xapi to fully initialize before starting.

Sequence of events:
00:03:33 - XAPI attempts to attach SR on 10.10.10.3 (which is not yet loaded)
00:03:36 - XAPI has finished starting (as reported by ha-lizard and iscsi-ha initializtion logic)
00:03:37 - ha-lizard AND iscsi-ha start
00:03:39 - XAPI makes final attempt to attach SR
00:03:50 - iscsi-ha loads floating IP 10.10.10.3

All of this is normal up until this point. This would normally be a race condition, but, since we cannot control the timing of events at boot, we attempt to auto-plug the PBD if we end up in this situation.

00:04:32 - iscsi-ha makes first attempt to plug the PBD and fails with error. It continues to try ~ every 10 seconds thereafter failing each time. XAPI has given up at this point and you end up with an un-attached SR.

Can you try changing line 198 of /etc/iscsi-ha/iscsi-ha.func an then try your test again?
FROM "if [ -n $PBD ]"
TO "if [[ -n ${PBD} ]]"

Please Log in or Create an account to join the conversation.

Last edit: by Salvatore Costantino.

HA-lizard Version 2.2.0 Trial 5 years 3 months ago #1739

  • Nathan Scannell
  • Nathan Scannell's Avatar Topic Author
  • Offline
  • Posts: 38
It appears that did the trick :)

Please Log in or Create an account to join the conversation.

HA-lizard Version 2.2.0 Trial 5 years 3 months ago #1740

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Great! Thanks for testing.
This was likely due to a change in the version of bash that ships with 7.6 as we have not seen this with all previous xenserver..

Please Log in or Create an account to join the conversation.