Giter Club home page Giter Club logo

Comments (10)

vhkilari avatar vhkilari commented on May 29, 2024

mangle-vc-adapter is a plain micro service with no external dependencies. The container can be deployed as a pod with access to targeted VC environments. Please give us time to provide a tested Kubernetes deployment file from our side.

from mangle.

aswathy-ramabhadran avatar aswathy-ramabhadran commented on May 29, 2024

@anjalir-arkin please provide a sample K8s deployment file for vcenter-adapter. Would also recommend that you push it to the public git repository for future reference.

from mangle.

teinertt avatar teinertt commented on May 29, 2024

Any update on a K8s deployment for vcenter-adapter?

from mangle.

teinertt avatar teinertt commented on May 29, 2024

Thank you for your help getting these files. I was able to deploy the mangle-vc-adapter onto our container and it shows the pods running.

However, I am not able to get a connection to the vCenter host. When testing the connection I get the message "Authentication to VCenter ip failed." The error code in the logs is "Error Code : FIVC001, Error Message : Authentication to VCenter "

I went through the trouble shooting documentation and found the "Cannot connect to adapter while adding vCenter endpoint" section, but I am not getting the "cannot connect to vcenter adapter" error unless I enter wrong credentials or adapter info. I did however try to reach the endpoints listed and could not reach either the Swagger UI or the application/health endpoints. The mangle-vc-adapter pods say running and ready in OCP. I can reach the mangle-services/application/health endpoint with no issue.

Any ideas on what could be wrong? Any help is greatly appreciated. Thank you.

from mangle.

aswathy-ramabhadran avatar aswathy-ramabhadran commented on May 29, 2024

@teinertt we are looking into this. @rpraveen-vmware or @anjalir-arkin will provide you with the next steps for this.

from mangle.

rpraveen-vmware avatar rpraveen-vmware commented on May 29, 2024

Hi @teinertt
As part of troubleshooting this issue, I deployed the mangle-vcenter-adapter in our k8s cluster.
So, its running as pod in parallel to mangle pod.
Am able to add the vcenter adapter to Mangle.
But upon adding the vCenter Endpoint by providing the VC URL, I get the same error "Error Code : FIVC001".
Upon debugging, I see that Mangle is able to reach vcenter-adapter deployed but throwing "500 Internal Server error" while trying to reach the VC, the error is mapped to this error code.
The error code needs to be changed from our side as it is misleading.

Since the mangle is deployed in k8s in AWS, its unable to reach the vCenter server deployed in the datacenter and is reachable within Office Network.

I suspect it could be the similar issue in your case..
Does your k8s have access to target vCenter ?

You can reach the vcenter-adapter swagger url through this api:
https://VCENTER-ADAPTER-EXTERNAL-IP/mangle-vc-adapter/swagger-ui.html (admin/admin)

https://VCENTER-ADAPTER-EXTERNAL-IP/mangle-vc-adapter/application/health
which gives "status | "UP"

from mangle.

vhkilari avatar vhkilari commented on May 29, 2024

@teinertt Hope you were unblocked with the help of a comment from @rpraveen-vmware. Please post an update on your status.

from mangle.

teinertt avatar teinertt commented on May 29, 2024

@rpraveen-vmware Thank you for this information. @vhkilari I will forward this information and work with team who is working on this issue, and I will update with results.

from mangle.

vhkilari avatar vhkilari commented on May 29, 2024

@teinertt Any Updates?

from mangle.

ashrimalivmware avatar ashrimalivmware commented on May 29, 2024

@rpraveen-vmware Thank you for this information. @vhkilari I will forward this information and work with team who is working on this issue, and I will update with results.
Closing the issue as there is no reply from @teinertt, assuming the issue is resolved.

from mangle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.