[Starlingx-discuss] BUG "After stopping vswitch service no alarm is generated Edit"

Wensley, Barton Barton.Wensley at windriver.com
Mon Sep 16 13:19:42 UTC 2019


The disable_worker_services file was originally created to prevent the (bare metal) nova-compute services from running on a newly upgraded controller in an AIO-DX configuration, until we swacted to that controller. This was necessary because nova does not support communication between a newer version of nova-compute and older versions of nova-conductor. This situation no longer exists because the bare metal nova-compute services do not exist after our transition to containers.

Unfortunately, the disable_worker_services file was also used when we first switched to containers, as a quick and dirty way of disabling the bare metal OpenStack services (this is done in the stx-puppet/puppet-manifests/src/modules/platform/manifests/kubernetes.pp). By always creating this file it caused the missing alarm issue in the bug you are working on.

I think the proper solution here is to remove all references to the disable_worker_services file from the codebase - this flag is no longer needed. This would also include removing the worker_services init script, which is also unnecessary.


From: Peters, Matt
Sent: September 16, 2019 8:33 AM
To: Yu, Weifei; Bailey, Henry Albert (Al); Liu, Tao; Wensley, Barton
Cc: Xu, Chenjie; starlingx-discuss at lists.starlingx.io; Khalil, Ghada
Subject: Re: [Starlingx-discuss] BUG "After stopping vswitch service no alarm is generated Edit"


From: "Yu, Weifei" <weifei.yu at intel.com>
Date: Monday, September 16, 2019 at 7:28 AM
To: "Bailey, Henry Albert (Al)" <Al.Bailey at windriver.com>, "Liu, Tao" <Tao.Liu at windriver.com>, "Peters, Matt" <Matt.Peters at windriver.com>
Cc: "Xu, Chenjie" <chenjie.xu at intel.com>, "starlingx-discuss at lists.starlingx.io" <starlingx-discuss at lists.starlingx.io>, Ghada Khalil <Ghada.Khalil at windriver.com>
Subject: [Starlingx-discuss] BUG "After stopping vswitch service no alarm is generated Edit"

Hi  All,

After investigating the cause, I find if the file(at /var/run/.disable_worker_services) exists, then the process monitor will ignore these process that the subfunction type is worker.

I have several questions about this bug.

•         Why is the file(disable_worker_services) always generated?  When will it be deleted?

•         What is the difference between worker type and last-config type?  (the type of subfunction)

•         Can I use last-config type instead of worker type?  (These two are very similar)
I would be grateful if you can give me some advice.

The detail as below:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190916/0f0781ef/attachment-0001.html>

More information about the Starlingx-discuss mailing list