Status: New
Owner: ----
New issue 1030 by [email protected]: GlusterFS support breaks at upgrade
to 2.12 (switches back to sharedfile from itself)
https://code.google.com/p/ganeti/issues/detail?id=1030
What software version are you running?
2.12 from PPA pkg-ganeti-devel
What distribution are you using?
Ubuntu 14.04
What steps will reproduce the problem?
1. Get a running 2.11 cluster with VMs on GlusterFS storage
2. Upgrade: install 2.12 from PPA (alongside 2.11); run gnt-cluster upgrade
--to 2.12
3. All actions involving storage will fail with (uuid changing ofc):
Path 'ganeti/5aea1aa3-8e86-46a3-b03b-fc843fb9ae17.0' uses a forbidden prefix
What is the expected output? What do you see instead?
Should work like before (but on new ganeti), without crash.
Please provide any additional information below.
In fact the dev_type parameter for the disks cannot stay on "gluster" and
switches back to "sharedfile" every time, silently.
I use this to "fix" the config file:
sed -i 's/"dev_type":"sharedfile"/"dev_type":"gluster"/g'
/var/lib/ganeti/config.data
but after restarting everything or even just doing a
redist-conf, "sharedfile" is back.
I suspect that some validation code has no idea about gluster and feels
clever to "fix" to sharedfile. At least, downgrading to 2.11 and after the
sed step it works like before and disk type (as shown by gnt-instance for
example) is indeed "gluster".
I hope this is a trivial bug as only few code here was changed between the
two versions (at least in filestorage.py, gluster.py, bdev.py). Looking for
a 2.12.1 with fix :)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings