Avamar: Upgrade to 19.1.0-38 fails “ERROR: undefined method `include?' for nil:NilClass” and Client-Server Communication Drop Down Blank

Resumen: Avamar: Upgrade workflow to 19.1.0-38 failing with error: “ERROR: ERROR: undefined method `include?' for nil:NilClass” and Client-Server Communication Drop Down Blank

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

Upgrade to 19.1

- Upgrade to 19.1 cannot start with below errors in workflow.log:
 
> 2020-02-20 17:18:21 (+0100) 4104240 NOTICE: Path: /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/user-input/collectors/collect_security_settings.rb
> 2020-02-20 17:18:21 (+0100) 4104240 NOTICE: Collector: user-input/collectors/collect_security_settings.rb --input_name=session_ticket_setting
> 2020-02-20 17:18:21 (+0100) 4104240 INFO: COLLECT CollectSecuritySettings
> 2020-02-20 17:18:21 (+0100) 4104240 INFO: input_name: session_ticket_setting
> 2020-02-20 17:18:21 (+0100) 4104240 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=admin, ssh command is: (openssl x509 -text -noout -in /usr/local/avamar/etc/cert.pem | grep Subject: | awk '{print $NF}') >/usr/local/avamar/var/run_command-sysout.15816.4104240 2>&1
> 2020-02-20 17:18:21 (+0100) 4104240 INFO: - - - - - - - BEGIN(output) - - - - - - -
> 2020-02-20 17:18:21 (+0100) 4104240 INFO: avamar.domain.com
> 2020-02-20 17:18:21 (+0100) 4104240 INFO: - - - - - - - END
> 2020-02-20 17:18:21 (+0100) 4104240 INFO: "openssl x509 -text -noout -in /usr/local/avamar/etc/cert.pem | grep Subject: | awk '{print $NF}'", exit status=0 (success)
> 2020-02-20 17:18:21 (+0100) 4104240 ERROR: ERROR: undefined method `include?' for nil:NilClass
> 2020-02-20 17:18:21 (+0100) 4104240 DETAILS: ERROR: undefined method `include?' for nil:NilClass <NoMethodError>   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/user-input/collectors/collect_security_settings.rb:42:in `obtain_sec_settings'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/user-input/collectors/collect_security_settings.rb:134:in `<main>'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/core/0.2.0/runtime/director.rb:85:in `eval'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/core/0.2.0/runtime/director.rb:85:in `block in load_as_path'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/core/0.2.0/runtime/director.rb:152:in `handle_errors'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/core/0.2.0/runtime/director.rb:83:in `load_as_path'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/app/launch/abstract-runner.rb:22:in `block in process_item'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/app/launch/abstract-redirector.rb:59:in `with_core_director'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/app/launch/abstract-runner.rb:19:in `process_item'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/app/launch/abstract-redirector.rb:32:in `process_redirect'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/launcher:35:in `block (2 levels) in start'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/launcher:34:in `tap'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/launcher:34:in `block in start'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/launcher:32:in `tap'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/launcher:32:in `start'   /space/avamar/repo/temp/AvamarUpgrade-19.1.0-38.avp_1582043624093/runtime/apps/workflow/launcher:136:in `<main>'
- Under the Security Settings tab > Client-Server Communication and Authentication Type drop down menu shows as blank, so the Continue button cannot be clicked.

- Running the command manually returns the result normally:
 
admin@avamar:/usr/local/avamar/etc/>: openssl x509 -text -noout -in /usr/local/avamar/etc/cert.pem | grep Subject: | awk '{print $NF}'
avamar.domain.com

- Permissions of repo and avamar directories look good:
 
admin@avamar:~/>: ls -altk /space/avamar/repo/
total 28
drwxr-xr-x 3 avi   avi   4 Feb 20 17:15 temp
drwxr-xr-x 3 avi   avi   4 Feb 18 16:54 help
drwxr-xr-x 7 avi   avi   4 Feb 18 16:51 .
drwxr-xr-x 2 avi   avi   4 Feb 18 16:51 packages
drwxr-xr-x 2 avi   avi   4 Jan 21 11:57 uploads
drwxrwxr-x 7 admin admin 4 Dec  7  2018 ..
drwxr-xr-x 2 avi   avi   4 Dec 15  2017 downloads
 

admin@avamar:~/>: ls -altk /space/avamar/
total 28
drwxr-xr-x 23 admin admin 4 Feb 20 17:15 var
drwxr-xr-x  7 avi   avi   4 Feb 18 16:51 repo
drwxr-xr-x  6 admin admin 4 Feb 18 15:21 src
drwxr-xr-x  2 admin admin 4 Jan 20 16:55 doc
drwxrwxr-x  7 admin admin 4 Dec  7  2018 .
drwxr-xr-x  2 root  root  4 Dec  7  2018 backup
drwxr-xr-x  6 root  root  4 Dec  7  2018 ..

 

Causa

Issue with the common name parsing using Openssl utility in the workflow.

Resolución

Workaround: Please refer to Avamar L2 team by filing a Peer Review to help start the workflow.
Permanent solution: This code has been enhanced in 19.2 to address this issue.

Productos afectados

Avamar

Productos

Avamar, Avamar Server
Propiedades del artículo
Número del artículo: 000059134
Tipo de artículo: Solution
Última modificación: 11 dic 2025
Versión:  5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.