senlin cluster-policy-list policy id error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-senlinclient |
Fix Released
|
Undecided
|
chenyb4 |
Bug Description
I was execute 'senlin cluster-policy-list cluster_001' the policy-id error, display as fllown:
# senlin cluster-policy-list cluster_001
WARNING (shell) "senlin cluster-
+------
| policy_id | policy_name | policy_type | is_enabled |
+------
| e3b6c1d4 | policy-delete | senlin.
+------
I was execute 'senlin cluster-policy-list cluster_001 -F' the policy-id right, display as fllown:
# senlin cluster-policy-list cluster_001 -F
WARNING (shell) "senlin cluster-
+------
| policy_id | policy_name | policy_type | is_enabled |
+------
| f5bff063-
+------
The policy display:
# senlin policy-list -F
WARNING (shell) "senlin policy-list" is deprecated and will be removed by Apr 2017, please use "openstack cluster policy list" instead.
+------
| id | name | type | created_at |
+------
| f5bff063-
+------
So, when use 'senlin cluster-policy-list cluster_001' don't use -F arguments, the policy-id is error,
the policy-id display is the database record id.
Changed in python-senlinclient: | |
assignee: | nobody → chenyb4 (chenyb4) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/484637
Review: https:/