Return-Path: X-Original-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3841DEB6A for ; Tue, 19 Mar 2013 12:53:20 +0000 (UTC) Received: (qmail 40350 invoked by uid 500); 19 Mar 2013 12:53:19 -0000 Delivered-To: apmail-incubator-cloudstack-issues-archive@incubator.apache.org Received: (qmail 40095 invoked by uid 500); 19 Mar 2013 12:53:19 -0000 Mailing-List: contact cloudstack-issues-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-issues@incubator.apache.org Received: (qmail 40070 invoked by uid 99); 19 Mar 2013 12:53:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Mar 2013 12:53:19 +0000 Date: Tue, 19 Mar 2013 12:53:19 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-198) vpn:failto add VPN Users deletes all the existing Vpn user MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606295#comment-13606295 ] ASF subversion and git services commented on CLOUDSTACK-198: ------------------------------------------------------------ Commit 90678c3d14d31617108ed30c4c06d3f1ee65a3e4 in branch refs/heads/master from [~kishan] [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=90678c3 ] CLOUDSTACK-198: Included VpnUsers in Add state while listing. Added state to Vpn user response. > vpn:failto add VPN Users deletes all the existing Vpn user > ---------------------------------------------------------- > > Key: CLOUDSTACK-198 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-198 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller > Affects Versions: pre-4.0.0 > Reporter: sadhu suresh > Assignee: Kishan Kavala > Priority: Critical > Fix For: 4.1.0 > > Attachments: management-server.rar > > > Steps: > *********** > 1.deploy the advance zone with hypervisor as xen > 2.create an account > 3.deployvm > 4.enable vpn on sourNat Ip > 5.create Vpn users > 6.stop the router > 7.try to add VPN users when router is in stopped state > actual results: > ************ > AddVPN user failed because router is stopped state and at same time it deletes all the existing vpn-users > After doing step5: > mysql> select * from vpn_users; > +----+--------------------------------------+----------+-----------+----------+----------------------------------+--------+ > | id | uuid | owner_id | domain_id | username | password | state | > +----+--------------------------------------+----------+-----------+----------+----------------------------------+--------+ > | 2 | f1da3e04-46d5-45fa-9559-60e5b18b0aa1 | 2 | 1 | baby | RXLxcW3THxLgSr4Go0vmbw== | Active | > | 4 | 2ba2b4a6-6bea-4ba4-a563-62aa70079de5 | 2 | 1 | bbb | awMqD1GshW9TyHL4nOah2Q== | Active | > | 5 | 56be8320-a691-4076-bf27-067a97499cbb | 2 | 1 | ccc | w+pjT7ECcenr0bdQNU8jHQ== | Active | > | 6 | 96d18f7a-2a02-42f2-b97b-87e6d57462d5 | 2 | 1 | vvv | /POkwYhduO9HG2oXrb41WQ== | Active | > | 7 | 3b618fda-a4c5-4aca-8e9e-230d15ecdfc9 | 2 | 1 | mmm | rROFGjq9dIu6je1Xs/ZwxA== | Active | > | 8 | 08d62111-9391-4e33-be92-dd3d90a4464b | 2 | 1 | lll | j3Gl7dAKCW/BYY9lAYFWYA== | Active | > | 9 | cf72b697-dee7-4176-88d1-028fd8a135a0 | 2 | 1 | kkk | HAh1zND5p6lZlgA2Qp73JQ== | Active | > | 10 | 6c563eb8-eacb-4c09-9a54-5288e3590152 | 2 | 1 | hhh | eHRo0vybs/sdzai9dzbKlw== | Active | > | 13 | 24c9add6-bd0c-451c-8233-9f91439f53c0 | 6 | 1 | vvv | qVan9OdiixBZCP4NQTcz3WJCyTucvaWL | Active | > | 14 | 633bcf15-3a69-4337-8652-e77cbe71ea8f | 6 | 1 | user1 | Xbf7exMn0ZIFD26/c4UQn3lHljtjTrdn | Active | > +----+--------------------------------------+----------+-----------+----------+----------------------------------+--------+ > 10 rows in set (0.00 sec) > After doing Step7: > mysql> select * from vpn_users; > +----+--------------------------------------+----------+-----------+----------+--------------------------+--------+ > | id | uuid | owner_id | domain_id | username | password | state | > +----+--------------------------------------+----------+-----------+----------+--------------------------+--------+ > | 2 | f1da3e04-46d5-45fa-9559-60e5b18b0aa1 | 2 | 1 | baby | RXLxcW3THxLgSr4Go0vmbw== | Active | > | 4 | 2ba2b4a6-6bea-4ba4-a563-62aa70079de5 | 2 | 1 | bbb | awMqD1GshW9TyHL4nOah2Q== | Active | > | 5 | 56be8320-a691-4076-bf27-067a97499cbb | 2 | 1 | ccc | w+pjT7ECcenr0bdQNU8jHQ== | Active | > | 6 | 96d18f7a-2a02-42f2-b97b-87e6d57462d5 | 2 | 1 | vvv | /POkwYhduO9HG2oXrb41WQ== | Active | > | 7 | 3b618fda-a4c5-4aca-8e9e-230d15ecdfc9 | 2 | 1 | mmm | rROFGjq9dIu6je1Xs/ZwxA== | Active | > | 8 | 08d62111-9391-4e33-be92-dd3d90a4464b | 2 | 1 | lll | j3Gl7dAKCW/BYY9lAYFWYA== | Active | > | 9 | cf72b697-dee7-4176-88d1-028fd8a135a0 | 2 | 1 | kkk | HAh1zND5p6lZlgA2Qp73JQ== | Active | > | 10 | 6c563eb8-eacb-4c09-9a54-5288e3590152 | 2 | 1 | hhh | eHRo0vybs/sdzai9dzbKlw== | Active | > -------------------------+--------+ > 8 rows in set (0.00 sec) > Expected result: > ********************* > It should not delete the existing vpn_users when add vpn_user operation failed. > Git Revision: 2a5e5b2e62a9f35d674f016e02abc1da77b95745 > 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