Well, I might be slow here. :-) What source file do you need to run on the controller? If you run openstack client from controller then it becomes your client so just update the client there to the latest rocky release: https://docs.openstack.org/releasenotes/python-openstackclient/rocky.html something along this: sudo pip install -U python-openstackclient==3.16.3 -yoctozepto czw., 30 sty 2020 o 22:18 Albert Braden <Albert.Braden@synopsys.com> napisał(a):
Sorry if I am slow. This happens when I go to the controller, run my source file and then type: os console log show <UUID>
How can I install a new client to use on the controller command line? Do I need to replace the files mentioned below, or is there a better way?
-----Original Message----- From: Radosław Piliszek <radoslaw.piliszek@gmail.com> Sent: Thursday, January 30, 2020 12:09 PM To: Albert Braden <albertb@synopsys.com> Cc: OpenStack Discuss ML <openstack-discuss@lists.openstack.org> Subject: Re: "encoding error when doing console log show" in Rocky
The bug you mention affects clients. Hence you just need to patch your clients. I guess just using a newer version of client would work fine.
-yoctozepto
czw., 30 sty 2020 o 20:56 Albert Braden <Albert.Braden@synopsys.com> napisał(a):
We’re running openstack-ansible Rocky and seeing the “encoding error when doing console log show.” I see here that there is a patch:
How can I apply this patch to our Rocky install? Do I need to just copy the file over the existing /usr/lib/python2.7/dist-packages/openstackclient/compute/v2/console.py on controllers and hypervisors? Or is there a better way?