-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
STR:
- Create Env with Apache node
- Install LE add-on
- Add balancer node
- Reconfigure LE addon (add some domain)
- Remove Balancer node
- Try to:
a. Update certificate
b. Remove add-on from Apache node
ER:
a. Certificate updated w/o errors
b. Addon can be successfully removed
AR:
a.
[15:14:46 Let's.SSL:5]: callScript: {"action":"callScript","params":{"action":"auto-update"}}
[15:14:47 Let's.SSL:6]: script: {"body":"var targetAppid = api.dev.apps.CreatePersistence ? \"0b0a98ed30c391ef5855130dfe6d30aa\" : appid;\nvar resp = api.dev.scripting.Eval(targetAppid, session, 'env-1111-7203039-cp-letsencrypt-ssl', {action:'auto-update'});\nif (resp.result == 0 && typeof resp.response === 'object' && resp.response.result != 0) resp = resp.response;\nreturn resp;\n"}
[15:14:48]:> checkPermissions
[15:14:49]:> initCustomConfigs
[15:14:49]:> initCustomConfigs.response: {"result":2391,"responses":[],"source":"JEL","error":"The node group [bl] doesn't exist in environment [env-1111-7203039], appid [0b0a98ed30c391ef5855130dfe6d30aa]"}
[15:14:49]:> sendResp: {"result":2391,"responses":[],"source":"JEL","error":"The node group [bl] doesn't exist in environment [env-1111-7203039], appid [0b0a98ed30c391ef5855130dfe6d30aa]","method":"initCustomConfigs"},true
[15:14:49]:> checkUpdateExpiration
[15:14:50]:> cmd: $( [[ -e /usr/bin/python ]] || ln -s /usr/bin/python3 /usr/bin/python ); jem ssl checkdomain | python -c "import sys, json; print (json.load(sys.stdin)['expiredate'])"
[15:14:50 Let's.SSL:6]: ERROR: script.response: {"result":99,"error":"Error: {\"line\":194,\"name\":\"JavaException\",\"source\":\"env-1111-7203039-cp-letsencrypt-ssl\",\"message\":\"java.text.ParseException: Unparseable date: \\\"{\\\"result\\\":2309,\\\"responses\\\":[],\\\"source\\\":\\\"JEL\\\",\\\"error\\\":\\\"software node with id:[575812] not found for current environment\\\"}\\\"\"}"}
[15:14:50 Let's.SSL]: END EXECUTE REMOTE ACTION: {"result":99,"error":"Error: {\"line\":194,\"name\":\"JavaException\",\"source\":\"env-1111-7203039-cp-letsencrypt-ssl\",\"message\":\"java.text.ParseException: Unparseable date: \\\"{\\\"result\\\":2309,\\\"responses\\\":[],\\\"source\\\":\\\"JEL\\\",\\\"error\\\":\\\"software node with id:[575812] not found for current environment\\\"}\\\"\"}","action":"update.callScript.script"}
b.
[15:03:42 Let's.SSL:4]: callScript: {"action":"callScript","params":{"action":"uninstall"}}
[15:03:43 Let's.SSL:5]: script: {"body":"var targetAppid = api.dev.apps.CreatePersistence ? \"0b0a98ed30c391ef5855130dfe6d30aa\" : appid;\nvar resp = api.dev.scripting.Eval(targetAppid, session, 'env-1111-7203039-cp-letsencrypt-ssl', {action:'uninstall'});\nif (resp.result == 0 && typeof resp.response === 'object' && resp.response.result != 0) resp = resp.response;\nreturn resp;\n"}
[15:03:43]:> cmd: crontab -l 2>/dev/null | grep -v '%(scriptPath)' | crontab -,{"scriptPath":"/root/auto-update-ssl-cert.sh","nodeGroup":"bl"}
[15:03:43]:> cmd.response: {"result":2391,"responses":[],"source":"JEL","error":"The node group [bl] doesn't exist in environment [env-1111-7203039], appid [0b0a98ed30c391ef5855130dfe6d30aa]"}
[15:03:43]:> initAddOnExtIp: true
[15:03:44]:> initAddOnExtIp.response: {"result":0}
[15:03:44]:> undeploy
[15:03:44]:> isMoreLEAppInstalled
[15:03:45]:> isMoreLEAppInstalled.response: true
[15:03:45]:> undeploy.response: {"result":0}
[15:03:46]:> cmd: rm -rf %(paths),{"paths":"/opt/letsencrypt /root/generate-ssl-cert.sh /root/letsencrypt_settings /root/install-le.sh /root/validation.sh /root/auto-update-ssl-cert.sh"}
[15:03:46]:> cmd.response: {"result":2309,"responses":[],"source":"JEL","error":"software node with id:[575812] not found for current environment"}
[15:03:46 Let's.SSL:5]: ERROR: script.response: {"result":2309,"method":"cmd","responses":[],"source":"JEL","error":"software node with id:[575812] not found for current environment"}
[15:03:46 Let's.SSL]: process manifest: {"result":2309,"method":"cmd","responses":[],"source":"JEL","error":"software node with id:[575812] not found for current environment","action":"callScript.script"}
Metadata
Metadata
Assignees
Labels
No labels