[ https://issues.apache.org/jira/browse/CLOUDSTACK-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Animesh Chaturvedi updated CLOUDSTACK-2023: ------------------------------------------- Fix Version/s: (was: 4.4.0) Future > IPV6 - Dashboard View - System wide Capacity for Shared Network IPs does not > include ipv6 addresses. > ---------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-2023 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2023 > 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 > Environment: Latest build from master > Reporter: Sangeetha Hariharan > Fix For: Future > > > IPV6 - Dashboard View - System wide Capacity for Shared Network IPs does not > include ipv6 addresses. > In my case I have 2 ipv6 shared networks , 1 ipv4 and 1 dual network. > I have few Vms deployed in all the 3 networks. > From UI , Dashboard View - System wide Capacity - > Shared Network IPs shows > count of "Allocated: 4 / 19" which takes into account only the Ip4 addresses. > We should account for ipv6 addresses as well. > 2013-04-12 13:37:53,774 INFO [cloud.api.ApiServer] (catalina-exec-19:null) > (userId=2 accountId=2 sessionId=2D0B161F7AB8EAF0F4B9030A8F1EE5A9) > 10.217.252.128 -- GET > command=listCapacity&response=json&sessionkey=mr0BgmZrNhtHRy6fuzTCiliVkUA%3D&zoneid=cff8e0ab-377b-4ca1-9e7b-0961692cd9b9&_=1365799419879 > 200 { "listcapacityresponse" : { "count":9 ,"capacity" : [ > {"type":0,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":3435134976,"capacitytotal":16713310208,"percentused":"20.55"}, > > {"type":1,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":3800,"capacitytotal":9040,"percentused":"42.04"}, > > {"type":3,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":280000693760,"capacitytotal":23621556633600,"percentused":"1.19"}, > > {"type":4,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":2,"capacitytotal":31,"percentused":"6.45"}, > > {"type":5,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":3,"capacitytotal":14,"percentused":"21.43"}, > > {"type":7,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":0,"capacitytotal":15,"percentused":"0"}, > > {"type":8,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":4,"capacitytotal":19,"percentused":"21.05"}, > > {"type":6,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":7920302391296,"capacitytotal":11810778316800,"percentused":"67.06"}, > > {"type":2,"zoneid":"cff8e0ab-377b-4ca1-9e7b-0961692cd9b9","zonename":"zone1","capacityused":0,"capacitytotal":0,"percentused":"0"} > ] } } > mysql> select * from user_ipv6_address; > +----+--------------------------------------+------------+-----------+-----------------------------+----------------+---------+-----------+-------------------+-------------------+------------+---------------------+---------------------+ > | id | uuid | account_id | domain_id | > ip_address | data_center_id | vlan_id | state | > mac_address | source_network_id | network_id | physical_network_id | > created | > +----+--------------------------------------+------------+-----------+-----------------------------+----------------+---------+-----------+-------------------+-------------------+------------+---------------------+---------------------+ > | 1 | 03490a22-4c27-432d-a8bf-364647780be8 | 3 | 1 | > fc00:3:1362::a2eb:f933:1b83 | 1 | 2 | Allocated | > 06:69:6e:00:00:2e | 204 | NULL | 200 | > 2013-04-10 22:22:27 | > | 3 | 8dcc00ba-2189-4229-a66e-b62311f69a8e | 2 | 1 | > fc00:3:1362::c4dd:37a8:cc3e | 1 | 2 | Allocated | > 06:c7:2e:00:00:30 | 204 | NULL | 200 | > 2013-04-10 22:41:17 | > | 4 | a5d199b5-1565-4ea5-ae1a-593f9d4356da | 3 | 1 | > fc00:3:1363::2 | 1 | 3 | Allocated | > 06:b9:10:00:00:31 | 205 | NULL | 200 | > 2013-04-10 23:29:04 | > | 5 | 4d87af4e-e71b-4bdb-9f19-c76870368459 | 1 | 1 | > fc00:3:1363::5 | 1 | 3 | Allocated | > 06:1c:10:00:00:32 | 205 | NULL | 200 | > 2013-04-10 23:29:04 | > | 6 | 003e3750-81f7-4673-b29b-6b5f24b6366f | 2 | 1 | > fc00:3:1363::4 | 1 | 3 | Allocated | > 06:7c:54:00:00:33 | 205 | NULL | 200 | > 2013-04-11 01:23:36 | > | 7 | 2435c2e4-83ec-40c4-97c9-8ed92d8b5883 | 2 | 1 | > fc00:3:1363::3 | 1 | 3 | Allocated | > 06:c0:26:00:00:34 | 205 | NULL | 200 | > 2013-04-11 18:21:06 | > | 8 | d86895ae-7e32-418f-a68f-1e960bb1bd5c | 2 | 1 | > fc00:3:1363::d | 1 | 4 | Allocated | > 06:fa:60:00:00:35 | 205 | NULL | 200 | > 2013-04-11 18:27:16 | > | 9 | 8559c36d-dba7-4ee9-8cd2-78ad5d4cef27 | 2 | 1 | > fc00:3:1362::b5a1:a643:3ffb | 1 | 2 | Allocated | > 06:e8:80:00:00:36 | 204 | NULL | 200 | > 2013-04-11 18:41:07 | > | 10 | e9dfd6aa-d147-4351-a7d2-8e7eddaa1c56 | 1 | 1 | > fc00:3:1362::2 | 1 | 2 | Allocated | > 06:71:d0:00:00:37 | 204 | NULL | 200 | > 2013-04-11 18:43:22 | > | 11 | e78e3bbb-222e-4efc-847c-50feb5f38d46 | 2 | 1 | > fc00:3:1362::249f:3e0:1ebb | 1 | 2 | Allocated | > 06:5a:d4:00:00:38 | 204 | NULL | 200 | > 2013-04-11 18:46:00 | > | 12 | 56c5a849-6327-4ee1-8d14-2e63fed186a2 | 2 | 1 | > fc00:3:1363::10 | 1 | 4 | Allocated | > 06:94:6c:00:00:39 | 205 | NULL | 200 | > 2013-04-11 19:18:18 | > | 13 | 2d84f4a5-3658-40f5-8cee-414425f7da4a | 2 | 1 | > fc00:3:1363::a | 1 | 4 | Allocated | > 06:b0:42:00:00:3a | 205 | NULL | 200 | > 2013-04-12 16:38:41 | > | 14 | f40fcf9b-fcdc-4a4a-b098-d1ada9d92fd7 | 2 | 1 | > fc00:3:1370::6 | 1 | 5 | Allocated | > 06:99:f8:00:00:43 | 206 | NULL | 200 | > 2013-04-12 16:50:29 | > | 15 | 2f1cead5-89e3-48e4-926b-8f08e2321199 | 1 | 1 | > fc00:3:1370::2 | 1 | 5 | Allocated | > 06:a1:98:00:00:44 | 206 | NULL | 200 | > 2013-04-12 16:50:30 | > | 17 | 6d7ec799-5146-41d1-8cbc-9a1de34e9066 | 2 | 1 | > fc00:3:1370::c | 1 | 5 | Allocated | > 06:15:72:00:00:51 | 206 | NULL | 200 | > 2013-04-12 20:24:46 | > | 18 | 9a804227-1d00-4a46-b632-2e4b102df5d3 | 2 | 1 | > fc00:3:1370::3 | 1 | 5 | Allocated | > 06:76:bc:00:00:52 | 206 | NULL | 200 | > 2013-04-12 20:26:28 | > +----+--------------------------------------+------------+-----------+-----------------------------+----------------+---------+-----------+-------------------+-------------------+------------+---------------------+---------------------+ > 16 rows in set (0.00 sec) > mysql> select public_ip_address from user_ip_address where state="Allocated"; > +-------------------+ > | public_ip_address | > +-------------------+ > | 10.223.136.66 | > | 10.223.136.69 | > | 10.223.137.55 | > | 10.223.137.56 | > | 10.223.137.58 | > | 10.223.137.59 | > +-------------------+ > 6 rows in set (0.00 sec) -- This message was sent by Atlassian JIRA (v6.3.4#6332)