2017-07-18 06:36:26 |
chenyb4 |
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-list" is deprecated and will be removed by Apr 2017, please use "openstack cluster policy binding list" instead.
+-----------+---------------+----------------------------+------------+
| policy_id | policy_name | policy_type | is_enabled |
+-----------+---------------+----------------------------+------------+
| f5bff063 | policy-delete | senlin.policy.deletion-1.0 | True |
+-----------+---------------+----------------------------+------------+
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-list" is deprecated and will be removed by Apr 2017, please use "openstack cluster policy binding list" instead.
+--------------------------------------+---------------+----------------------------+------------+
| policy_id | policy_name | policy_type | is_enabled |
+--------------------------------------+---------------+----------------------------+------------+
| f5bff063-3a43-48b2-95db-f48b213ba9c8 | policy-delete | senlin.policy.deletion-1.0 | True |
+--------------------------------------+---------------+----------------------------+------------+
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-3a43-48b2-95db-f48b213ba9c8 | policy-delete | senlin.policy.deletion-1.0 | 2017-07-18T05:39:32.000000 |
+--------------------------------------+---------------+----------------------------+----------------------------+
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. |
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-list" is deprecated and will be removed by Apr 2017, please use "openstack cluster policy binding list" instead.
+-----------+---------------+----------------------------+------------+
| policy_id | policy_name | policy_type | is_enabled |
+-----------+---------------+----------------------------+------------+
| e3b6c1d4 | policy-delete | senlin.policy.deletion-1.0 | True |
+-----------+---------------+----------------------------+------------+
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-list" is deprecated and will be removed by Apr 2017, please use "openstack cluster policy binding list" instead.
+--------------------------------------+---------------+----------------------------+------------+
| policy_id | policy_name | policy_type | is_enabled |
+--------------------------------------+---------------+----------------------------+------------+
| f5bff063-3a43-48b2-95db-f48b213ba9c8 | policy-delete | senlin.policy.deletion-1.0 | True |
+--------------------------------------+---------------+----------------------------+------------+
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-3a43-48b2-95db-f48b213ba9c8 | policy-delete | senlin.policy.deletion-1.0 | 2017-07-18T05:39:32.000000 |
+--------------------------------------+---------------+----------------------------+----------------------------+
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. |
|