hvac.exceptions.InvalidRequest: client nonce mismatch even after deleting whitelist entry
240 views
Skip to first unread message
KIRAN PRANEETH
unread,
Dec 27, 2016, 8:45:51 PM12/27/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vault
Hello All,
I deleted whitelist entry for one of the ec2 instance manually from Consul UI from aws/auth/<>/whitelist/identity . But still client connection cribs about invalid nonce. How do we clean this up? Policy that this client loads doesn't allow instance_migration but I thought deleting whitelist would remove that problem. Let me know.
Thanks in Advance
Jeff Mitchell
unread,
Dec 28, 2016, 12:45:55 PM12/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vault...@googlegroups.com
Hi Kiran,
You can't use the Consul UI to delete whitelist entries. There are
multiple indexes within the backend and by circumventing the backend's
call to do this you have likely put it into an inconsistent state.
You can try using the procedure in the "Handling Lost Client Nonces"
section in the docs
(https://www.vaultproject.io/docs/auth/aws-ec2.html) but if things are
in an inconsistent state it may not work, in which case you may just
need to start over with a new instance.