The containers typically install the python components they need using wheels
If the flock components are updated in their setup.cfg to be built universal wheels  (which are py2 and py3 compatible) then the wheels being generated from the spec should be able to be included.
That can be done in master, assuming the code  runs in both py2 and py3 without needing major changes.
Al


From: Kalvala, Haridhar <haridhar.kalvala@intel.com>
Sent: Monday, December 14, 2020 6:12 AM
To: starlingx-discuss@lists.starlingx.io <starlingx-discuss@lists.starlingx.io>; Wensley, Barton <Barton.Wensley@windriver.com>; Wold, Saul <Saul.Wold@windriver.com>; Jones, Bruce E <bruce.e.jones@intel.com>; Sun, Austin <austin.sun@intel.com>
Cc: Mukherjee, Sanjay K <sanjay.k.mukherjee@intel.com>; Kumar, Sharath <sharath.kumar@intel.com>; Bhat, Gopalkrishna <gopalkrishna.bhat@intel.com>; Khalil, Ghada <Ghada.Khalil@windriver.com>
Subject: Re: [Starlingx-discuss] Flock components python3 migration query on master.
 

[Please note this e-mail is from an EXTERNAL e-mail address]

Reminder for below request.

 

Thank You,

Haridhar Kalvala

 

From: Kalvala, Haridhar
Sent: Thursday, December 10, 2020 10:18 AM
To: starlingx-discuss@lists.starlingx.io; Wensley, Barton <Barton.Wensley@windriver.com>; Saul Wold <Saul.Wold@windriver.com>; Jones, Bruce E <bruce.e.jones@intel.com>; Sun, Austin <austin.sun@intel.com>
Cc: Mukherjee, Sanjay K <sanjay.k.mukherjee@intel.com>; Kumar, Sharath <sharath.kumar@intel.com>; Bhat, Gopalkrishna <gopalkrishna.bhat@intel.com>; Khalil, Ghada <Ghada.Khalil@windriver.com>
Subject: Flock components python3 migration query on master.

 

Hello All,

 

We are working on FM containerization (FM panel in open stack dashboard and backend pod service(fault)).

As part  of this activity, we are doing stx-horizon docker build. Which will include components from flock (for fm calls). As a reference example, please refer to this patch.

The  front panel would be calling flock components fmclient, cgtsclient, distributedcloud etc.

These components are python2 build.  For FM panel to work we need migration of these components (seeing lot of dependency issues) from python2 to python3 on master branch.

 

Yesterday(9-Dec-2020) in non-openstack distro meeting, the discussion was flock python2 dependent components cannot  be migrated in master branch and will done in centos8 migration branch/stream.

 

So, I request for clarity/decision from community on this blocker for FM containerization.

 

Earlier in stx-3.0(stein’s openstack) as in above link, these component were part of stx-horizon docker build. But these were removed(as per patch below) as part of stx-4.0 migration (stein àtrain à Ussuri), as latest openstack only supports python3.

 

Patch details:

commit b8b897a028cda3936f17c5ac6b73af146c5de96b (tag: v4.0.0.rc0)

Author: yuchengde <yu.chengde@99cloud.net>

Depends-on: https://review.opendev.org/#/c/731461/

Change-Id: I415ea75eb24d8b1c3151b63efd2e82075e68f26e

Signed-off-by: Yu Chengde yu.chengde@99cloud.com

 

 

Thank you,

Haridhar Kalvala