To upgrade the OpenStack agent
to use OpenStack identity API v3, after you install the latest version of the agent, you must
reconfigure all agent instances and update the data collector configuration file.
About this task
This task is mandatory only when you upgrade the agent to use OpenStack identity API
v3.
Procedure
-
Reconfigure all existing agent instances. For detailed instructions, see Configuring the OpenStack agent.
-
Find the ksg_dc_instance_name.cfg agent data collector
configuration file, where instance_name is the name you specified for your agent
instance.
If the file does not exist, copy
install_dir/lx8266/sg/bin/ksg_dc.cfg to the
install_dir/config directory and change the file name to
ksg_dc_instance_name.cfg.
For example, if the instance name is OS1, change the name to
ksg_dc_OS1.cfg.
-
Add the following section to the
ksg_dc_instance_name.cfg file:
#OpenStack authentication information
[OS_authentication_info]
OS_project_domain_name=Default
OS_user_domain_name=Default
OS_cert_path=
-
Restart the agent instance by running the following commands:
install_dir/bin/openstack-agent.sh stop instance_name
install_dir/bin/openstack-agent.sh start instance_name
where
instance_name is the name of the agent instance to be configured.