Bug #1268

smartgears-distribution 1.2.6: distribution field on monitor is missing when a smartgears node is upgraded

Added by Roberto Cirillo over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:Jan 07, 2016
Priority:NormalDue date:Jan 15, 2016
Assignee:Luca Frosini% Done:

100%

Category:distribution
Sprint:zz - Smartgears Improvements & Fixes
Milestones:
Duration: 7

Description

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).


Related issues

Related to gCube - Release #1868: org.gcube.distribution.smartgears-distribution.1-2-6 Released Dec 22, 2015
Related to gCube - Bug #2073: smartgears-distribution: The distribution field on monito... Closed Jan 26, 2016 Feb 29, 2016

History

#1 Updated by Luca Frosini over 4 years ago

  • Status changed from New to In Progress

#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.

#4 Updated by Roberto Cirillo over 4 years ago

  • Priority changed from Normal to High

#5 Updated by Luca Frosini over 4 years ago

  • Due date set to Nov 30, 2015

#6 Updated by Luca Frosini over 4 years ago

  • % Done changed from 90 to 80
  • Priority changed from High to Normal
  • Status changed from Feedback to In Progress
  • Due date changed from Nov 30, 2015 to Dec 04, 2015

#7 Updated by Luca Frosini over 4 years ago

  • % Done changed from 80 to 60
  • Status changed from In Progress to Paused

Install script (or better an update script) have to manage the version

#8 Updated by Luca Frosini about 4 years ago

  • Due date changed from Dec 04, 2015 to Dec 11, 2015

#9 Updated by Luca Frosini about 4 years ago

  • Due date changed from Dec 11, 2015 to Dec 18, 2015

#10 Updated by Luca Frosini about 4 years ago

  • Due date changed from Dec 18, 2015 to Dec 23, 2015

#11 Updated by Luca Frosini about 4 years ago

  • Start date changed from Oct 28, 2015 to Dec 21, 2015

#12 Updated by Luca Frosini about 4 years ago

  • Due date changed from Dec 23, 2015 to Jan 15, 2016

#13 Updated by Luca Frosini about 4 years ago

  • Start date changed from Dec 21, 2015 to Jan 07, 2016

#14 Updated by Luca Frosini about 4 years ago

  • Status changed from Paused to In Progress

#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

#16 Updated by Luca Frosini about 4 years ago

The install script has been updated to replace the version of SmartGearsDistribution and SmartGearsDistributionBundle variable.
I already upgrade the ETICS configuration so is already under integration. Please provide me feedback as soon as possible.

#17 Updated by Luca Frosini about 4 years ago

  • Related to Release #1868: org.gcube.distribution.smartgears-distribution.1-2-6 added

#18 Updated by Luca Frosini about 4 years ago

Can you please provide me feedabck asap

#19 Updated by Luca Frosini about 4 years ago

  • Sprint changed from zz - Improve Smartgears to zz - SmartExecutor Advanced Features

#20 Updated by Luca Frosini about 4 years ago

  • Sprint changed from zz - SmartExecutor Advanced Features to zz - Smartgears Improvements & Fixes

#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.

#22 Updated by Roberto Cirillo about 4 years ago

  • Related to Bug #2073: smartgears-distribution: The distribution field on monitor is missing when a smartgears node is upgraded in a specific case added

Also available in: Atom PDF