migrating stor2rrd from appliance to docker

Hello

It might be the old problem, but:

1) I successfully moved sttor2rrd 2.61 to docker container: rm -fr inside stor2rrd persistent volume, restore tar ball from appliance)

2) upgraded it to 7.80-1

3) added to xormon

4) modified /home/sto2rrd/stor2rrd/etc/config

5) .stor2rrd_home includes: /home/stor2rrd/stor2rrd

6) mount /home/stor2rrd/.ssh as external volume with all files cloned from old installation

7) modified /home/str2rrd/stor2rrd/etc/stor2rrd.cfg entries mentining lpar2rrd to something like:

/home/stor2rrd/stor2rrd/etc/san-list.cfg

webserver still responds with internal 500 error

Workaround: I create a soft link in container in /home dir so it has:

lrwxrwxrwx  1 root   root       8 Apr 30 14:55 lpar2rrd -> stor2rrd

drwxr-sr-x  9 stor2rrd stor2rrd   4096 Apr 29 18:59 stor2rrd

web UI started working immediately after , no error

Problem is that every time after container is recreated the link is removed, and has to be created again

Question: obviously I am missing to fix some config files there - left overs from appliance image which still survived after migration, upgrade.

Which one(s)?

thank you

Sign In or Register to comment.