swap file creation fails because /root/swapfile is already mounted?

Bug #1865174 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
High
Unassigned

Bug Description

https://logserver.rdoproject.org/openstack-periodic-master/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-standalone-master/278d951/job-output.txt

2020-02-28 09:16:50.432452 | TASK [configure-swap : include]
2020-02-28 09:16:50.499671 | primary | ok
2020-02-28 09:16:50.540771 | primary | included: /var/lib/zuul/builds/278d9512175e407a97da35ec036fc2c1/untrusted/project_4/opendev.org/openstack/openstack-zuul-jobs/roles/configure-swap/tasks/root.yaml
2020-02-28 09:16:50.567621 |
2020-02-28 09:16:50.567826 | TASK [configure-swap : Calculate required swap]
2020-02-28 09:16:50.651866 | primary | ok
2020-02-28 09:16:50.682989 |
2020-02-28 09:16:50.683198 | TASK [configure-swap : Get root filesystem]
2020-02-28 09:16:50.936985 | primary | ext4
2020-02-28 09:16:51.230095 | primary | ok: Runtime: 0:00:00.003677
2020-02-28 09:16:51.260249 |
2020-02-28 09:16:51.260420 | TASK [configure-swap : Save root filesystem]
2020-02-28 09:16:51.328746 | primary | ok
2020-02-28 09:16:51.359999 |
2020-02-28 09:16:51.360246 | TASK [configure-swap : debug]
2020-02-28 09:16:51.430055 | primary | ok:
2020-02-28 09:16:51.430421 | primary | {
2020-02-28 09:16:51.430493 | primary | "root_filesystem": "ext4"
2020-02-28 09:16:51.430546 | primary | }
2020-02-28 09:16:51.460605 |
2020-02-28 09:16:51.460823 | TASK [configure-swap : Create swap backing file for non-EXT fs]
2020-02-28 09:16:51.557247 | primary | skipping: Conditional result was False
2020-02-28 09:16:51.589170 |
2020-02-28 09:16:51.589383 | TASK [configure-swap : Create sparse swap backing file for EXT fs]
2020-02-28 09:17:02.186670 |
2020-02-28 09:17:02.187010 | TASK [configure-swap : Ensure swapfile perms]
2020-02-28 09:17:02.749593 | primary | ok
2020-02-28 09:17:02.780782 |
2020-02-28 09:17:02.781007 | TASK [configure-swap : Make swapfile]
2020-02-28 09:17:03.044762 | primary | mkswap: error: /root/swapfile is mounted; will not make swapspace
2020-02-28 09:17:03.330741 | primary | ERROR
2020-02-28 09:17:03.331079 | primary | {
2020-02-28 09:17:03.331273 | primary | "delta": "0:00:00.002214",
2020-02-28 09:17:03.331350 | primary | "end": "2020-02-28 09:17:03.045115",
2020-02-28 09:17:03.331439 | primary | "msg": "non-zero return code",
2020-02-28 09:17:03.331495 | primary | "rc": 1,
2020-02-28 09:17:03.331543 | primary | "start": "2020-02-28 09:17:03.042901"
2020-02-28 09:17:03.331589 | primary | }
2020-02-28 09:17:03.348361 |
2020-02-28 09:17:03.348522 | PLAY RECAP

Tags: alert ci
Revision history for this message
wes hayutin (weshayutin) wrote :

zuul config error, pre playbook called twice..

wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
Revision history for this message
Soniya Murlidhar Vyas (svyas) wrote :

So, the log url here is no more available. Can you provide more insights, so that I can reproduce the issue?

Revision history for this message
wes hayutin (weshayutin) wrote :

This was an error on my part.. Soniya we can leave this in incomplete ( which means closed essentially ) Launchpad will expire this bug 90 days after setting it to incomplete.

wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Revision history for this message
Marios Andreou (marios-b) wrote :

k already incomplete, removing milestone

Changed in tripleo:
milestone: wallaby-2 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
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.