Revert "Fetch a new token before router boots (to avoid token expiration issues)."

This reverts commit 66a631ab99.
This commit is contained in:
Ryan Petrello 2015-03-23 16:11:35 -04:00
parent 885f319027
commit 63ed65cc2b
2 changed files with 0 additions and 4 deletions

View File

@ -46,8 +46,6 @@ class Nova(object):
# finally cleaned up.
LOG.debug('creating vm for router %s with image %s',
router.id, router_image_uuid)
self.client.client.unauthenticate()
self.client.client.authenticate()
server = self.client.servers.create(
'ak-' + router.id,
image=router_image_uuid,

View File

@ -92,8 +92,6 @@ class TestNovaWrapper(unittest.TestCase):
]
self.nova.create_router_instance(fake_router, 'GLANCE-IMAGE-123')
self.client.client.unauthenticate.assert_called_once()
self.client.client.authenticate.assert_called_once()
self.client.assert_has_calls(expected)
def test_get_instance(self):