[Starlingx-discuss] command "fm alarm-show 800.011" doesn't work

Wensley, Barton Barton.Wensley at windriver.com
Fri Sep 20 13:01:47 UTC 2019


To see the details of an alarm, use “fm alarm-list --uuid” to find the uuid and then use the uuid with the “fm alarm-show” command.

To find out why the stx-openstack apply failed, take a look at the /var/log/armada/stx-openstack-apply.log file.

Bart

From: 钱江 [mailto:qianjiang at baicells.com]
Sent: September 20, 2019 12:07 AM
To: starlingx-discuss
Subject: [Starlingx-discuss] command "fm alarm-show 800.011" doesn't work


Hi,

I got an error during applying the openstack application. I don't know how to check the log, later I find "fm" command may work.
[sysadmin at controller-0 ~(keystone_admin)]$ fm alarm-list
+----------+---------------------------------------------------------------------+--------------------------------------+----------+-----------------------+
| Alarm ID | Reason Text                                                         | Entity ID                            | Severity | Time Stamp            |
+----------+---------------------------------------------------------------------+--------------------------------------+----------+-----------------------+
| 200.001  | controller-0 was administratively locked to take it out-of-service. | host=controller-0                    | warning  | 2019-09-20T03:36:20.  |
|          |                                                                     |                                      |          | 251464                |
|          |                                                                     |                                      |          |                       |
| 750.002  | Application Apply Failure                                           | k8s_application=stx-openstack        | major    | 2019-09-20T02:03:28.  |
|          |                                                                     |                                      |          | 153979                |

Then, I use "fm alarm-show" to get details
[sysadmin at controller-0 ~(keystone_admin)]$ fm alarm-show 750.002
Alarm not found: 750.002

It says, the alarm is not found, isn't the "750.002" uuid?

Or is there another way to check the log of an applicaiton failure?


[sysadmin at controller-0 ~(keystone_admin)]$ system application-show stx-openstack
+---------------+------------------------------------------+
| Property      | Value                                    |
+---------------+------------------------------------------+
| active        | False                                    |
| app_version   | 1.0-18-centos-stable-latest              |
| created_at    | 2019-09-19T06:44:02.827627+00:00         |
| manifest_file | stx-openstack.yaml                       |
| manifest_name | armada-manifest                          |
| name          | stx-openstack                            |
| progress      | operation aborted, check logs for detail |
| status        | apply-failed                             |
| updated_at    | 2019-09-20T02:03:28.251645+00:00         |
+---------------+------------------------------------------+




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190920/923a6f3a/attachment.html>


More information about the Starlingx-discuss mailing list