Activity log for bug #1531116

Date Who What changed Old value New value Message
2016-01-05 10:12:05 Jean-Emile DARTOIS bug added bug
2016-01-05 10:14:29 Jean-Emile DARTOIS description In the WATCHER_GOALS_OPTS the option is not mandatory but we always need a goal. So we need to add required=True https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/selection/default.py#L33 WATCHER_GOALS_OPTS = [ cfg.DictOpt( 'goals', default=default_goals, required=True, help='Goals used for the optimization. ' 'Maps each goal to an associated strategy (for example: ' 'BASIC_CONSOLIDATION:basic, MY_GOAL:my_strategy_1)'), ] In the section "WATCHER_GOALS_OPTS" the dict option "goals" is not mandatory. However it should be. So we need to add "required=True" The code is available here : https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/selection/default.py#L33 WATCHER_GOALS_OPTS = [     cfg.DictOpt(         'goals',         default=default_goals,         required=True,         help='Goals used for the optimization. '              'Maps each goal to an associated strategy (for example: '              'BASIC_CONSOLIDATION:basic, MY_GOAL:my_strategy_1)'), ]
2016-01-05 12:45:55 Gábor Antal watcher: assignee Gábor Antal (gabor.antal)
2016-01-05 13:13:26 OpenStack Infra watcher: status New In Progress
2016-01-05 13:17:47 Vincent Françoise watcher: importance Undecided Low
2016-01-05 13:17:51 Vincent Françoise watcher: importance Low Medium
2016-01-07 16:17:01 OpenStack Infra watcher: status In Progress Fix Released