Remove attributes of audit-template not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watcher |
Fix Released
|
Low
|
Eric Xie |
Bug Description
Description
===========
It did not work that removing some attributes of the audit template.
Steps to reproduce
==================
* Create an audit template with strategy 'dummy'
`openstack optimize audittemplate create -s dummy -d "test" test dummy`
* Remove attribute 'strategy'
`openstack optimize audittemplate update test remove /strategy`
* Show the audit template
`openstack optimize audittemplate show test`
Expected result
===============
Got None for the 'strategy' field.
Actual result
=============
Got dummy for the 'strategy' field.
Logs
=============
2017-02-07 11:08:02.751 INFO watcher-api [req-291f168f-
Environment
===========
# ENV
devstack
# version
- devstack:
git log
commit bab8516a8503445
Merge: 0ab0e50 10db2b8
Author: Jenkins <email address hidden>
Date: Fri Feb 3 16:24:32 2017 +0000
Merge "Enable VNC console in tempest.conf"
- watcher:
$ git log
commit 26c7726c00ea378
Merge: 4b5dce5 5b2cdb5
Author: Jenkins <email address hidden>
Date: Fri Feb 3 09:33:24 2017 +0000
Merge "Using items() instead of six.iteritems()"
- watchclient
# pip show python-
Name: python-
Version: 1.0.1.dev6
Summary: Python client library for Watcher API
Home-page: http://
Author: OpenStack
Author-email: <email address hidden>
License: UNKNOWN
Location: /opt/stack/
Requires: Babel, cliff, osc-lib, oslo.i18n, oslo.utils, pbr, PrettyTable, keystoneauth1, six, PyYAML
Changed in watcher: | |
status: | New → In Progress |
assignee: | nobody → Eric Xie (eric-xie) |
Changed in watcher: | |
milestone: | none → ocata-rc-final |
importance: | Undecided → Low |
Fix proposed to branch: master /review. openstack. org/430521
Review: https:/