Hi all:

   I’m working on task “upgrade project nfv to support python3 runtime env”.  By analyzing and testing, there will be 32 new python3 rpms, which may impact current system.  


·     16 new rpms from official centos7 repo;

·     12 new stx-rpms rebuilt with srpms from official centos7 repo (turn on python3 supported switch in spec);

·     4 stx-rpms built from tar.gz files.


   Details including pkg dependency trees and current status could be found in [1]

 


With patches [2], we could get an iso with nfv services (vim,vim-api, vim-webserver) running in python3.

However, there is an run-time issues. Model “fm_api” in python3 is required to support vim service reporting alarms/event_logs to fault manager (service fm-mgr). It brings following issues:


    1. to build python3 "fm-api" rpm, pkg “python3-rpm-generators” is required. But it is conflict with pkg “rpm-build” built in the compile layer, because both of them have file (/usr/lib/rpm/pythondistdeps.py).

    2. as other flock services, like sysinv, are still running in python2, so it require fm-api to both run in python2 env and python3 env. It introduces a new topic: ensure it is safe to run python2-fm-api and python3-fm-api at the same time.

 


The scope of this task seems expand. Is there any suggestions?



 


 

Thanks

Ran