Skip to content

[Agent] Error 'Failed to rotate backups' displayed on installing Elastic Agent on Windows with install command  #21627

@ghost

Description

Kibana version:
Kibana: 8.0.0-SNAPSHOT cloud environment with commit 6f983728d7f8c2cf065a6d5099157a5cfdc3cd08

Elasticsearch version:
Elasticsearch: 8.0.0-SNAPSHOT cloud environment

Host OS and Browser version:
Windows , All

Original install method (e.g. download page, yum, from source, etc.):
From 8.0.0-SNAPSHOT cloud environment

Description
Error is displayed in powershell on enrolling agent on Windows with install command

Preconditions

  1. 8.0.0-SNAPSHOT latest Kibana cloud environment should be available(commit 6f983728d7f8c2cf065a6d5099157a5cfdc3cd08).
  2. Login to the above environment with elastic superuser.
  3. 8.0.0 windows agent using https://snapshots.elastic.co/8.0.0-af3cda3c/downloads/beats/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-windows-x86_64.zip file should be available.

Steps to Reproduce

  1. RDP to the windows endpoint

  2. Copy the above agent file and extract it under C:/Program Files

  3. Navigate to C:/Program Files/ElasticAgent folder and open powershell as admin

  4. Run the below command:
    ./elastic-agent install

  5. Proceed and provide kibana url and enrollment token.

  6. Observe that agent is enrolled in the UI but error is displayed in powershell.

Test data
N/A

Impacted Test case id
N/A

Actual Result
Error is displayed in powershell on enrolling agent on Windows with install command.

Expected Result
No Error should be displayed in powershell on enrolling agent on Windows with install command

What's working

  • N/A

What's not working

  • N/A

Screenshot
windows_powershell

Logs
Elastic-Agent-logs.zip

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions