ad246afa6a
Update the following items for the Ubuntu release packages (2015.1): 1) Use RabbitMQ packages from the cloud archive repository. 2) Change default role from '_member_' to 'user' to avoid potential interference with an internal role. 3) Remove explicit configuration of 'log_dir' option in keystone. 4) Remove step to disable default host in Apache. 5) Update CirrOS image to 0.3.4. Some of these changes apply to all distributions. Change-Id: If1cdf839ebdc7655b89ab14df694a9c25f0c35cf Implements: blueprint installguide-kilo
68 lines
4.9 KiB
XML
68 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="ceilometer-verify">
|
|
<title>Verify the Telemetry installation</title>
|
|
<para>This section describes how to verify operation of the Telemetry
|
|
module.</para>
|
|
<procedure>
|
|
<note>
|
|
<para>Perform these steps on the controller node.</para>
|
|
</note>
|
|
<step>
|
|
<para>Source the <literal>admin</literal> credentials to gain access to
|
|
admin-only CLI commands:</para>
|
|
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
|
</step>
|
|
<step>
|
|
<para>List available meters:</para>
|
|
<screen><prompt>$</prompt> <userinput>ceilometer meter-list</userinput>
|
|
<computeroutput>+--------------+-------+-------+--------------------------------------+---------+----------------------------------+
|
|
| Name | Type | Unit | Resource ID | User ID | Project ID |
|
|
+--------------+-------+-------+--------------------------------------+---------+----------------------------------+
|
|
| image | gauge | image | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
| image.size | gauge | B | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
| image.update | delta | image | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
| image.upload | delta | image | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
+--------------+-------+-------+--------------------------------------+---------+----------------------------------+</computeroutput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Download an image from the Image service:</para>
|
|
<screen>
|
|
<prompt>$</prompt> <userinput>IMAGE_ID=$(glance image-list | grep 'cirros-0.3.4-x86_64' | awk '{ print $2 }')</userinput>
|
|
<prompt>$</prompt> <userinput>glance image-download $IMAGE_ID > /tmp/cirros.img</userinput></screen>
|
|
</step>
|
|
<step>
|
|
<para>List available meters again to validate detection of the image
|
|
download:</para>
|
|
<screen><prompt>$</prompt> <userinput>ceilometer meter-list</userinput>
|
|
<computeroutput>+----------------+-------+-------+--------------------------------------+---------+----------------------------------+
|
|
| Name | Type | Unit | Resource ID | User ID | Project ID |
|
|
+----------------+-------+-------+--------------------------------------+---------+----------------------------------+
|
|
| image | gauge | image | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
| image.download | delta | B | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
| image.serve | delta | B | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
| image.size | gauge | B | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
| image.update | delta | image | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
| image.upload | delta | image | acafc7c0-40aa-4026-9673-b879898e1fc2 | None | cf12a15c5ea84b019aec3dc45580896b |
|
|
+----------------+-------+-------+--------------------------------------+---------+----------------------------------+</computeroutput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Retrieve usage statistics from the <literal>image.download</literal>
|
|
meter:</para>
|
|
<screen><prompt>$</prompt> <userinput>ceilometer statistics -m image.download -p 60</userinput>
|
|
<computeroutput>+--------+---------------------+---------------------+------------+------------+------------+------------+-------+----------+----------------------------+----------------------------+
|
|
| Period | Period Start | Period End | Max | Min | Avg | Sum | Count | Duration | Duration Start | Duration End |
|
|
+--------+---------------------+---------------------+------------+------------+------------+------------+-------+----------+----------------------------+----------------------------+
|
|
| 60 | 2015-04-21T12:21:45 | 2015-04-21T12:22:45 | 13200896.0 | 13200896.0 | 13200896.0 | 13200896.0 | 1 | 0.0 | 2015-04-21T12:22:12.983000 | 2015-04-21T12:22:12.983000 |
|
|
+--------+---------------------+---------------------+------------+------------+------------+------------+-------+----------+----------------------------+----------------------------+</computeroutput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Remove the previously downloaded image file <filename>/tmp/cirros.img</filename>:</para>
|
|
<screen><prompt>$</prompt> <userinput>rm /tmp/cirros.img</userinput></screen>
|
|
</step>
|
|
</procedure>
|
|
</section>
|