Commit Graph

11672 Commits

Author SHA1 Message Date
Jessica Wang 58546e9a06 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:54:55 -07:00
Alena Prokharchyk 3f58fc707d bug 14500: set default value for is_system field as a part of 3.0 to 3.0.1 upgrade
status 14500: resolved fixed
reviwed-by: Frank Zhang
2012-03-26 10:25:28 -07:00
Murali reddy 47496f61f6 bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX
status 14463; resolved fixed

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:17:21 +05:30
Murali reddy 883e2cf830 Revert "bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX"
This reverts commit c9be61adcb.
2012-03-26 15:44:20 +05:30
Murali reddy c9be61adcb 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:05:02 +05:30
Sanjay Tripathi fbf77f5f8f Bug 14067: Global config - clicking on Edit button twice gives javaScript error args.callback is not a function. 2012-03-26 13:24:49 +05:30
Nitin Mehta 277c0c8bca Bug 14490: Fix NPE in ListCapacity 2012-03-24 16:32:48 +05:30
Prasanna Santhanam 2cfcee47d0 reduce logging verbosity, set level to info
reviewed-by: Kishan
2012-03-24 09:50:44 +05:30
Prasanna Santhanam a6a159f6a1 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:50:44 +05:30
Edison Su 6a6ab1111b 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:34 -07:00
Edison Su 8604894a28 bug 1443: even adding host failed, return success in api. status 14443: resolved fixed; Reviewed-by: sheng 2012-03-23 18:22:59 -07:00
Edison Su 15cdc4b78c bug 14024: apply sweller's patch. status 14024: resovled fixed; Reviewed-by: sweller 2012-03-23 17:57:07 -07:00
Jessica Wang 00c48f985b 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. 2012-03-23 15:58:15 -07:00
bfederle b4a3b1f185 bug 14447: Fix incorrect label on select network offering of VM wizard 2012-03-23 14:50:30 -07:00
Brian Federle 25b9807945 bug 14191
Correctly filter domain drop-down on add account dialog if accessed
via a specific domain.
2012-03-23 14:50:11 -07:00
Jessica Wang 6467dc486b 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. 2012-03-23 12:15:34 -07:00
Jessica Wang 3c1e160b75 cloudstack 3.0 UI - login page - language dropdown - add "Chinese (Simplified)" option. 2012-03-23 10:08:55 -07:00
Jessica Wang af17326005 cloudstack 3.0 UI - check in Chinese translation. 2012-03-23 09:59:11 -07:00
Jessica Wang 590f2791f5 remove obsolete code since we don't display the individual providers on the system chart anymore. 2012-03-22 16:35:42 -07:00
Alena Prokharchyk 53f1c487ea 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:17:44 -07:00
Alena Prokharchyk e9bb106527 bug 14439: added search by name/description to listGuestOS and listGuestOSCategories apis
status 14439: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 11:33:11 -07:00
Jessica Wang 03bb51014a 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:31:44 -07:00
Alena Prokharchyk 0652165adb bug 14446: removed elasticLBVm from components.xml
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:26:37 -07:00
Abhi 8b235acad0 bug 12947: support for 1.5 beta; reviewed-by: nitin 2012-03-22 17:29:38 +05:30
Abhi 7acd080a03 bug 14135: mapping windows 2003 os types to xen templates 2012-03-22 17:18:38 +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
Brian Federle 207ef1116a Error handling for multiEdit remove action 2012-03-21 09:29:01 -07:00
Nitin Mehta 220c904be3 Bug 14345: DB discrepecy for capacity.check.period, cluster.memory.allocated.capacity.disablethreshold, pool.storage.allocated.capacity.disablethreshold, pool.storage.capacity.disablethreshold.
Reviewed-By: Kishan
2012-03-21 17:53:22 +05:30
kishan 8cf29bfe2c bug 14290: in 3.0 upgrade insert CentOS 5.6 template with ID 5
status 14290: resolved fixed
2012-03-21 17:27:54 +05:30
kishan b4b05515e2 bug 14409: VMware, create network_stats iptables rule while creating router
status 14409: resolved fixed
2012-03-21 17:27:46 +05:30
Murali reddy b4e64e653b bug 13899: CloudStack (Advanced Mode) should not allow "NetScaler" as provider for StaticNAT service
status 13899: resolved fixed
2012-03-21 16:52:51 +05:30
Abhi f3c499be3b bug 14216: rightly initializing to avoid NPE 2012-03-21 14:57:09 +05:30