Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-322

Intermittent ansible failure while formatting OpenStack volumes (/dev/vdb is already used...)

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • Workbench 1.2.0
    • None
    • Infrastructure
    • None

      During the ansible run of CoreOS Mount GLFS, I have seen this error only twice, and haven't been able to reliably reproduce it as of yet.

      The erroneous ansible task is:

      TASK [coreos-mount : Format Brick dev] *****************************************
      fatal: [gfs1]: FAILED! => {"changed": false, "err": "", "failed": true, "msg": "'/dev/vdb' is already used as xfs_external_log, use force=yes to overwrite", "rc": 0}
      changed: [gfs3]
      changed: [gfs4]
      changed: [gfs2]

      In context:

      PLAY [CoreOS Mount GLFS] *******************************************************
       
      TASK [setup] *******************************************************************
      ok: [gfs3]
      ok: [gfs2]
      ok: [gfs1]
      ok: [gfs4]
       
      TASK [coreos-mount : create /media/brick0] *************************************
      ok: [gfs2]
      ok: [gfs1]
      ok: [gfs4]
      ok: [gfs3]
       
      TASK [coreos-mount : Format Brick dev] *****************************************
      fatal: [gfs1]: FAILED! => {"changed": false, "err": "", "failed": true, "msg": "'/dev/vdb' is already used as xfs_external_log, use force=yes to overwrite", "rc": 0}
      changed: [gfs3]
      changed: [gfs4]
      changed: [gfs2]
       
      TASK [coreos-mount : create mount service media-brick0.mount job] **************
      changed: [gfs3]
      changed: [gfs4]
      changed: [gfs2]
       
      TASK [coreos-mount : notify systemd of config changes] *************************
      changed: [gfs4]
      changed: [gfs3]
      changed: [gfs2]
       
      TASK [coreos-mount : start media-brick0.mount and set to start on startup] *****
      changed: [gfs4]
      changed: [gfs2]
      changed: [gfs3]
       
      NO MORE HOSTS LEFT *************************************************************
       
      PLAY RECAP *********************************************************************
      gfs1                       : ok=41   changed=13   unreachable=0    failed=1   
      gfs2                       : ok=42   changed=15   unreachable=0    failed=0   
      gfs3                       : ok=42   changed=15   unreachable=0    failed=0   
      gfs4                       : ok=42   changed=15   unreachable=0    failed=0   
      loadbal                    : ok=33   changed=8    unreachable=0    failed=0   
      master1                    : ok=30   changed=8    unreachable=0    failed=0   
      node1                      : ok=30   changed=8    unreachable=0    failed=0   

      This ticket is complete when:

      • this issue can be reliably reproduced
      • the cause of the issue is determined
      • a fix is put into place to mitigate the issue

              Unassigned Unassigned
              lambert8 Sara Lambert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: