smartgears-distribution 1.2.6: distribution field on monitor is missing when a smartgears node is upgraded
|Status:||Closed||Start date:||Jan 07, 2016|
|Priority:||Normal||Due date:||Jan 15, 2016|
|Assignee:||Luca Frosini||% Done:|
|Sprint:||zz - Smartgears Improvements & Fixes|
I've tried to upgrade a smartgears node from version 1.2.2 to version 1.2.4 by ansible but I've noticed that the "distro-version" field is not correctly filled. It seems that the field distro contains the same value of the previous version.
However, if a smartgears distribution is installed from scratch, the distro field is correctly filled (for example the smart-executor services in dev have a correct distribution field).
#2 Updated by Luca Frosini over 4 years ago
- % Done changed from 0 to 90
- Status changed from In Progress to Feedback
The container.xml produced (from version 1.2.3) by build contains this two properties .
SmartGearsDistribution properties is the one used to show distribution version on monitoring.
Because you are upgrading from 1.2.2 the container.xml does not contains that information. Moreover you should check (and update if needed) the ansible script to upgrade this properties.
Regarding SmartGearsDistributionBundle is only set by smartgers-distribution-bundle so because you are using smartgears-distribution you should leave it as is.
#3 Updated by Roberto Cirillo over 4 years ago
It is no true. I've also tried to upgrade a container from "1.2.3-3.8.0" to "1.2.4-3.9.0". The field "distro v." is empty.
If you look to the dev monitor, the node is "node2-d-d4s.d4science.org".
Now, there are two endpoints for "node2-d-d4s.d4science.org": one set to down with version "1.2.3-3.8.0" and distro version empty, another set to "certified" with version "1.2.4-3.9.0" and distro version empty.
#15 Updated by Luca Frosini about 4 years ago
- % Done changed from 60 to 100
- Status changed from In Progress to Resolved
- Subject changed from smartgears-distribution 1.2.5: distribution field on monitor is missing when a smartgears node is upgraded to smartgears-distribution 1.2.6: distribution field on monitor is missing when a smartgears node is upgraded
#21 Updated by Roberto Cirillo about 4 years ago
- Status changed from Resolved to Closed
The install script works now if "SmartGearsDistribution" and "SmartGearsDistributionBundle" fields are already present in the "container.xml".
However, it doesn't work if these fields are not already present in the container.xml. I'm going to close this ticket and open another one for this specific case.