Discussion:
[DRBD-user] Linstor v0.6.2
Rene Peinthor
2018-09-03 13:30:50 UTC
Permalink
Hi again!

While further testing the latest version upgrade migration, we noticed
we missed another table migration, that are fixed now in the v0.6.2 release.

linstor-server
--------------
* Fix: FreespaceMgr migration was still missing some entries in SECURITY
ACL table
* Fix: Controller trying to connect to none satellite nodes

http://www.linbit.com/downloads/linstor/linstor-server-0.6.2.tar.gz

Best regards,
Rene
--
René Peinthor - Software Developer
***@linbit.com

LIN <http://www.linbit.com/en/>BIT <http://www.linbit.com/en/> | Keeping
the Digital World Running
DRBD HA - Disaster Recovery - Software-defined Storage
t <https://twitter.com/linbit> / f
<https://www.facebook.com/pg/linbitdrbd/posts/> / in
<https://www.linkedin.com/company/linbit> / y
<https://www.youtube.com/user/linbit> / g+
<https://plus.google.com/+Linbit/about>

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
Yannis Milios
2018-09-03 14:32:24 UTC
Permalink
Just tried 0.6.2-1 on PVE and it seems to fail with a different error this
time (Migration Failed!)....

https://privatebin.net/?832d42e56c2734a9#0ZBY7DAQhLAbLSmzc62rokuKSVOkduBAO28lt0UIqrA=
Post by Rene Peinthor
Hi again!
While further testing the latest version upgrade migration, we noticed
we missed another table migration, that are fixed now in the v0.6.2 release.
linstor-server
--------------
* Fix: FreespaceMgr migration was still missing some entries in SECURITY
ACL table
* Fix: Controller trying to connect to none satellite nodes
http://www.linbit.com/downloads/linstor/linstor-server-0.6.2.tar.gz
Best regards,
Rene
--
René Peinthor - Software Developer
LIN <http://www.linbit.com/en/>BIT <http://www.linbit.com/en/> | Keeping
the Digital World Running
DRBD HA - Disaster Recovery - Software-defined Storage
t <https://twitter.com/linbit> / f
<https://www.facebook.com/pg/linbitdrbd/posts/> / in
<https://www.linkedin.com/company/linbit> / y
<https://www.youtube.com/user/linbit> / g+
<https://plus.google.com/+Linbit/about>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
drbd-user mailing list
http://lists.linbit.com/mailman/listinfo/drbd-user
Roberto Resoli
2018-09-03 14:51:09 UTC
Permalink
Post by Yannis Milios
Just tried 0.6.2-1 on PVE and it seems to fail with a different error
this time (Migration Failed!)....
https://privatebin.net/?832d42e56c2734a9#0ZBY7DAQhLAbLSmzc62rokuKSVOkduBAO28lt0UIqrA=
Yes, moreover, downgrading to 0.5.0 is quite annoying, and a backup copy
of linstor db is required.

rob
Yannis Milios
2018-09-03 15:04:01 UTC
Permalink
I rolled back to 0.5.0 as well, but I didn't had to restore the database.
But backing up the DB is a must anyways ...
Currently doing the test upgrades in a test (VM lab) cluster, so no harm on
the production cluster.
Post by Yannis Milios
Post by Yannis Milios
Just tried 0.6.2-1 on PVE and it seems to fail with a different error
this time (Migration Failed!)....
https://privatebin.net/?832d42e56c2734a9#0ZBY7DAQhLAbLSmzc62rokuKSVOkduBAO28lt0UIqrA=
Yes, moreover, downgrading to 0.5.0 is quite annoying, and a backup copy
of linstor db is required.
rob
_______________________________________________
drbd-user mailing list
http://lists.linbit.com/mailman/listinfo/drbd-user
Roberto Resoli
2018-09-03 16:41:49 UTC
Permalink
Post by Yannis Milios
I rolled back to 0.5.0 as well, but I didn't had to restore the
database. But backing up the DB is a must anyways ...
In my case I upgraded only one satellite node and the (pure) controller;
after downgrading, satellite remained in a something like

