addon-lxdone icon indicating copy to clipboard operation
addon-lxdone copied to clipboard

Hardcoded DATASTORE location

Open drst0ck opened this issue 7 years ago • 1 comments

Hello,

In a preexisting installation of OpenNebula 5.4, after changing the value of DATASTORE_LOCATION in oned.conf, the default /var/lib/one/datastores/ are hardcoded in the lxd addon, hence the value in onde.conf is never changed.

Relevant files are:

https://github.com/OpenNebula/addon-lxdone/blob/7bc9b165e97e3a37488ba9169a2bb3ed186460ca/src/remotes/vmm/lxd/deploy.py#L103

and

https://github.com/OpenNebula/addon-lxdone/blob/7bc9b165e97e3a37488ba9169a2bb3ed186460ca/src/remotes/vmm/lxd/lxd_common.py#L153

Thanks!

drst0ck avatar Sep 12 '17 21:09 drst0ck

We'll apply the patch to remove all the hardcodes soon. Sorry for the delay.

dann1 avatar Sep 13 '17 19:09 dann1