glance-api fails to start when ceph.conf doesn't end in a newline

Bug #1888661 reported by Gerald Schneider
20
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.

Revision history for this message
Gerald Schneider (geschnei) wrote :

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.

Revision history for this message
Gerald Schneider (geschnei) wrote :

The affected version is 20.0.0 (ussuri).

Erno Kuvaja (jokke)
affects: glance → glance-store
Revision history for this message
keerthivasan (keerthivassan86) wrote :
Changed in glance-store:
assignee: nobody → keerthivasan (keerthivassan86)
Revision history for this message
keerthivasan (keerthivassan86) wrote :

I got the same issue, did few changes in the ceph.conf. I don't see the issue now

Can you please share your ceph.conf parameters ?

Revision history for this message
Joris Vleminckx (jvleminc) wrote :

This happened to us in victoria as well.

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.