{"action":"opened","issue":{"url":"https://api.github.com/repos/chef/knife-azure/issues/273","labels_url":"https://api.github.com/repos/chef/knife-azure/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/chef/knife-azure/issues/273/comments","events_url":"https://api.github.com/repos/chef/knife-azure/issues/273/events","html_url":"https://github.com/chef/knife-azure/issues/273","id":122408205,"number":273,"title":"knife azure server create - intermittent authorized_keys CERT thumbprint error - v.1.4.0-1.6.0.rc.0","user":{"login":"airborne77","id":5102536,"avatar_url":"https://avatars.githubusercontent.com/u/5102536?v=3","gravatar_id":"","url":"https://api.github.com/users/airborne77","html_url":"https://github.com/airborne77","followers_url":"https://api.github.com/users/airborne77/followers","following_url":"https://api.github.com/users/airborne77/following{/other_user}","gists_url":"https://api.github.com/users/airborne77/gists{/gist_id}","starred_url":"https://api.github.com/users/airborne77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airborne77/subscriptions","organizations_url":"https://api.github.com/users/airborne77/orgs","repos_url":"https://api.github.com/users/airborne77/repos","events_url":"https://api.github.com/users/airborne77/events{/privacy}","received_events_url":"https://api.github.com/users/airborne77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-16T01:39:49Z","updated_at":"2015-12-16T01:39:49Z","closed_at":null,"body":"Error message intermittently received during knife-azure deployment - began Wed PM Dec 2nd:\r\n\"FATAL: Unable to create role:BadRequest : The certificate with thumbprint ____ was not found\"\r\n\r\nWe can issue the same exact command multiple times - just minutes from each other.  Sometimes error will occur, sometimes command will successfully complete - it seems to be random.  The workaround right now is - if anyone gets this error message, just re-submit same exact command and hope it goes through.  This definitely impacts ability to use knife-azure for reliable end-to-end environmental deployments.\r\n\r\nIn -VV debug mode, we notice the same thumbprint given in the error message is EXACTLY SAME as what's submitted XML in the \"PublicKeys\" session for authorized_keys :\r\n\r\n    <PublicKeys>\r\n          <PublicKey>\r\n            <Fingerprint>SAME THUMBPRINT AS ERROR</Fingerprint>\r\n            <Path>/home/devops/.ssh/authorized_keys</Path>\r\n          </PublicKey>\r\n        </PublicKeys>\r\n\r\nThis issue began ~ Wednesday Dec 2nd evening time (PST) - we happened to notice same timeframe the new Azure Portal went GA.  Is it possible something was updated on the Azure API that reduced backwards compatibility with the format these SSH key thumbprints are being submitted by the knife-azure tool?"}}