[
https://issues.apache.org/jira/browse/CLOUDSTACK-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635033#comment-13635033
]
Srikanteswararao Talluri commented on CLOUDSTACK-2077:
------------------------------------------------------
===START=== 10.252.250.217 -- GET
command=updatePhysicalNetwork&state=Enabled&id=cd9e8ad3-d3a7-43fe-9003-829696955c1b&response=json&sessionkey=2tAP2FlMrOOR3XOqK%2FmnTJ25mJg%3D&_=1366274773577
2013-04-18 19:42:19,758 DEBUG [cloud.async.AsyncJobManagerImpl]
(catalina-exec-14:null) submit async job-5, details: AsyncJobVO {id:5, userId:
2, accountId: 2, sessionKey: null, instanceType: null, instanceId: null, cmd:
org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd,
cmdOriginator: null, cmdInfo:
{"id":"cd9e8ad3-d3a7-43fe-9003-829696955c1b","response":"json","sessionkey":"2tAP2FlMrOOR3XOqK/mnTJ25mJg\u003d","ctxUserId":"2","state":"Enabled","_":"1366274773577","ctxAccountId":"2","ctxStartEventId":"22"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0,
processStatus: 0, resultCode: 0, result: null, initMsid: 7566222426160,
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-04-18 19:42:19,768 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-5:job-5) Executing
org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd for
job-5
2013-04-18 19:42:19,780 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null)
===END=== 10.252.250.217 -- GET
command=updatePhysicalNetwork&state=Enabled&id=cd9e8ad3-d3a7-43fe-9003-829696955c1b&response=json&sessionkey=2tAP2FlMrOOR3XOqK%2FmnTJ25mJg%3D&_=1366274773577
2013-04-18 19:42:19,880 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-5:job-5) Done executing
org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd for
job-5
mysql> select * from physical_network;
+-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+----------+---------------------+---------+
| id | uuid | name |
data_center_id | vnet | speed | domain_id | broadcast_domain_range | state
| created | removed |
+-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+----------+---------------------+---------+
| 200 | cd9e8ad3-d3a7-43fe-9003-829696955c1b | Physical Network 1 |
1 | 1021-1025 | NULL | NULL | ZONE | Disabled |
2013-04-18 14:12:12 | NULL |
+-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+----------+---------------------+---------+
1 row in set (0.00 sec)
mysql> select * from physical_network;
+-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+----------+---------------------+---------+
| id | uuid | name |
data_center_id | vnet | speed | domain_id | broadcast_domain_range | state
| created | removed |
+-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+----------+---------------------+---------+
| 200 | cd9e8ad3-d3a7-43fe-9003-829696955c1b | Physical Network 1 |
1 | 1021-1025 | NULL | NULL | ZONE | Disabled |
2013-04-18 14:12:12 | NULL |
+-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+----------+---------------------+---------+
1 row in set (0.00 sec)
updating the database is the workaround for this issue:
mysql> update physical_network set state="Enabled" where id=200;
Query OK, 1 row affected (0.08 sec)
Rows matched: 1 Changed: 1 Warnings: 0
> The installation wizard won't enable the physical network
> ---------------------------------------------------------
>
> Key: CLOUDSTACK-2077
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2077
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Environment: updatePhysicalNetwork API to enable physical network
> doesn't update physical_network table in the database
> Reporter: Isaac Chiang
> Assignee: Isaac Chiang
> Priority: Blocker
> Attachments: Screenshot-1.png
>
>
--
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