Azure / WALinuxAgent

Microsoft Azure Linux Guest Agent

Home Page:http://azure.microsoft.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG][RHEL 7.9] WALinuxAgent - STR_COPY:variable has no value

vim96 opened this issue · comments

commented

Describe the bug: A clear and concise description of what the bug is.
The WALinux agent is stuck in a reboot loop and won't connect to Azure.

Note: Please add some context which would help us understand the problem better

  1. Section of the log where the error occurs:
2022-10-14T06:45:56.287522Z ERROR Daemon Daemon Failed to decrypt /var/lib/waagent/Certificates.p7m (return code: 1)
[stdout]

[stderr]
139912400996240:error:0E065068:configuration file routines:STR_COPY:variable has no value:conf_def.c:584:line 23
139937194788752:error:0E065068:configuration file routines:STR_COPY:variable has no value:conf_def.c:584:line 23

2022-10-14T06:45:56.299770Z ERROR Daemon Daemon Command: [/usr/bin/openssl rsa -in /var/lib/waagent/0.prv -pubout], return code: [1], stdout: [] stderr: [140382020544400:error:0E065068:configuration file routines:STR_COPY:variable has no value:conf_def.c:584:line 23
]
  1. Serial console output:
    No console output

  2. Steps to reproduce the behavior:
    The VM was restored from a snapshot from earlier state (the snapshot was converted to managed disk and the OS disk was swapped), since then the VM agent is stuck in a start loop.

Distro and WALinuxAgent details (please complete the following information):

  • Distro and Version: Red Hat Enterprise Linux Server release 7.9 (Maipo)
  • WALinuxAgent version:
WALinuxAgent-2.7.3.0 running on redhat 7.9
Python: 2.7.5
Goal state agent: 2.8.0.11

Additional context
Add any other context about the problem here.
The server WALinux agent runs on has the role of LDAP server.