Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet]: Logs are not generated on 'Discover tab' for Mac Standalone upgrade on upgrading from 8.5.3 > 8.6.0 #1959

Closed
ghost opened this issue Dec 16, 2022 · 5 comments
Assignees
Labels
bug Something isn't working impact:medium Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.6.0

Comments

@ghost
Copy link

ghost commented Dec 16, 2022

Kibana version: 8.6 SNAPSHOT Kibana Staging environment

Host OS and Browser version: All, All

Build Details:

Version: 8.6.0 SNAPSHOT
Build: 56060
Commit: a8726a0c551c5d3e8d3bdc8f8cc2a0d88b8d0617

Preconditions:

  • 8.6 SNAPSHOT Kibana Staging environment should be available.
  • Agent Policies should be created
  • Lower version 8.5.3 Standalone Mac agent should be installed.

Steps to reproduce:

  1. Open Terminal
  2. Run the following commands at the following path: Library/Elastic/Agent/data/elastic-agent-56a002/downloads/:

[curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.4.0-darwin-x86_64.tar.gz] (https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.5.3-darwin-x86_64.tar.gz)

  1. Run the following command at the following path: Library/Elastic/Agent/

./elastic-agent upgrade 8.6.0-SNAPSHOT

  1. The following output is shown after running the ./elastic-agent upgrade 8.5.0-SNAPSHOT command :
The upgrade process of Elastic Agent is currently EXPERIMENTAL and should not be used in production
Upgrade triggered to version 8.6.0-SNAPSHOT, Elastic Agent is currently restarting

  1. Run the following command at the following path: Library/Elastic/Agent/
    ./elastic-agent upgrade version

  2. The following output is shown and Standalone Mac agent is upgraded to 8.6.0

Binary:  8.6.0-SNAPSHOT (build: 56a002dc5c96d3a79decbf28bb7994cf49f3a4da at 2022-08-19 22:35:27 +0000 UTC)
Daemon:  8.6.0-SNAPSHOT (build: 56a002dc5c96d3a79decbf28bb7994cf49f3a4da at 2022-08-19 22:35:27 +0000 UTC)
  1. Navigate to Discover tab and select logs-*.
  2. Observe that logs are not shown for the Standalone Mac agent on the Discover tab after upgrade.

Expected Result:

  • logs should be shown for the Standalone Mac agent on the Discover tab after upgrade.

What's Working:

  • metrics is shown for the Standalone Mac agent on the Discover tab after upgrade.
  • Data streams are generated for the Standalone Mac agenton theData streamstab afterupgrade`.
  • logs are shown for the Standalone Linux agent and Standalone Windows agent on the Discover tab after upgrade.

Screenshots:

image

image

image

Mac Agent Logs:

@ghost ghost added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team impact:medium labels Dec 16, 2022
@dikshachauhan-qasource
Copy link

Secondary review is done

@cmacknz cmacknz added the v8.6.0 label Dec 19, 2022
@cmacknz
Copy link
Member

cmacknz commented Dec 19, 2022

There is nothing interesting happening in the attached agent logs. Possibly this is related to #1924.

@jlind23
Copy link
Contributor

jlind23 commented Dec 22, 2022

@amolnater-qasource @dikshachauhan-qasource could this be retested with the latest snapshot that should be built today?

@ghost
Copy link
Author

ghost commented Dec 27, 2022

Hi @michalpristas,

We have re-validated this issue on the latest 8.6.0 SNAPSHOT Kibana Staging environment and had the below observations.

Observations:

  • logs are shown for the Standalone Mac agent on the Discover tab after upgrade from 8.5.3 > 8.6.0 SNAPSHOT.
  • host.hostname filter is not working after upgrade from 8.5.3 > 8.6.0 SNAPSHOT and is showing no logs for 8.6.0.

Build details:

Version: 8.6.0 SNAPSHOT
Build: 58830   
Commit: 6a5d6d96a534be75fc58acda8f89f2610309d7ff

Screenshots:

image

image

Please let us know if we are missing anything.

Thanks!

@michalpristas
Copy link
Contributor

as logs are present let's close this one. host issue is reported here: elastic/beats#34125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact:medium Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.6.0
Projects
None yet
Development

No branches or pull requests

4 participants