From 91562636d46ad4a8e8abbf91bfa65a5b5b0bec35 Mon Sep 17 00:00:00 2001 From: Dave Buckley Date: Wed, 7 Dec 2016 01:36:10 +0000 Subject: [PATCH] Allow reauth to keystone after token expiry --- builder/openstack/access_config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builder/openstack/access_config.go b/builder/openstack/access_config.go index ca33495a8..9c8c80383 100644 --- a/builder/openstack/access_config.go +++ b/builder/openstack/access_config.go @@ -61,6 +61,9 @@ func (c *AccessConfig) Prepare(ctx *interpolate.Context) []error { // Get as much as possible from the end ao, _ := openstack.AuthOptionsFromEnv() + // Make sure we reauth as needed + ao.AllowReauth = true + // Override values if we have them in our config overrides := []struct { From, To *string