[Starlingx-discuss] Remote CLI “dcmanager fw-update-strategy show” returns an error when using image stx-platformclients:stx.5.0-v1.4.0
Ghada.Khalil at windriver.com
Thu Nov 12 15:43:21 UTC 2020
Hello Yu ChanDer,
I don’t know the answer to your question, but I don’t believe you can just update stx master to use python3 for just a few components. Please consult the latest thread related to the LP you are attempting to fix:
From the mailing list archives, the proposal was to build the wheels for python2 for the affected components (so that updates can be picked up):
I suggest you discuss further with Zhipeng and Scott.
From: Yu ChanDer <yuchander at gmail.com>
Sent: Thursday, November 12, 2020 5:05 AM
To: Khalil, Ghada <Ghada.Khalil at windriver.com>
Subject: Remote CLI “dcmanager fw-update-strategy show” returns an error when using image stx-platformclients:stx.5.0-v1.4.0
[Please note this e-mail is from an EXTERNAL e-mail address]
I built the python3 distributedcloud-client rpm and create a bootimage.iso
After I did "ansible-playbook ../bootstraps.yaml", I found some error log in /var/log/puppet/2020-11-12-06-31-18_controller/puppet.log
the error log listed below:
It seems that no pbr lib for python3.6
Could you give me some advice how to resolve it?
2020-11-12T06:31:32.817 ^[[0;36mDebug: 2020-11-12 06:31:31 +0000 Executing: '/bin/dcmanager complete'^[[0m
2020-11-12T06:31:32.821 ^[[1;31mError: 2020-11-12 06:31:31 +0000 Evaluation Error: Error while evaluating a Function Call, Failed to execute generator /bin/dcmanager: Execution of '/bin/dcmanager complete' returned 1: Traceback (most recent call last):
2020-11-12T06:31:32.826 File "/bin/dcmanager", line 6, in <module>
2020-11-12T06:31:32.831 from dcmanagerclient.shell import main
2020-11-12T06:31:32.834 File "/usr/lib/python3.6/site-packages/dcmanagerclient/__init__.py", line 22, in <module>
2020-11-12T06:31:32.839 import pbr.version
2020-11-12T06:31:32.844 ModuleNotFoundError: No module named 'pbr' at /usr/share/puppet/modules/dcmanager/manifests/init.pp:106:16 on node controller-0
2020-11-12T06:31:32.848 /usr/share/ruby/vendor_ruby/puppet/util/execution.rb:232:in `execute'
2020-11-12T06:31:32.852 /usr/share/ruby/vendor_ruby/puppet/parser/functions/generate.rb:33:in `block (2 levels) in <top (required)>'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Starlingx-discuss