1) Make use of keystone client to retrieve the keystone token instead of 'subprocess.Popen' as the latter can be a source of security risk. Create a separate Module for keystone token-get task. 2) Make use of decorator instead as we want to re-use the 'shipyard_service_token' function to authenticate against the other components in the UCP, e.g. Armada, DeckHand 3) We will allow for 1 retry in getting the Keystone Token with a backoff interval of 10 seconds in case there is a temporary glitch in the network or transient problems with the keystone-api pod 4) Make use of the 'keystone_authtoken' section in the shipyard.conf instead to retrieve the required Keystone session information 5) Remove DryDock dags that are out-dated and no longer valid 6) Remove hard-coded DryDock token input. Use the keystone token instead. 7) Add/Edit Banner Change-Id: I6ac38845f9df2ae61d1d4af523197f8dd9275be6
7.4 KiB
7.4 KiB