trove configuration-update bug

Bug #1298707 reported by Khyati Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Khyati Sheth

Bug Description

A bug exists in trove configuration-update workflow.

Consider mysql configuration group for example. If an existing configuration group consists of values like
{"autocommit": 1, "max_connections": 100, "max_user_connection": 100}. Assume this config group is already applied to a mysql instance "MysqlConfigTest".

If we update this config group to {"autocommit": 1} i.e trove configuration-update <config-group> {"autocommit": 1}, this new config group is updated in "MysqlConfigTest" instance. However, the values for "max_connections": 100, "max_user_connection": 100 are not reset to reflect either their corresponding values in my.cnf or the default mysql values.

This holds because the instance state does not flip to "RESTART_REQUIRED", for trove configuration-update. If any keys are removed from the existing configuration group, the instance should flip to "RESTART_REQUIRED".

Proposed Solution:

Solution is to check that the subset condition. If existing configuration group keys are not a subset of the new keys proposed in configuration-update <config_group> <key/values>, then the instance should flip to RESTART_REQUIRED.

Khyati Sheth (khysheth)
description: updated
Changed in trove:
assignee: nobody → Khyati Sheth (khysheth)
Changed in trove:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Auston McReynolds (amcrn) wrote :

this was fixed by a prior bugfix. marked as "fix released"

Changed in trove:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.