Instana

Instana

The community for performance and observability professionals to learn, to share ideas, and to connect with others.

 View Only
  • 1.  Error in integrating BYOK instance with ROKS cluster

    Posted 08/04/23 02:13 PM

    Hi Everyone,

    I reserve two instance 'Cloud Pak for Integration on ROKS 4.10 Cluster (Custom)' and 'Instana - self deploy on VSI BYOK' on IBM TechnologyZone. After that I have install CP4I and Instana Operator from operators hub on Openshift Platform. Then I created Instana Agent with the value of endpointHost & endpointPort which I got from BYOK instance. The agent was successfully created and all the 5 instana pods were in running state. But they were not reflecting as agent in Instana dashboard. So when I check the logs of all the pods it showing error like "Cannot access https://172.30.146.17:8001/nginx_status. Please make sure that stub_status location is configured and accessible". 

    Can anyone please help me with resolving this issue ?


    ------------------------------
    Ayush Soni
    ------------------------------


  • 2.  RE: Error in integrating BYOK instance with ROKS cluster

    Posted 08/07/23 04:56 AM
    Edited by System Admin 01/21/25 09:29 AM

    Hey Ayush,

    while there's not enough info to know for sure why you don't see the agents, I can tell you the Ngnix message is unrelated. This just means you have nginx running, but we cannot collect the metrics relevant to ngnix because we need to access nginx status, see https://www.ibm.com/docs/en/instana-observability/current?topic=technologies-monitoring-nginx#metrics-for-nginx for more info.

    When you say Instana Dashboard, which section of Instana are you looking at? It sounds like some connection/network issue, ideally I would suggest to open a Support Request with debug agent logs, expected behaviour, where are you looking for the agents, and so on, to understand where the missing piece is :)

    Best,

    Julia



    ------------------------------
    Julia Leyton García
    ------------------------------



  • 3.  RE: Error in integrating BYOK instance with ROKS cluster

    Posted 08/15/23 11:46 AM

    Hello,

    It appears that you've encountered an issue with setting up Instana agents on your IBM Cloud Pak for Integration (CP4I) and Instana deployments. The error message you received, "Cannot access (172.30.146.17:8001/nginx_status.) Please make sure that stub_status location is configured and accessible," indicates that there might be a problem with accessing the nginx_status endpoint.

    To troubleshoot this issue, you can follow these steps:

    1. Verify Configuration: Ensure that the Instana Agent configuration, specifically the endpointHost and endpointPort values, are correctly set to the BYOK (Bring Your Own Key) instance you mentioned. Double-check these values for accuracy.

    2. Network Access: Confirm that the Instana pods can access the specified endpointHost and endpointPort over the network. Check for any network restrictions or firewalls that might be preventing the access.

    3. Nginx Configuration: The error message references the nginx_status endpoint. Make sure that the necessary nginx configuration is in place and the /nginx_status endpoint is accessible. This might involve verifying the nginx configuration on the target host.

    4. Pod Security Policies: Check if there are any Pod Security Policies or Network Policies that could be affecting the communication between Instana agents and the BYOK instance.

    5. Logs and Documentation: Examine the logs of the Instana Agent pods in more detail to see if there are any additional error messages or clues. Consult the Instana documentation or support resources for guidance on troubleshooting agent deployment issues.

    6. Support: If the issue persists and you're unable to resolve it, consider reaching out to Instana support or your platform's support resources for further assistance.

    Remember that diagnosing and resolving specific technical issues can be complex, and the steps above are meant as general guidance. Depending on your specific environment and setup, the troubleshooting process might vary.

    If you require further assistance, please provide more details about your environment, configurations, and any additional error messages you've encountered. This will help in providing more accurate guidance.



    ------------------------------
    Fsd ewew
    ------------------------------