Skip to content

Inspect command failed for mac agent installed at custom path using --base-path and --unprivileged flags. #4703

@amolnater-qasource

Description

@amolnater-qasource

Kibana Build details:

VERSION: 8.14.0 BC3
BUILD: 73762
COMMIT: 2a492e1625f24336f3259b2b8df62b2b18127e81

Artifact Link: https://staging.elastic.co/8.14.0-7c638435/downloads/beats/elastic-agent/elastic-agent-8.14.0-darwin-aarch64.tar.gz

Preconditions:

  1. 8.14.0-BC3 Kibana cloud environment should be available.

Steps to reproduce:

  1. Run agent install command with --base-path and --unprivileged.
  2. Observe agent is installed successfully.
  3. Run sudo elastic-agent inspect command and observe an error.

Expected Result:
Inspect command shouldn't fail for mac agent installed at custom path using --base-path and --unprivileged flags.

Screenshot:
image
image
image

Working fine for agent installed without unprivileged flag and installed at same location:
image

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