In my last post, I gave an update and overview regarding the new Container Service Extension 2.6.0 release, including a look at the new CSE UI Plugin for VCD. As I had to perform the operation myself, I wanted to take some time to detail the process for upgrading existing CSE installations to 2.6.0. There aren’t many changes from 2.5.1 to 2.6.0, as far as server installation goes, but there are a few to note.
Create New virtualenv and Install CSE 2.6.0 Bits
I like to utilize python virtual environments with my CSE installs, which allows me to jump back and forth between CSE builds as I am working with the engineering team to test new releases or set up reproducers for customer environments. I recommend usage of the virtual environment tool, at the very least, so you don’t have to wrestle with base Python version compat on your OS. See my post on creating a Python 3.7.3 virtual environment to support CSE server installations here.
So the first thing I’ll do on my CSE server is create that new virtual environment in the cse-2.6.0
directory:
$ mkdir cse-2.6.0
$ python3.7 -m virtualenv cse-2.6.0/
$ source cse-2.6.0/bin/activate
Now I’m ready to install the new build of CSE:
$ pip install container-service-extension
$ cse version
CSE, Container Service Extension for VMware vCloud Director, version 2.6.0
Note: If you’d like to use the same virtual environment as you used in your previous installation, you simply need to source
that virtual environment and upgrade CSE:
$ pip install --upgrade container-service-extension