-
Notifications
You must be signed in to change notification settings - Fork 302
Problem w/ Running fleetctl submit #1113
Comments
It looks like your etcd cluster is running with TLS enabled. You'll need to configure |
if providing the My current settings: fleet:
public-ip: $public_ipv4
etcd-cafile: /etc/etcd/printio.pem
etcd-keyfile: /etc/etcd/printio.key.insecure
etcd-certfile: /etc/etcd/printio.crt Mind pointing me towards what specific TLS change i need to make in my env? Etcd to etcd communication works, just not fleet -> etcd. |
@micahasmith you're conflating the daemon Looking at the help text for
...there seem to be three relevant flags you can set: --ca-file, --cert-file and --key-file. The blurb at the bottom instructs you how to use environment variables. |
Very true. If i run:
i get
but if i run |
@micahasmith It's not entirely obvious why you would get "connection refused" from fleetctl, but not from curl. Are you running those two commands from the exact same shell? Can you share the output of |
well, it was working but i did a |
Is this a multinode etcd cluster? If so, did you use a new discovery token when you brought the cluster back up? |
no i hadnt. here is the etcd curl -v results
fleetctl testi've updated my fleetctl variables since that seemed to change in v0.9, here is the command/response from it:
|
@micahasmith It's not clear to me why the etcd requests coming out of fleetctl don't have the required |
No updates in 2 months |
When i run submit on my local vagrant coreos cluster i get the following:
I have a separate script to test etcd, so while the above looks like an issue with etcd my etcd test script validates that putting/getting definitely works against 127.0.0.1:4001.
The only thing different about my setup is that im configuring the fleet
etcd-*
security settings in my cloud-config. Not sure if that could be part of the issue (although when i remove them i correctly get cert errors).Any ideas?
Things I Have Tried
FLEET_ETCD_*
env vars manually -- same erroretcd-*
settings from the user-data.coreos.fleet config settings -- same errorThe text was updated successfully, but these errors were encountered: