Commit Graph

11228 Commits

Author SHA1 Message Date
prachi 909ec57327 Bug 14482 - When user tries to delete an acquired Ip address ,right after this is successful, UI calls listRemoteAccessVpns() which results in java.lang.NullPointerException.User is presented with "Internal error executing command" error
Reviewed-By: Sheng

Changes:
- Added the null check for account object.
2012-03-26 14:34:08 -07:00
Jessica Wang 749f957662 cloudstack 3.0 UI - infrastructure - service providers - security group provider detail view - correct view all from view security groups to view rules. [reviewed-by: Brian] 2012-03-26 14:08:55 -07:00
Sheng Yang d100b47bba bug 14484: Apply existed firewall rules when associating IP
It's not a elegant fix. The status for firewall rules should remain unchanged
before/after ip association/disassociation. But the related change is tricky
than this fix, may not get enough test for 3.0.1. So we would apply existed
firewall rules again, which would work, just result in some unnecessary
commands.

status 14484: resolved fixed

Reviewed-by: Edison Su
2012-03-26 13:54:48 -07:00
Jessica Wang 71fd193b2c cloudstack 3.0 UI - infrastructure - service provider detail view - correct view all label from view provider to view devices. [reviewed-by: Brian] 2012-03-26 12:45:47 -07:00
Jessica Wang faf2597f75 cloudstack 3.0 UI - service provider detail view - show service provider info instead of physical network info. [reviewed-by: Brian] 2012-03-26 11:58:26 -07:00
frank b1cdbb5544 Bug 14492 - Stop and start of SSVM in Zone1 fails if Zone2 is configured with Storage network
status 14492: resolved fixed
reviewed-by: edison
2012-03-26 11:56:38 -07:00
kishan 168a55f7db bug 14499: Added account uuid unique contstraint for upgrade in usage DB
status 14499: resolved fixed
reviewed-by: Nitin
2012-03-26 23:53:25 +05:30
Jessica Wang bba101f7de bug 14488 - multiEdit widget - itemData[0] does not always have data. Only retrieve data when itemData[0] is not an empty object. [reviewed-by: Brian] 2012-03-26 10:53:57 -07:00
Alena Prokharchyk 9a9e1e1f8e bug 14500: set default value for is_system field as a part of 3.0 to 3.0.1 upgrade
status 14500: resolved fixed
reviewed-by: Frank Zhang
2012-03-26 10:28:58 -07:00
Murali reddy bfd4142f47 bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX
status 14463: resolved fixed
reviewed-by: Janardhana.Reddy@citrix.com

moved all static (config related) variables to non-static in SRX server resource as we can have more than
one SRX device in a zone
2012-03-26 17:19:16 +05:30
Murali reddy 50cec4c98a Revert "bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX"
reviewed-by: Janardhana.Reddy@citrix.com
2012-03-26 16:02:09 +05:30
Murali reddy 5c035efef5 bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX
status 14463: resolved fixed
reviewed-by: Janardhana.Reddy@citrix.com
2012-03-26 15:01:30 +05:30
Nitin Mehta 3473bc7d9b Bug 14490: Fix NPE in ListCapacity reviewed-by: Kishan 2012-03-26 12:28:15 +05:30
Prasanna Santhanam 6e3f85c545 reduce logging verbosity, set level to info
reviewed-by: Kishan
2012-03-24 09:51:57 +05:30
Prasanna Santhanam 1e7d3dd1ea testCase level logger and testClient class attr
reviewed-by: Chirag Jog

Each testCase class will use its own logger to distinguish log
messages when multiple suites are run. This will aid debugging

Every cloudstackTestCase will also contiain a class level attr of the
testClient which was previously available only to setUp/tearDown. Now
even setUpClass/tearDownClass can use this attribute.
2012-03-24 09:51:57 +05:30
Edison Su 0db35f4163 bug 14454: simulator: add limitation on how many vms can be created on a host. status 14454: resolved fixed; Reviewed-by: sangeetha 2012-03-23 19:20:03 -07:00
Edison Su 5797baa3ff bug 1443: even adding host failed, return success in api. status 14443: resolved fixed; Reviewed-by: sheng 2012-03-23 18:22:31 -07:00
Edison Su cfd48da3f1 bug 14024: apply sweller's patch. status 14024: resovled fixed; Reviewed-by: sweller 2012-03-23 17:57:56 -07:00
Jessica Wang 53873782de bug 14481: cloudstack 3.0 UI - instance page - after a regular user destroys a VM, listVirtualMachines API will no longer returns this destroyed VM to the regular user. So, add additional code in dataProvider() to handle this case. [reviewed-by: Brian] 2012-03-23 15:55:50 -07:00
Brian Federle 0aba779015 bug 14191
Correctly filter domain drop-down on add account dialog if accessed
via a specific domain.

