glance-api fails to start when ceph.conf doesn't end in a newline
Bug #1888661 reported by
Gerald Schneider
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
New
|
Undecided
|
keerthivasan |
Bug Description
glance-api fails to start when the provided ceph.conf does not end in a newline.
Take a working ceph.conf, trim all whitespace at the end and start glance-api. It aborts with the error message
ERROR: [errno 22] RADOS invalid argument (error calling conf_read_file)
Add a newline at the end, start it again and it works.
Other compontents of Openstack (cinder, nova, gnocchi) work without the newline at the ende, this should be consistent.
affects: | glance → glance-store |
To post a comment you must log in.
The same problem seems to exist with the keyring file. No newline at the end of the file and glance-api exits with just:
ERROR:
Adding the newline allows glance-api to start again.