Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When upgrading from 2.2x code to 3.0, keystone.conf admin_token is changed to newly generated value, however all other contrail files which used to have admin_token in 2.2x code and were generated with value from 2.2x code retained the old value. In 3.x code, none of the contrail files use token, but since in upgrade case, old files were retained and had token, we had token mismatch in config files and this resulted in openstack neutron commands failing on upgrade. The change is to use the admin_token value from cluster.json (will be the case when cluster is created with 2.2x SM) in SM 3.0 when populating hiera data for openstack. If cluster.json does not have admin_token, then only use generated value. Tested : Successful upgrade from contrail 2.22b117 provisioned using SM 2.22build117, then upgrade SM to R3.0b2723 and upgrade contrail to 3.0B2723. Also tested fresh provision of contrail 3.0b 2723 with SM 3.0b2723. Change-Id: Ieec1645bf9c340a5db8b47fcbc0771aebc9847eb
- Loading branch information