status 14191: resolved fixed
reviewed-by: jessica
2012-03-23 14:42:23 -07:00
Jessica Wang 58e85db135 bug 14474: cloudstack 3.0 UI - network page - configuration - Load Balancer, Port Forwarding - "instancename" is not returned by API for normal user and domain admin. Should use "displayname" returned by API instead. [reviewed-by: Brian] 2012-03-23 12:14:44 -07:00
Jessica Wang daa8d7e643 cloudstack 3.0 UI - login page - language dropdown - add "Chinese (Simplified)" option. [reviewed-by: Brian] 2012-03-23 10:08:10 -07:00
Jessica Wang 40b7f180b8 cloudstack 3.0 UI - check in Chinese translation. . [reviewed-by: Brian] 2012-03-23 09:57:45 -07:00
Jessica Wang b3e18a02b1 remove obsolete code since we don't display the individual providers on the system chart anymore. [reviewed-by: Brian] 2012-03-22 16:31:08 -07:00
bfederle db55acfafd bug 14447: Fix incorrect label on select network offering of VM wizard
status 14447: resolved fixed
reviewed-by: jessica
2012-03-22 18:45:25 -04:00
Alena Prokharchyk 5a8af4a3e9 bug 14445: automatically enable firewall service for VR when VR is a provider for PF/StaticNat services
status 14445: resolved fixed
reviewed-by: Sheng Yang
2012-03-22 14:18:02 -07:00
Alena Prokharchyk 37190fb513 bug 14439: added search by name/description to listGuestOS and listGuestOSCategories apis
status 14439: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 11:32:24 -07:00
Jessica Wang 7a50a457cd bug 14451: cloudstack 3.0 UI - volume page - remove the "Migrate Volume" option for regular user and domain admin. [reviewed-by: Brian] 2012-03-22 10:30:54 -07:00
Alena Prokharchyk 39f06fa7f9 bug 14446: removed elasticLBVm from components.xml
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:25:44 -07:00
Abhi 2996482a0d bug 12947: support for 1.5 beta; reviewed-by: nitin 2012-03-22 17:27:43 +05:30
Abhi 51759bcf8b bug 14135: mapping windows 2003 os types to xen templates
reviewed-by: nitin
2012-03-22 17:14:28 +05:30
prachi 64311cc3ab Bug 14299 - Fix adding public ip range per account
Changes:
Fixed as described in the bug.

* CreateVlanIpRangeCmd still accept account/domainId info
* if account owns:
- one Isolated network with source nat service enabled, use this network
- more than one Isolated network with source nat service enabled - error out
- none Isolated networks with source nat service enabled, create it only in
case when there is an Isolated network offering with Availability=Required and
source nat service enabled.
2012-03-21 16:46:13 -07:00
Kelven Yang faa03175ee Bug 14213: use UUID name in secondary storage for templates. Reviewed-By: edison 2012-03-21 16:45:30 -07:00
Jessica Wang f486cef0d6 cloudstack 3.0 UI - network page - detail view - pass listAll=true for now until API is fixed. 2012-03-21 16:31:01 -07:00
Kelven Yang 93151a701c bug 14313: add map type adapter to ApiGsonBuilder as some API response classes are using Map<String, String> 2012-03-21 15:11:58 -07:00
Kelven Yang 4233cd7aba bug 14188: always make sure to inject SSH keys before copying systemvm ISO to secondary storage 2012-03-21 14:20:53 -07:00
Jessica Wang f29bb12486 bug 14202: cloudstack 3.0 UI - DeployVM wizard - select ISO step - only populate ISOs that are bootable. 2012-03-21 14:13:06 -07:00
Brian Federle 7a97c23bec bug 14240
Add VM details to name in PF/LB rule on click.

