Configuring an Overcloudrc File in the Infoblox IPAM Agent
You need to create an overcloudrc file in the Infoblox IPAM agent to run the script to configure the integration and source it so that you have the admin credential variables available in the shell environment.
Note
networking-infoblox
should be successfully configured before running the migration script.
You need to create the overcloudrc file inside the container and then source it. The contents of this file can be found in the overcloudrc file that is present in the director.
Example:
# Clear any old environment that may conflict.
for key in $( set | awk '{FS="="} /^OS_/ {print $1}' ); do unset $key ; done
export OS_NO_CACHE=True
export COMPUTE_API_VERSION=1.1
export OS_USERNAME=admin
export no_proxy=,10.34.94.51,10.34.95.53
export OS_USER_DOMAIN_NAME=Default
export OS_VOLUME_API_VERSION=3
export OS_CLOUDNAME=overcloud
export OS_AUTH_URL=http://<OVERCLOUD IP>:5000//v3
export NOVA_VERSION=1.1
export OS_IMAGE_API_VERSION=2
export OS_PASSWORD=<Password>
export OS_PROJECT_DOMAIN_NAME=Default
export OS_IDENTITY_API_VERSION=3
export OS_PROJECT_NAME=admin
export OS_AUTH_TYPE=password
export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available"
# Add OS_CLOUDNAME to PS1
if [ -z "${CLOUDPROMPT_ENABLED:-}" ]; then
export PS1=${PS1:-""}
export PS1=\${OS_CLOUDNAME:+"(\$OS_CLOUDNAME)"}\ $PS1
export CLOUDPROMPT_ENABLED=1
fi
#----------------------------------------------------------------------------------------------------------------------------------------
# Source the file
$ source overcloudrc