Using fixed tmp path for images and guests leads to the directory not accessable when python-zvm-sdk package is upgraded

Bug #1765252 reported by dyyang@cn.ibm.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zVM Cloud Connector
Fix Committed
Low
Ya Lian Pan

Bug Description

Currently there are two configuration options: [image] temp_path=/tmp/zvmsdk/images, [guest] /tmp/zvmsdk/guests, which are used to store temped data.

When python-zvm-sdk package is upgraded, the uid maybe changed, thus leading to the old /tmp/zvmsdk directory not accessable by new zvmsdk user.

We need to remove these two configuration options and avoid such use of fixed tmp path.
Temp path should be "temporary": created when needed and removed after use.

Changed in python-zvm-sdk:
status: New → Confirmed
Ya Lian Pan (yalian)
Changed in python-zvm-sdk:
assignee: nobody → Ya Lian Pan (yalian)
jichenjc (jichenjc)
Changed in python-zvm-sdk:
importance: Undecided → Low
Ya Lian Pan (yalian)
Changed in python-zvm-sdk:
status: Confirmed → Fix Committed
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.