Module re-apply does not reflect updated values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Medium
|
Peter Stachowski |
Bug Description
If you apply a module, remove it, update the module (with a new name, for example) and apply it again, module-query will still show the old name.
Here's the output:
> trove module-query myinst
+--
| Name | Type | Datastore | Version | Status | Message | Created | Updated |
+--
| mynod | ping | all | all | OK | my_msg | 2016-08-09 21:23:13.46 | 2016-08-09 21:23:13.46 |
+--
> trove module-remove myinst mynod
> trove module-query myinst
+--
| Name | Type | Datastore | Version | Status | Message | Created | Updated |
+--
+--
> trove module-update mynod --name mymod
+--
| Property | Value |
+--
| apply_order | 5 |
| auto_apply | 0 |
| created | 2016-07-27T14:34:42 |
| datastore | all |
| datastore_id | None |
| datastore_version | all |
| datastore_
| description | None |
| id | 2e48894c-
| is_admin | 1 |
| live_update | 0 |
| md5 | ae27d5ebdf04e01
| name | mymod |
| priority_apply | 0 |
| tenant | 5b4dc51c7ce4471
| tenant_id | 5b4dc51c7ce4471
| type | ping |
| updated | 2016-08-09T21:28:41 |
| visible | 1 |
+--
> trove module-apply myinst mymod
+--
| Name | Type | Datastore | Version | Status | Message |
+--
| mynod | ping | all | all | OK | my_msg |
+--
Changed in trove: | |
importance: | Undecided → Medium |
milestone: | none → next |
Fix proposed to branch: master /review. openstack. org/353118
Review: https:/