11556 Commits

Author SHA1 Message Date
Edison Su
1e4893b69c bug 1443: even adding host failed, return success in api. status 14443: resolved fixed; Reviewed-by: sheng 2012-03-23 18:23:10 -07:00
Edison Su
04312dabc4 bug 14024: apply sweller's patch. status 14024: resovled fixed; Reviewed-by: sweller 2012-03-23 17:58:30 -07:00
Jessica Wang
1945c70805 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:58 -07:00
Brian Federle
5998eb84c7 Detail view: 'View all' action tests 2012-03-23 15:39:53 -07:00
Brian Federle
e53aa0c147 bug 14191
Correctly filter domain drop-down on add account dialog if accessed
via a specific domain.
2012-03-23 14:39:53 -07:00
Brian Federle
44f7fd4f97 Add detail view action filter tests 2012-03-23 14:08:44 -07:00
Brian Federle
17d179535b Cleanup mock functions 2012-03-23 14:02:13 -07:00
Brian Federle
2b0923540c Add detail view refresh action tests 2012-03-23 13:48:13 -07:00
Brian Federle
5dccd91be1 Detail view: Always return true on args.response.success 2012-03-23 13:26:28 -07:00
Brian Federle
cedfd5ed5c Add detail view tests 2012-03-23 13:26:28 -07:00
Jessica Wang
95b0f51064 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:16:14 -07:00
Jessica Wang
b5e33e35d5 cloudstack 3.0 UI - login page - language dropdown - add "Chinese (Simplified)" option. 2012-03-23 10:09:58 -07:00
Jessica Wang
cb0ea6385a cloudstack 3.0 UI - check in Chinese translation. 2012-03-23 10:00:18 -07:00
Jessica Wang
0472a9e121 remove obsolete code since we don't display the individual providers on the system chart anymore. 2012-03-22 16:36:38 -07:00
bfederle
40aa941138 bug 14447: Fix incorrect label on select network offering of VM wizard 2012-03-22 18:47:11 -04:00
Alena Prokharchyk
4060be1842 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:15 -07:00
Brian Federle
7e9d535156 Add UI browser tests 2012-03-22 11:53:01 -07:00
Alena Prokharchyk
15019d1e5c 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:22 -07:00
Jessica Wang
217e357c4e bug 14451: cloudstack 3.0 UI - volume page - remove the "Migrate Volume" option for regular user and domain admin. 2012-03-22 10:32:49 -07:00
Alena Prokharchyk
c42fceab27 bug 14446: removed elasticLBVm from components.xml
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:26:48 -07:00
Abhi
90da4d1c92 bug 12947: support for 1.5 beta; reviewed-by: nitin 2012-03-22 17:30:56 +05:30
Abhi
97963b37a2 bug 14135: mapping windows 2003 os types to xen templates 2012-03-22 17:20:06 +05:30
Nitin Mehta
2a837c3ebd 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-22 10:01:49 +05:30
prachi
45c7ad63bf 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.
tag-3.0.1-prerelease-1
2012-03-21 16:52:32 -07:00
Kelven Yang
1a8e5287fd Bug 14213: use UUID name in secondary storage for templates. Reviewed-By: edison 2012-03-21 16:46:03 -07:00
Jessica Wang
d7cd27d923 cloudstack 3.0 UI - network page - detail view - pass listAll=true for now until API is fixed. 2012-03-21 16:31:44 -07:00
Kelven Yang
9c55b7b695 bug 14313: add map type adapter to ApiGsonBuilder as some API response classes are using Map<String, String> 2012-03-21 15:16:47 -07:00
Kelven Yang
7c327ec658 bug 14188: always make sure to inject SSH keys before copying systemvm ISO to secondary storage 2012-03-21 14:24:52 -07:00
Jessica Wang
54b89c78d8 bug 14202: cloudstack 3.0 UI - DeployVM wizard - select ISO step - only populate ISOs that are bootable. 2012-03-21 14:13:51 -07:00
Brian Federle
76528f37f1 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.
2012-03-21 12:13:19 -07:00
Brian Federle
f82aa63815 bug 14380: Add cancel button to detail view edit action 2012-03-21 11:44:30 -07:00
Jessica Wang
995a338e3c 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:20:02 -07:00
Brian Federle
0db22e44e8 bug 14375
Use 'Management IP Addresses' in place of 'Private IP Addresses' for
label on system dashboards
2012-03-21 11:15:03 -07:00
Brian Federle
07f6c0b337 Fix multi-edit when item data is not present 2012-03-21 11:03:50 -07:00
Sheng Yang
1ca493e4fa 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:38:18 -07:00
Sheng Yang
319dbccabf Fix not sending DNS in DHCP command 2012-03-21 10:38:12 -07:00
Brian Federle
6ef16cb79f bug 14351: Show VM name in PF, instead of UUID 2012-03-21 10:26:48 -07:00
Brian Federle
a184660028 Remove trailing comma 2012-03-21 09:56:40 -07:00
Brian Federle
a1099e34c2 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:40 -07:00
Brian Federle
5333ee1549 Fix admin not being able to view users' network details 2012-03-21 09:56:40 -07:00
Jessica Wang
baa2acf2f6 cloudstack 3.0 UI - more labels translated. 2012-03-21 09:50:13 -07:00
Brian Federle
e682d9a622 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.
2012-03-21 09:29:31 -07:00
Brian Federle
f9a7619ae5 Error handling for multiEdit remove action 2012-03-21 09:28:50 -07:00
kishan
e84f29e37b bug 14290: in 3.0 upgrade insert CentOS 5.6 template with ID 5
status 14290: resolved fixed
2012-03-21 17:25:38 +05:30
kishan
53499c928f bug 14409: VMware, create network_stats iptables rule while creating router
status 14409: resolved fixed
2012-03-21 17:25:38 +05:30
Murali reddy
99e1ca123f bug 13899: CloudStack (Advanced Mode) should not allow "NetScaler" as provider for StaticNAT service
status 13899: resolved fixed
2012-03-21 16:54:44 +05:30
Abhi
d3673506cf bug 14216: rightly initializing to avoid NPE 2012-03-21 15:33:05 +05:30
Prasanna Santhanam
99000f5d6e Demo files for the confluence tutorial on testing with python
http://confluence.cloudstack.org/display/QA/Testing+with+python

demo.cfg: sample configuration file containing the mgmt server location
testDeployVM.py : simple example demonstrated on confluence tutorial
testSshDeployVM.py : advanced example to demonstrate backend verification
2012-03-21 13:45:44 +05:30
Prasanna Santhanam
b9807e0fca can't append str to logger message 2012-03-21 11:05:37 +05:30
Abhi
d354897780 bug 12947: enabling XCP 1.5 2012-03-21 10:23:04 +05:30