Containerized deployment fails when using SwiftRawDisk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Christian Schwede |
Bug Description
The overcloud deployment fails when using the SwiftRawDisk parameter in an containerized environment. For example, using the following extra parameter (and assuming vdb exists on the node):
parameter_defaults:
SwiftRawDisks: {"vdb": {}}
It fails with:
2017-11-16 10:52:25Z [overcloud-
2017-11-16 10:52:25Z [overcloud-
2017-11-16 10:52:26Z [overcloud-
2017-11-16 10:52:26Z [overcloud-
2017-11-16 10:52:27Z [AllNodesDeploy
2017-11-16 10:52:27Z [overcloud]: UPDATE_FAILED Resource UPDATE failed: Error: resources.
Stack overcloud UPDATE_FAILED
overcloud.
resource_type: OS::Heat:
physical_
status: UPDATE_FAILED
status_reason: |
Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
deploy_stdout: |
...
TASK [swift logs readme] *******
ok: [localhost]
TASK [Format and mount devices defined in SwiftRawDisks] *******
failed: [localhost] (item=vdb) => {"changed": false, "failed": true, "item": "vdb", "msg": "Error mounting /srv/node/vdb: mount: wrong fs type, bad option, bad superblock on /dev/vdb,\n missing codepage or helper program, or other error\n\n In some cases useful info is found in syslog - try\n dmesg | tail or so.\n"}
to retry, use: --limit @/var/lib/
PLAY RECAP *******
localhost : ok=3 changed=0 unreachable=0 failed=1
(truncated, view all with --long)
deploy_stderr: |
Heat Stack update failed.
This is due to the fact that the device is not formatted when running in a containerized environment.
A fix has already been proposed upstream: https:/
Changed in tripleo: | |
status: | New → In Progress |
assignee: | nobody → Christian Schwede (cschwede) |
Changed in tripleo: | |
milestone: | none → queens-2 |
importance: | Undecided → Medium |
Changed in tripleo: | |
importance: | Medium → High |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
This has been merged months ago (https:/ /review. openstack. org/#/c/ 516436/), closing.