OFFLINE (VERSION MISMATCH)

stae, so I reverted the db as well.
Post by Yannis Milios
Currently doing the test upgrades in a test (VM lab) cluster, so no harm
on the production cluster.
Very good habit indeed. Given that I am not in a condition to do
upgrades in a testbed, i will wait for more solid upgrades, basing on
your (very precious) advices ...

Thanks,
rob
Roberto Resoli
2018-09-03 20:20:57 UTC
Permalink
Post by Roberto Resoli
Post by Yannis Milios
I rolled back to 0.5.0 as well, but I didn't had to restore the
database. But backing up the DB is a must anyways ...
In my case I upgraded only one satellite node and the (pure) controller;
after downgrading, satellite remained in a something like
OFFLINE (VERSION MISMATCH)
stae, so I reverted the db as well.
I guess I found another side effect of failed upgrade:

# linstor storage-pool list
ERROR:
Description:
(Node: 'drbdc') The requested function call cannot be executed.
Cause:
Common causes of this error are:
- The function call name specified by the caller
(client side) is incorrect
- The requested function call was not loaded into
the system (server side)
Details:
The requested function call name was 'RequestFreeSpace'.

bye,
rob
Rene Peinthor
2018-09-04 05:53:53 UTC
Permalink
Could one of you or both be so kind and send me your database file?
Should be in `/var/lib/linstor/linstordb.mv.db`

Cheers,
Rene
Post by Roberto Resoli
Post by Roberto Resoli
Post by Yannis Milios
I rolled back to 0.5.0 as well, but I didn't had to restore the
database. But backing up the DB is a must anyways ...
In my case I upgraded only one satellite node and the (pure) controller;
after downgrading, satellite remained in a something like
OFFLINE (VERSION MISMATCH)
stae, so I reverted the db as well.
# linstor storage-pool list
(Node: 'drbdc') The requested function call cannot be executed.
- The function call name specified by the caller
(client side) is incorrect
- The requested function call was not loaded into
the system (server side)
The requested function call name was 'RequestFreeSpace'.
bye,
rob
_______________________________________________
drbd-user mailing list
http://lists.linbit.com/mailman/listinfo/drbd-user
--
René Peinthor - Software Developer
+43-1-817-82-92 x54 <+4318178292>
***@linbit.com

LIN <http://www.linbit.com/en/>BIT <http://www.linbit.com/en/> | Keeping
the Digital World Running
DRBD HA - Disaster Recovery - Software-defined Storage
t <https://twitter.com/linbit> / f
<https://www.facebook.com/pg/linbitdrbd/posts/> / in
<https://www.linkedin.com/company/linbit> / y
<https://www.youtube.com/user/linbit> / g+
<https://plus.google.com/+Linbit/about>

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
Roberto Resoli
2018-09-04 06:34:43 UTC
Permalink
Post by Rene Peinthor
Could one of you or both be so kind and send me your database file?
Should be in `/var/lib/linstor/linstordb.mv.db`
I will send to you a private message about this.

bye,
rob
Post by Rene Peinthor
Cheers,
Rene
Robert Altnoeder
2018-09-04 09:01:46 UTC
Permalink
Post by Roberto Resoli
Post by Yannis Milios
Just tried 0.6.2-1 on PVE and it seems to fail with a different error
this time (Migration Failed!)....
https://privatebin.net/?832d42e56c2734a9#0ZBY7DAQhLAbLSmzc62rokuKSVOkduBAO28lt0UIqrA=
Yes, moreover, downgrading to 0.5.0 is quite annoying, and a backup
copy of linstor db is required.
The reason for that is that only few databases can run DDL statements
(statements that change the database's structure) in a transaction, so
that they can roll back a partly failed migration.

The databases where this is supported are:
- PostgreSQL
- IBM DB2

The integrated H2 database as well as MySQL, MariaDB, Oracle RDBMS,
Microsoft SQL Server and most others require either manual intervention
or a backup to fully roll back to a previous database structure after a
partially applied migration.

We will consider having LINSTOR backup the database automatically before
trying a migration, so that going back to an older version would be easier.

br,
Robert

Loading...