Comment 4 for bug 1564223

Revision history for this message
Raj Reddy (rajreddy) wrote : Re: [Bug 1564223] contrail-analytics-api status stuck in "initializing (UvePartitions:UVE-Aggregation[None] connection down)" after upgrade from R2.22.x-8 to R3.0.1.0-17 juno

Hi Ignatious,

What’s the right fix in this case? Should we pass —force-confmiss to the apt-get command?

thanks
Raj

On Mar 31, 2016, at 3:08 PM, Ignatious Johnson <<email address hidden><mailto:<email address hidden>>> wrote:

Hi Raj/Anish,

We pass the —force-confnew option to the apt-get during upgrade, we don’t pass —force-confmiss,
So the removed(missing) config file(contrail-alarm-gen.ini) will not be unpacked/installed during upgrade

Reference:
===========
http://manpages.ubuntu.com/manpages/trusty/man1/dpkg.1.html

             confmiss: If a conffile is missing and the version in the
              package did change, always install the missing conffile without
              prompting. This is dangerous, since it means not preserving a
              change (removing) made to the file.

              confnew: If a conffile has been modified and the version in the
              package did change, always install the new version without
              prompting, unless the --force-confdef is also specified, in
              which case the default action is preferred.

Thanks,

Ignatious

From: Anish Mehta <<email address hidden><mailto:<email address hidden>>>
Date: Thursday, March 31, 2016 at 11:32 AM
To: Wenqing Liang <<email address hidden><mailto:<email address hidden>>>, Raj Reddy <<email address hidden><mailto:<email address hidden>>>, Bug 1564223 <<email address hidden><mailto:<email address hidden>>>, Ignatious Johnson <<email address hidden><mailto:<email address hidden>>>
Cc: Jeba Paulaiyan <<email address hidden><mailto:<email address hidden>>>
Subject: Re: [Bug 1564223] contrail-analytics-api status stuck in "initializing (UvePartitions:UVE-Aggregation[None] connection down)" after upgrade from R2.22.x-8 to R3.0.1.0-17 juno

Cc’ing Ignatious

From: Anish Mehta
Date: Thursday, March 31, 2016 at 10:11 AM
To: Wenqing Liang, Raj Reddy, Bug 1564223
Cc: Jeba Paulaiyan
Subject: Re: [Bug 1564223] contrail-analytics-api status stuck in "initializing (UvePartitions:UVE-Aggregation[None] connection down)" after upgrade from R2.22.x-8 to R3.0.1.0-17 juno

Hi Wenqing,

You can have the system back.
It has recovered.

We had removed the /etc/contrail/supervisord_analytics_files/contrail-alarm-gen.ini file during R2.2 installation, since that feature was not enabled by default.
We were expecting the R3 upgrade to restore that file. (that feature is always enabled in R3).
That didn’t happen – the file remained missing after the upgrade. I will investigate why.

Meanwhile, I extracted that file from the package and put it in the right place. This system should work for you if you need to do further testing.

Regards,

Anish

From: Wenqing Liang
Date: Thursday, March 31, 2016 at 8:33 AM
To: Raj Reddy, Bug 1564223
Cc: Anish Mehta, Jeba Paulaiyan
Subject: RE: [Bug 1564223] contrail-analytics-api status stuck in "initializing (UvePartitions:UVE-Aggregation[None] connection down)" after upgrade from R2.22.x-8 to R3.0.1.0-17 juno

Hi Raj,
I just hit it after upgrade from R2.20-64 to the latest R3.0.1.0-18 as well.

10.87.129.173-175 (root/n1keenA)

Pls let me know when you are done.

Thanks,
Wenqing

From: Raj Reddy
Sent: Thursday, March 31, 2016 6:37 AM
To: Bug 1564223 <<email address hidden><mailto:<email address hidden>>>; Wenqing Liang <<email address hidden><mailto:<email address hidden>>>
Cc: Anish Mehta <<email address hidden><mailto:<email address hidden>>>
Subject: Re: [Bug 1564223] contrail-analytics-api status stuck in "initializing (UvePartitions:UVE-Aggregation[None] connection down)" after upgrade from R2.22.x-8 to R3.0.1.0-17 juno

Hi Wenqing, do you have the setup in the same state, can we take a look..

thanks

On Mar 31, 2016, at 12:39 AM, wenqing liang <<email address hidden><mailto:<email address hidden>>> wrote:

** Description changed: