The before_end_lease event is always IN_PROGRESS even the lease has been expired
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Fix Released
|
Medium
|
Pablo Andres Fuente |
Bug Description
openstack server create --flavor 1 --image cirros-
After the lease expired, the before_end_lease event is always IN_PROGRESS
gyliu@devstack1:~$ climate lease-show lease_test3
Starting new HTTP connection (1): 9.111.244.68
Starting new HTTP connection (1): 9.111.244.68
Starting new HTTP connection (1): 9.111.244.68
Starting new HTTP connection (1): 9.111.244.68
+------
| Field | Value |
+------
| created_at | 2014-05-07 08:28:15 |
| end_date | 2014-05-
| events | { |
| | "status": "DONE", |
| | "lease_id": "fe8ffe76-
| | "event_type": "end_lease", |
| | "created_at": "2014-05-07 08:28:15", |
| | "updated_at": "2014-05-07 08:31:08", |
| | "time": "2014-05-
| | "id": "2cb74fd5-
| | } |
| | { |
| | "status": "IN_PROGRESS", | <<<<<<<
| | "lease_id": "fe8ffe76-
| | "event_type": "before_end_lease", |
| | "created_at": "2014-05-07 08:28:15", |
| | "updated_at": "2014-05-07 08:28:16", |
| | "time": "2014-05-
| | "id": "95eeda6f-
| | } |
| | { |
| | "status": "DONE", |
| | "lease_id": "fe8ffe76-
| | "event_type": "start_lease", |
| | "created_at": "2014-05-07 08:28:15", |
| | "updated_at": "2014-05-07 08:28:37", |
| | "time": "2014-05-
| | "id": "f4fd4425-
| | } |
| id | fe8ffe76-
| name | lease_test3 |
| project_id | cbf4cdc5564849b
| reservations | { |
| | "status": "deleted", |
| | "lease_id": "fe8ffe76-
| | "resource_id": "9406c6ce-
| | "created_at": "2014-05-07 08:28:16", |
| | "updated_at": "2014-05-07 08:31:08", |
| | "id": "acae53ef-
| | "resource_type": "virtual:instance" |
| | } |
| start_date | 2014-05-
| trust_id | 90cfd5565f63405
| updated_at | |
| user_id | 2aada9e476d1484
+------
Changed in climate: | |
assignee: | nobody → Jay Lau (jay-lau-513) |
Changed in climate: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in blazar: | |
milestone: | none → 0.1.1 |
Changed in blazar: | |
status: | Fix Committed → Fix Released |
Jay,
Are you working on this? If the answer is no, I could fix it. Are you OK with this?