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
Fail to launch Connector with flag provided but not defined: -vcenter-url #16
Comments
Hi @lamw from the output it looks like you're trying to run the connector in the vcsim folder which is why you see the error. After the first step then do this:
Does that help? Alex |
( I've updated the instructions too ) |
Looks like the instructions for vcenter connector is missing from the README ... Currently it just says:
it should be
When I try to launch vCenter Connector, I get a new error:
I did verify using |
Do you have OpenFaaS deployed anywhere? That's what the URL is |
Oh, no. I had assumed the README was starting from scratch where you don't have anything running ... |
Let me add that too.. |
Thanks! I've got OpenFaaS Cluster deployed (reachable to Admin UI) I'm now getting error running:
I'm able to curl https://github.com/openfaas (so I know system can reach internet) |
You can skip this command if you already ran it and go onto faas-cli deploy |
Ran into an issue w/Step 5 ... I'm able to reach OpenFaaS UI, so I assume OpenFaaS is working
BTW - On Step 4, its not exactly clear to me if you want both Tag ID (URN) and if so, is it separated by comma or space, would be good to clarify that detail |
The function won't deploy so this is an issue with faas-cli not being able to connect to openfaas. Is the IP:Port correct for OpenFaaS? Can you please paste the stack.yaml? Here's a working example regarding TAGURN: provider:
name: faas
gateway: http://127.0.0.1:8080 # <- make sure this is correct for your environment
functions:
pytag-fn:
lang: python3
handler: ./pytag-fn
image: embano1/pytag-fn:0.1
environment:
VC: 192.168.178.72
VCUSERNAME: user@vsphere.local
VCPASSWORD: PassW0rd!
TAGURN: urn:vmomi:InventoryServiceTag:019c0a9e-0672-48f5-ac2a-e394669e2916:GLOBAL
TAGACTION: attach
write_debug: true
read_debug: true
annotations:
topic: vm.powered.on |
I've got OpenFaaS running locally via Docker Swarm:
I'm able to the UI which is published externally on 8080 (http://34.208.71.1:8080), so not sure how else to verify/check. Also, this is my first time really using OpenFaaS, so I could be missing something. Here's my stack.yaml
|
As this related to troubleshooting to openfaas/CLI, it would be better to use Slack for this because we're off-topic here. It looks like faas-cli is not able to connect to openfaas when deploying the function. Using To be honest, I also wonder why faas-cli uses this address/port |
I'll reach out offline, I'm able to proceed a bit further but running into some other issues. I think it's due to the assumption of the instructions and depending on your experience and tools you're using. |
Received flag provided but not defined: -vcenter-url error message when trying to start the connector based on the README instructions
The text was updated successfully, but these errors were encountered: