You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sangeetha Hariharan (JIRA)" <ji...@apache.org> on 2013/04/12 22:44:15 UTC

[jira] [Created] (CLOUDSTACK-2023) IPV6 - Dashboard View - System wide Capacity for Shared Network IPs does not include ipv6 addresses.

Sangeetha Hariharan created CLOUDSTACK-2023:
-----------------------------------------------

             Summary: 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: 4.2.0


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.

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 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