By: Zachary Doyle user 23 Mar 2021 at 2:02 p.m. CDT

3 Responses
Zachary Doyle gravatar

##Expected behavior The 4.2.3 script from here upgrades our 4.2.1 instance to 4.2.3 succesfully.

##Observed behavior We tried out the 4.2.3 upgrade successfully on a staging environment and it worked with no problems. However, we're staging the upgrade again as there have been some new clients added in the intervening time. When we try this (on a clone of our production environment - same as our previous successful staging), we get the following output:

root@idp42:~# python3 upg4xto423.py
Starting upgrade. CONTINUE? (y|N): y
Downloading Community Edition Setup 4.2.3
Extracting CES package
2021-03-23 18:39:39 URL:https://raw.githubusercontent.com/GluuFederation/communi                                               ty-edition-setup/master/pylib/generate_properties.py [26962/26962] -> "/root/ces                                               _current/pylib/generate_properties.py" [1]
Detected OS ubuntu 20
Detected OS ubuntu 20
Collecting properties
Downloading https://ox.gluu.org/maven/org/gluu/oxtrust-server/4.2.3.Final/oxtrus                                               t-server-4.2.3.Final.war
Downloading https://ox.gluu.org/maven/org/gluu/oxauth-server/4.2.3.Final/oxauth-                                               server-4.2.3.Final.war
Downloading https://ox.gluu.org/maven/org/gluu/oxauth-rp/4.2.3.Final/oxauth-rp-4                                               .2.3.Final.war
Downloading https://ox.gluu.org/maven/org/gluu/fido2-server/4.2.3.Final/fido2-se                                               rver-4.2.3.Final.war
Downloading https://ox.gluu.org/maven/org/gluu/scim-server/4.2.3.Final/scim-serv                                               er-4.2.3.Final.war
Downloading https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/                                               9.4.35.v20201120/jetty-distribution-9.4.35.v20201120.tar.gz
Downloading https://corretto.aws/downloads/resources/11.0.8.10.1/amazon-corretto                                               -11.0.8.10.1-linux-x64.tar.gz
Downloading https://repo1.maven.org/maven2/org/python/jython-installer/2.7.2/jyt                                               hon-installer-2.7.2.jar
Downloading https://raw.githubusercontent.com/GluuFederation/gluu-snap/master/fa                                               cter/facter
Downloading https://ox.gluu.org/maven/org/gluufederation/opendj/opendj-server-le                                               gacy/4.0.0.gluu/opendj-server-legacy-4.0.0.gluu.zip
Downloading https://ox.gluu.org/maven/org/gluu/oxshibbolethIdp/4.2.3.Final/oxshi                                               bbolethIdp-4.2.3.Final.war
Downloading https://ox.gluu.org/maven/org/gluu/oxShibbolethStatic/4.2.3.Final/ox                                               ShibbolethStatic-4.2.3.Final.jar
Downloading https://ox.gluu.org/maven/org/gluu/oxShibbolethKeyGenerator/4.2.3.Fi                                               nal/oxShibbolethKeyGenerator-4.2.3.Final.jar
Downloading https://raw.githubusercontent.com/GluuFederation/oxTrust/master/conf                                               iguration/src/main/resources/META-INF/shibboleth3/idp/saml-nameid.properties.vm
Downloading https://ox.gluu.org/npm/passport/passport-4.2.3.tgz
Downloading https://ox.gluu.org/npm/passport/passport-version_4.2.3-node_modules                                               .tar.gz
Downloading https://ox.gluu.org/maven/org/gluu/super-gluu-radius-server/4.2.3.Fi                                               nal/super-gluu-radius-server-4.2.3.Final-distribution.zip
Downloading https://ox.gluu.org/maven/org/gluu/super-gluu-radius-server/4.2.3.Fi                                               nal/super-gluu-radius-server-4.2.3.Final.jar
Downloading https://ox.gluu.org/maven/org/gluu/oxd-server/4.2.3.Final/oxd-server                                               -4.2.3.Final.jar
Updating /etc/default files
Updating default file casa
Updating default file fido2
Updating default file identity
Traceback (most recent call last):
  File "upg4xto423.py", line 1630, in <module>
    updaterObj.update_default_settings()
  File "upg4xto423.py", line 1622, in update_default_settings
    default_ = self.render_template(os.path.join(self.ces_dir, 'templates/jetty'                                               , service))
  File "upg4xto423.py", line 1018, in render_template
    temp = self.setupObj.fomatWithDict(temp,  data_dict)
  File "/root/ces_current/setup.py", line 3483, in fomatWithDict
    return text % dictionary
KeyError: 'identity_min_mem'

Any way you can assist us in getting our upgrade completed? Thanks! -zach

By Mohib Zico Account Admin 23 Mar 2021 at 11:27 p.m. CDT

Mohib Zico gravatar

I'll test in my local environment and share my findings with you.

By Mohib Zico Account Admin 12 Apr 2021 at 9:47 a.m. CDT

Mohib Zico gravatar

It should be fixed in latest script.

By Zachary Doyle user 15 Apr 2021 at 3:07 p.m. CDT

Zachary Doyle gravatar

Yup, just tried it out and it looks like we're all good. Thanks again Mohib.

Best, Zach