Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring OpenStack to Communicate with JSA

To collect OpenStack events, you must configure your OpenStack device to allow connections from JSA.

Note:

OpenStack is an open source product with many different distributions that can be set up on many different operating systems. This procedure might vary in your environment.

  1. Log in to your OpenStack device.
  2. Edit the /etc/nova/api-paste.ini file.
  3. At the end of the file, add the following text:
  4. Review the [composite:openstack_compute_api_v2] settings and verify that the values match the following sample:
  5. Copy the api_audit_map.conf file to the /etc/nova/ directory.
  6. Restart the api service.

    The command to restart the API service depends on what operating system your OpenStack node is hosted on. On Redhat Enterprise Linux systems, the command is service openstack-nova-api restart.

  7. Open the entry_points.txt file in the egg-info subdirectory of your OpenStack installation directory.

    For PackStack installations, the file path resembles the following path: /usr/lib/python2.7/site-packages/ceilometer-2014.2-py2.7.egg-info/entry_points.txt.

  8. Add the http dispatcher to the [ceilometer.dispatcher] section.
  9. Copy the supplied http.py script to the dispatcher subdirectory of the Ceilometer installation directory.

    The exact location depends on your operating system and OpenStack distribution. On the Redhat Enterprise Linux Distribution of OpenStack, the directory is /usr/lib/python2.7/site-packages/ceilometer/dispatcher/.

  10. Edit the /etc/ceilometer/ceilometer.conf file.
  11. Under the [default] section, add dispatcher=http.
  12. At the bottom of the file, add this section:

    Use the port that you configured for OpenStack when you created the log source on your JSA system.

  13. Restart the ceilometer collector and notification services.

    The command to restart the ceilometer collector and notification services depends on what operating system your OpenStack device is hosted on. On devices that use the Redhat Enterprise Linux operating system, use the following commands: