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] Hosted Fleet Server agent not available on deploying 8.0.0-alpha1 from cloud (can't be started on self-managed either) due to Semver check #608

Closed
amolnater-qasource opened this issue Aug 2, 2021 · 7 comments · Fixed by #610
Labels
bug Something isn't working impact:critical Immediate priority; high value or cost to the product. Team:Elastic-Agent Label for the Agent team v8.0.0

Comments

@amolnater-qasource
Copy link
Collaborator

amolnater-qasource commented Aug 2, 2021

stack version: 8.0-alpha1-qa cloud environment

Kibana commit details from /status api:

Build: 44759
Commit: fa7fd32e249a095dede8cd0ef676b21e7d4707bc

Preconditions:

  1. 8.0-alpha1 cloud-qa environment should be available.

Steps to reproduce:

  1. Login to Kibana.
  2. Navigate to Agents tab and observe No Hosted Fleet Server agent.

Note:

  • Build is deployed with warnings and "Latest change to APM & Fleet configuration failed" errors.

Expected Result:
Hosted Fleet Server agent should be available on deploying 8.0-alpha1 from cloud-qa.

Screenshot:
13

Activity page:
14

@amolnater-qasource amolnater-qasource added bug Something isn't working Team:Elastic-Agent Label for the Agent team impact:high Short-term priority; add to current release, or definitely next. labels Aug 2, 2021
@manishgupta-qasource
Copy link
Collaborator

Reviewed & Assigned to @EricDavisX

@EricDavisX EricDavisX removed their assignment Aug 2, 2021
@EricDavisX EricDavisX added impact:critical Immediate priority; high value or cost to the product. and removed impact:high Short-term priority; add to current release, or definitely next. labels Aug 2, 2021
@EricDavisX
Copy link
Contributor

@blakerouse mentions in the x-team meeting that this is from our Semver usage / restraint and that it isn’t compatible with the string that is in place for the release:
8.0.0-alpha1

It should be adjusted in Fleet Server and also checked in Beats/Agent side, as well, for a likely adjustment needed.

And he notes that both the recent issues logged by test team are likely the same. I’ll link them:
elastic/beats#27191

@EricDavisX EricDavisX changed the title [Fleet][8.0-alpha1]: Hosted Fleet Server agent not available on deploying 8.0-alpha1 from cloud-qa. [Fleet][8.0-alpha1]: Hosted Fleet Server agent not available on deploying 8.0-alpha1 from cloud Aug 2, 2021
@EricDavisX EricDavisX changed the title [Fleet][8.0-alpha1]: Hosted Fleet Server agent not available on deploying 8.0-alpha1 from cloud [Fleet] Hosted Fleet Server agent not available on deploying 8.0.0-alpha1 from cloud (can't be started on self-managed either) due to Semver check Aug 2, 2021
@EricDavisX
Copy link
Contributor

From the Beats issue logged in parallel (I've closed it now) - the cli output fails as such if you try to run the Fleet Server start up (bootstrap) sequence:

Extract and run Agent install command.

.\elastic-agent.exe install  -f `
 --fleet-server-es=https://5f83e162928e49xxxx3eff62b512c8fe.us-central1.gcp.qa.cld.elstc.co:443 `
--fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE2Mjc5MDI3OTg1MTQ6VDRvWE5PZURSUkNlRE5JdjdpQxxxxx`
--fleet-server-policy=59d4afe0-f356-11eb-92df-f3671xxxxxx

Observe errors: Error - failed version compatibility check with elasticsearch on running install command.

@EricDavisX
Copy link
Contributor

the next BC (BC3 or later) of 8.0 will / would have this, if it gets built!

@amolnater-qasource
Copy link
Collaborator Author

Hi @EricDavisX
Thanks for the feedback, we will initiate our tests on 8.0-alpha1, as soon as new BC will be available.

@EricDavisX
Copy link
Contributor

BC3 is out and the team reported they got past this error and are testing deeper.

@amolnater-qasource
Copy link
Collaborator Author

Hi @EricDavisX

We have created a testcase for above reported issue under bug conversion task .

Testcase link is : C149907

Thanks

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:critical Immediate priority; high value or cost to the product. Team:Elastic-Agent Label for the Agent team v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants