From bc372601859bd7b9ed0947b737e1c6039a4d82c2 Mon Sep 17 00:00:00 2001 From: volchonok27 <8862199@mail.ru> Date: Thu, 12 Mar 2020 11:31:28 +0300 Subject: [PATCH] update API version for Keystone Update api version to 3. Change Authentication Method. They are discontinuing v2 of the Keystone API on 24th March 2020. All users of the Keystone API must now use version 3, and make the changes required to do so. https://storage.p19.cloud.ovh.net/v1/AUTH_47f7eb0153a7447799377451f59357ce/public/keystone-v3-request.txt --- lib/pkgcloud/openstack/context/identity.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pkgcloud/openstack/context/identity.js b/lib/pkgcloud/openstack/context/identity.js index 489d41266..20589ca93 100644 --- a/lib/pkgcloud/openstack/context/identity.js +++ b/lib/pkgcloud/openstack/context/identity.js @@ -247,6 +247,8 @@ Identity.prototype._buildAuthenticationPayload = function () { methods : ['password'], password : { user: { + name: self.options.username, + domain: { id: 'default' }, password: self.options.password } }