diskimage-builder: fails to build CentOS 7 image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
New
|
Undecided
|
Unassigned |
Bug Description
This bug was originally filed in the octavia project: https:/
Building CentOS 7 image fails because the image url is incorrect.
2020-08-18 21:43:04.251 | > GET /centos/
2020-08-18 21:43:04.251 | > Host: cloud.centos.org
2020-08-18 21:43:04.251 | > User-Agent: curl/7.69.1
2020-08-18 21:43:04.251 | > Accept: */*
2020-08-18 21:43:04.251 | >
2020-08-18 21:43:04.293 | * Mark bundle as not supporting multiuse
2020-08-18 21:43:04.293 | < HTTP/1.1 404 Not Found
Digging through the debug output (attached) it seems that the variable is set to "7":
2020-08-19 00:41:18.905 | ++ /tmp/dib_
2020-08-19 00:41:18.907 | ++ /tmp/dib_
But it needs to be either not be set or set to "GenericCloud" as per this line:
The final url should be: https:/
Please note that diskimage-builder is capped to 2.30.0 in stable/stein requirements.
https:/ /github. com/openstack/ requirements/ blob/8dd9d2c04c 9b0f8a9cc0c0baa d5112f2180f95b7 /upper- constraints. txt#L511- L515