senlin cluster was created failed by rally
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
New
|
Undecided
|
Unassigned |
Bug Description
when i use rally to create the senlin cluster ,error occured in the log of senlin-engine.
I would like to add that i Manually create a cluster is ok.
in fact,the profile has been created by rally why i would get the " The profile could not be found" error?
[rally log]
2016-10-11 16:59:36.749 5613 INFO rally.plugins.
2016-10-11 16:59:36.766 5742 INFO rally.task.runner [-] Task 8d83c8f9-
ea32ff2a-
2016-10-11 16:59:47.311 5742 INFO rally.task.runner [-] Task 8d83c8f9-
Fault: Status in failure list set(['ERROR'])
[senlin log]
[root@zmg ~(keystone_admin)]# tail -f /var/log/
2016-10-11 16:59:43.694 1 ERROR senlin.
2016-10-11 16:59:43.906 1 ERROR senlin.engine.event [req-41b17d57-
2016-10-11 16:59:47.853 1 ERROR senlin.
2016-10-11 16:59:48.766 1 ERROR senlin.engine.event [req-41b17d57-
I guess may be it is the permissions problem.
rally/plugins/
-------
def _create_
"""Create a new cluster from attributes.
:param profile_id: ID of profile used to create cluster
:param desired_capacity: The capacity or initial number of nodes
:param min_size: The minimum number of nodes owned by the cluster
:param max_size: The maximum number of nodes owned by the cluster.
:param timeout: The timeout value in minutes for cluster creation
:param metadata: A set of key value pairs to associate with the cluster
:returns: object of cluster created.
"""
attrs = {
"name": self.generate_
}
# cluster = self.admin_
cluster = self.clients(
cluster = utils.wait_
After i changed the code "admin_clients" to "clients" ,the problem was not happened.
+------
| Response Times (sec) |
+------
| Action | Min (sec) | Median (sec) | 90%ile (sec) | 95%ile (sec) | Max (sec) | Avg (sec) | Success | Count |
+------
| senlin.
| senlin.
| total | 71.165 | 71.165 | 71.165 | 71.165 | 71.165 | 71.165 | 100.0% | 1 |
+------
description: | updated |