Note that the details panel now maximizes, to prevent additional panels
from accumulating by the user trying to click on multiple VMs when the
detail pane is present.

status 14240: resolved fixed
2012-03-21 12:15:02 -07:00
Brian Federle 5473eef6b4 bug 14380: Add cancel button to detail view edit action
status 14380: resolved fixed
2012-03-21 11:44:20 -07:00
Jessica Wang 02bbcf0687 cloudstack 3.0 UI - listView - fix a bug that table row was not removed from listView after Remove action on listView completed. 2012-03-21 11:19:16 -07:00
Brian Federle d54d16683c bug 14375
Use 'Management IP Addresses' in place of 'Private IP Addresses' for
label on system dashboards

status 14375: resolved fixed
2012-03-21 11:16:03 -07:00
Brian Federle 7367ad785e Fix multi-edit when item data is not present 2012-03-21 11:04:14 -07:00
Sheng Yang ce2e1166e0 bug 14042: Don't set dhcp:router option on DHCP server for non-default network on CentOS/RHEL
The routing table with two nics may be messed up, due to we sent same
router(gateway) information from different DHCP server, in order to specify
default gateway. E.g.

Network A: 192.168.1.0/24, gw 192.168.1.1
Network B: 192.168.2.0/24, gw 192.168.2.1

User VM: Nic 1 connect to network A, get ip 192.168.1.10; nic 2 connect to
network B, get ip 192.168.2.10.

Set network A as the default network of user VM.

Currently we would send this information to user VM through DHCP offer:
In network A: dhcp-option:router 192.168.1.1
In network B: dhcp-option:router 192.168.1.1

So both NIC in the guest VM would receive 192.168.1.1 as router(gateway).

But, in CentOS 5.6, dhclient-scripts try to tell if the gateway is reachable
for current subnet.

So when we try to enable nic 2(eth1) of user VM, dhclient would receive:
IP: 192.168.2.10
Mask: 255.255.255.0
Router: 192.168.1.1

Then it would found that the specified gateway(router) is not within its own
subnet(192.168.2.0/24). But since we send out this ip(192.168.1.1) as the
gateway for it, dhclient thought that it should got someway to access the
network through this IP. So it would execute:

ip route add 192.168.1.1 dev eth1
ip route replace default via 192.168.1.1 dev eth1

But it can never reach 192.168.1.1(which is in the eth0's subnet and the
gateway of eth0) by go through eth1 interface. So it is messed up.

We've tested Windows 2008 R2, CentOS 5.3, CentOS 5.6 and Ubuntu 10.04. Windows
and Ubuntu are fine with above policy.

To solve this, we send different dhcp:router option according to the guest OS
type now.

We may need expand this list later, but for now we only know that CentOS and
RHEL would behavior in this way.

status 14042: resolved fixed
2012-03-21 10:37:30 -07:00
Sheng Yang e14cf6a4e1 Fix not sending DNS in DHCP command 2012-03-21 10:37:24 -07:00
Brian Federle 643f54c127 bug 14351: Show VM name in PF, instead of UUID
status 14351: resolved fixed
2012-03-21 10:27:29 -07:00
Brian Federle 49f0960de1 Remove trailing comma 2012-03-21 09:56:33 -07:00
Brian Federle 0d3b8191b4 UI: Better load balancer / multi-edit item naming
Currently, the items listed under the load balancer always use .name as
the field to display for the VM name.

Since 'instancename' is now used for the user-friendly name field,
_itemName metadata attribute can be specified in the rule's data
provider to tell which field should be rendered as the name field in the
list.
2012-03-21 09:56:33 -07:00
Brian Federle 52fcc20b59 Fix admin not being able to view users' network details 2012-03-21 09:56:33 -07:00
Jessica Wang 315ef3c222 cloudstack 3.0 UI - more labels translated. 2012-03-21 09:49:01 -07:00
Brian Federle 4efb03114b bug 14231: Per-account public IP range support
Add UI support for associating IP ranges with specific account + domain;
this is accessible by going to the system network graph->public->IP
range edit, where clicking on 'Add user' button opens a dialog to
specify an account and domain.

Note that right now editing of existing IP ranges is not supported, so
in order to associate a range with another account, the IP range needs
to be dropped and re-created with the new account configuration.

status 14231: resolved fixed
2012-03-21 09:33:11 -07:00