Chandan Purushothama created CLOUDSTACK-2176:
------------------------------------------------
Summary: "Zone" Scope Configuration parameter value is being added
as a "Global" Scope Configuration parameter
Key: CLOUDSTACK-2176
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2176
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.2.0
Reporter: Chandan Purushothama
Priority: Critical
Fix For: 4.2.0
Observations mentioned below explains the sequence of actions that happened
===========
Observations:
===========
http://10.223.131.170:8096/?command=updateConfiguration&name=blacklisted.routes&id=1&value=10.223.56.0/26&scope=zone
<updateconfigurationresponse
cloud-stack-version="4.2.0-SNAPSHOT"><configuration><category>Advanced</category><name>blacklisted.routes</name><value>10.223.56.0/26</value><scope>zone</scope><description>Routes
that are blacklisted, can not be used for Static Routes creation for the VPC
Private Gateway</description></configuration></updateconfigurationresponse>
http://10.223.131.170:8096/?command=listConfigurations&name=blacklisted.routes
<listconfigurationsresponse
cloud-stack-version="4.2.0-SNAPSHOT"><count>1</count><configuration><category>Advanced</category><name>blacklisted.routes</name><value>10.223.56.0/26</value><scope>global</scope><description>Routes
that are blacklisted, can not be used for Static Routes creation for the VPC
Private Gateway</description></configuration></listconfigurationsresponse>
mysql> select * from data_center_details;
+----+-------+--------------------+-------------+
| id | dc_id | name | value |
+----+-------+--------------------+-------------+
| 2 | 1 | blacklisted.routes | 10.1.1.0/16 |
+----+-------+--------------------+-------------+
1 row in set (0.00 sec)
mysql> select * from configuration where name like "%blacklist%";
+----------+----------+------------+--------------------+----------------+-----------------------------------------------------------------------------------------------------+
| category | instance | component | name | value |
description
|
+----------+----------+------------+--------------------+----------------+-----------------------------------------------------------------------------------------------------+
| Advanced | DEFAULT | VpcManager | blacklisted.routes | 10.223.56.0/26 |
Routes that are blacklisted, can not be used for Static Routes creation for the
VPC Private Gateway |
+----------+----------+------------+--------------------+----------------+-----------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
mysql>
I will attach the apilog.log to the bug report.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira