Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37CC9D64A for ; Mon, 17 Sep 2012 03:33:10 +0000 (UTC) Received: (qmail 61594 invoked by uid 500); 17 Sep 2012 03:33:09 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 61301 invoked by uid 500); 17 Sep 2012 03:33:09 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 60996 invoked by uid 99); 17 Sep 2012 03:33:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 03:33:07 +0000 Date: Mon, 17 Sep 2012 14:33:07 +1100 (NCT) From: "Chandan Purushothama (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: <1134920149.86409.1347852787653.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (CLOUDSTACK-116) Guest Network created in a Sub Domain which doesn't have a network domain suffix , is assigned the network domain suffix of the zone instead of that of the Parent domain of the Sub domain MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chandan Purushothama created CLOUDSTACK-116: ----------------------------------------------- Summary: Guest Network created in a Sub Domain which doesn't have a network domain suffix , is assigned the network domain suffix of the zone instead of that of the Parent domain of the Sub domain Key: CLOUDSTACK-116 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-116 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Reporter: Chandan Purushothama Fix For: 4.0.0 ================ Steps to Reproduce: ================ 1. Create an Advanced Zone Setup (any configuration) . Provide network domain suffix information to the deployed Zone. 2. Create a Domain by the name CHILD under ROOT domain. Provide network domain suffix information to the CHILD domain. 3. Create a Domain by the name GRANDCHILD under CHILD domain. Do not provide any network domain suffix information to the GRANDCHILD domain. 4. Verify that the Domain Tree Structure is ROOT -> CHILD -> GRANDCHILD 5. Create an Account A in the CHILD domain. Do not provide any network domain suffix information to the Account A. 6. Create an Account B in the GRANDCHILD domain. Do not provide any network domain suffix information to the Account B. 7. Create an Isolated Guest Network using DefaultNetworkOfferingwithSourceNATService in Account A. 8. Create an Isolated Guest Network using DefaultNetworkOfferingwithSourceNATService in Account B. 9. Observe the network domain suffix information of the Isolated Guest Networks created in Step 7 and 8. =========== Observations: =========== mysql> select id,name,traffic_type,network_offering_id,state,domain_id,account_id,network_domain from networks where state="Implemented"; +-----+----------------------+--------------+---------------------+-------------+-----------+------------+---------------------+ | id | name | traffic_type | network_offering_id | state | domain_id | account_id | network_domain | +-----+----------------------+--------------+---------------------+-------------+-----------+------------+---------------------+ | 205 | TestNetwork-admin | Guest | 8 | Implemented | 1 | 2 | asf.lab.vmops.com | | 206 | TestNetwork-atoms | Guest | 8 | Implemented | 1 | 3 | atoms.lab.vmops.com | | 207 | TestNetwork-protons | Guest | 8 | Implemented | 2 | 4 | child.lab.vmops.com | | 208 | TestNetwork-neutrons | Guest | 8 | Implemented | 3 | 5 | asf.lab.vmops.com | +-----+----------------------+--------------+---------------------+-------------+-----------+------------+---------------------+ 4 rows in set (0.00 sec) mysql> select * from domain; +----+--------+------------+--------------------------------------+-------+--------------------+-------+-------------+----------------+---------+--------+---------------------+--------+ | id | parent | name | uuid | owner | path | level | child_count | next_child_seq | removed | state | network_domain | type | +----+--------+------------+--------------------------------------+-------+--------------------+-------+-------------+----------------+---------+--------+---------------------+--------+ | 1 | NULL | ROOT | 7e3aea93-fb11-45a6-b3a1-dc2f9aa914dd | 2 | / | 0 | 1 | 2 | NULL | Active | NULL | Normal | | 2 | 1 | CHILD | e2cc8e71-0277-4a02-9685-63424afb67ae | 2 | /CHILD/ | 1 | 1 | 2 | NULL | Active | child.lab.vmops.com | Normal | | 3 | 2 | GRANDCHILD | 87b11254-3071-48c8-bfc4-bf2604ffecbf | 2 | /CHILD/GRANDCHILD/ | 2 | 0 | 1 | NULL | Active | NULL | Normal | +----+--------+------------+--------------------------------------+-------+--------------------+-------+-------------+----------------+---------+--------+---------------------+--------+ 3 rows in set (0.00 sec) mysql> select id,name,domain from data_center; +----+----------+-------------------+ | id | name | domain | +----+----------+-------------------+ | 1 | ZONE-ASF | asf.lab.vmops.com | +----+----------+-------------------+ 1 row in set (0.00 sec) ========== Git Info: ========== Git Revision: 54f9af1695bc359b02e9fc906b3b335cc0bfec41 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git -- 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