-
Notifications
You must be signed in to change notification settings - Fork 81
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
[Windows and Linux ARM64]: Unable to install agent with Fleet Server URL. #235
Comments
Reviewed and assigned to @EricDavisX |
Hi @EricDavisX Command used for Fleet Server:
However, we are still not able to install secondary agent and getting same errors: Currently we are blocked for testing because of this issue. Please let us know if there are any changes in Secondary Agent installation process. Command used for Secondary Agent:
Thanks |
@amolnater-qasource hi. I can cite that we need to keep the Fleet Server install and the subsequent Agent installs in sync in terms of security usage. If you intend to use the --insecure option with the Agent install, then you must use the --fleet-server-insecure-http option when first installing the Fleet Server. |
Hi @EricDavisX As per feedback we have attempted to setup Fleet Server on 7.13.0 Self managed Kibana environment. Build details:
Please let us know if anything else is required. |
You cannot install 2 Elastic Agents on the same machine. You will need to either install an Elastic Agent with a Fleet Server on that machine (then add integrations to the Seems that the installation of the first one works correctly. The second one is trying to overwrite the first one, being that you are using the I am going to close this, as it a user error and not an actual bug with Elastic Agent or Fleet Server. |
Hi @blakerouse Further we have re-attempted this today on 7.13.0 Snapshot Kibana Cloud environment and still getting the same issue.
Secondary Agent install command used:(as given on UI)
As we are getting: Build details:
cc: @EricDavisX |
@amolnater-qasource The second agent is on a different host correct? Seems that it cannot communicate with the first host? Have you confirmed that there is not a network issue for them to communicate? Make the first one has its firewall enabled? I have confirmed that installation of Elastic Agent w/ Fleet Server on Windows is working correctly. This at the moment seems to be a communication issue. |
Hi @blakerouse
Yes
Internet on both the machines is working fine. Firewall is "ON" too. Steps followed:
Secondary Agent install:
Can you please check if we are missing any step? Build details:
Thanks |
Is there an easy way to debug the connection? I filed elastic/elastic-agent#115 as a follow up idea. |
I have not yet tested the exact syntax, but I confirmed a work-around of using the preferred service token enrollment, so the test team should be unblocked now that the BC2 is available and is available on cloud-prod, particularly. I sent an email and will follow up with Amol, and will try to test this scenario too, since I know the code is working in other usage. I will report back. |
I have now gotten to test the Windows case as was originally cited. it looks working to me with the latest 7.13 BC 2 - @amolnater-qasource I can cite the specific items I think you will want in your setup and terminal usage:
I tried both of these from a win2012 host (for the 2nd test, the non-primary agent, i did install it against a linux host fleet-server, fyi) |
Hi @EricDavisX We were able to install Fleet Server successfully with "Elastic agent on cloud policy"(picked it by default). Further when we attempted to install secondary agent using the command shown at Add Agent flyout after updating the fleet server host url we observed same error, as reported above.
We have also attempted with --insecure flag along with https, still same error message was displayed. Thanks |
@amolnater-qasource @dikshachauhan-qasource if you can reproduce this one part we should log it separately and we can confirm the repro steps, it sounds like a bug if we can still see it. |
Hi @EricDavisX Earlier, we were not using Fleet server integration on attempting on install secondary agent in agent policy, so we were not able to find service token. However, this issue is not reproducible now. Thanks for confirmation around buggy areas. |
Kibana version: 8.0 Snapshot Kibana cloud environment
Host OS and Browser version: Windows and Ubuntu ARM64, All
Build Details:
Preconditions:
Steps to reproduce:
Expected Result:
User should be able to install agent with Fleet Server URL.
Screenshots:
The text was updated successfully, but these errors were encountered: