g-s-s fails to sync images when using use_swift=false
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Glance-Simplestreams-Sync Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When setting use_swift option to false, glance-
----
$ juju run-action --wait glance-
unit-glance-
UnitId: glance-
id: "113"
results:
Stderr: |
/
rsync: mkdir "/var/www/html" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(675) [Receiver=3.1.2]
Stdout: |
sending incremental file list
status: completed
timing:
completed: 2020-10-30 10:48:52 +0000 UTC
enqueued: 2020-10-30 10:48:46 +0000 UTC
started: 2020-10-30 10:48:46 +0000 UTC
----
After the folder is created in the g-s-s unit, g-s-s succesfully syncs the images
----
$ juju run --unit glance-
$ juju run-action --wait glance-
unit-glance-
UnitId: glance-
id: "115"
results:
Stderr: |
/
Stdout: |
sending incremental file list
streams/
streams/v1/
streams/
streams/
sent 1,562 bytes received 66 bytes 3,256.00 bytes/sec
total size is 4,464 speedup is 2.74
status: completed
timing:
completed: 2020-10-30 10:50:55 +0000 UTC
enqueued: 2020-10-30 10:50:49 +0000 UTC
started: 2020-10-30 10:50:50 +0000 UTC
----
update: I can only reproduce this issue when launching g-s-s with use_swift=true (default value) and later set it to false as a post deployment step.