Simple-streams fail when use_swift false

Bug #1902856 reported by Michał Ajduk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Glance-Simplestreams-Sync Charm
New
Undecided
Unassigned

Bug Description

Simple streams charm has a hardcoded sync path:

            if not charm_conf['use_swift']:
                # Sync output directory to APACHE_DATA_DIR
                subprocess.check_call([
                    'rsync', '-avz',
                    os.path.join(tmpdir, charm_conf['region'], 'streams'),
                    APACHE_DATA_DIR
                ])

This code fails when the unit is not collocated with apache and does not use swift.

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.