← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1828333] [NEW] changing path of filesystem_store_datadir does not reflect

 

Public bug reported:

If you change the 'filesystem_store_datadir' under glance_store section
in glance-api.conf file and restart the glance-api service then it still
points towards earlier/default path.


DevStack Version: train
Change: 0cb721b790baa8f2929f716dc8945f4bfd25f08f Merge "Fix is_neutron_legacy_enabled function" 2019-05-04 22:38:45 +0000

How to reproduce:
1. Modify glance-api.conf file
[glance_store]
#filesystem_store_datadir = /opt/stack/data/glance/images/ (old path)
filesystem_store_datadir = /opt/stack/data/glance/images_1/ #(new path)

2. Restart glance-api service
$ sudo systemctl restart devstack@g-api.service

Expected result:
After restart images_1 directory should be created in /opt/stack/data/glance directory

Actual result:
images_1 directory is not created.

** Affects: glance
     Importance: High
         Status: New

** Changed in: glance
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1828333

Title:
  changing path of filesystem_store_datadir does not reflect

Status in Glance:
  New

Bug description:
  If you change the 'filesystem_store_datadir' under glance_store
  section in glance-api.conf file and restart the glance-api service
  then it still points towards earlier/default path.

  
  DevStack Version: train
  Change: 0cb721b790baa8f2929f716dc8945f4bfd25f08f Merge "Fix is_neutron_legacy_enabled function" 2019-05-04 22:38:45 +0000

  How to reproduce:
  1. Modify glance-api.conf file
  [glance_store]
  #filesystem_store_datadir = /opt/stack/data/glance/images/ (old path)
  filesystem_store_datadir = /opt/stack/data/glance/images_1/ #(new path)

  2. Restart glance-api service
  $ sudo systemctl restart devstack@g-api.service

  Expected result:
  After restart images_1 directory should be created in /opt/stack/data/glance directory

  Actual result:
  images_1 directory is not created.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1828333/+subscriptions


Follow ups