Alex Huang
575ac62926
bug 9651: propagating 3fd50fd8634958727f4c64c9d1fb7fa27e07e4c8
2011-06-08 15:58:01 -07:00
alena
2ca4cc174d
Agent LoadBalancing in cluster management server setup is enabled by default now
2011-06-08 15:04:50 -07:00
alena
357e05f5c7
Handle 2.1.x bugs when do 21x to 22x DB upgrade:
...
* remove records from load_balancer_vm_map if the parent record is missing in load_balancer table
* remove user vm records from vm_instance table when corresponding record is missing in user_vm table
2011-06-08 14:58:59 -07:00
alena
8948c3dd84
1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
...
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-06-08 12:00:19 -07:00
alena
f81ddc1f7b
1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
...
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
2011-06-08 11:55:36 -07:00
Sheng Yang
872116890b
Fix findByNetwork()/findByNetworkAndPod()'s return
...
Add null check and some missed empty check.
2011-06-08 11:45:42 -07:00
Frank
379cbc1d55
Store all parameters of url call to BaseCmd.fullUrlParams so there will be no
...
changes in future API because all parameters can be retrieve from API command itself
2011-06-08 10:25:15 -07:00
Edison Su
36fa0fbf52
bug 10177: fix multiple local secondary storage: when we starting vm, only choose the local secondary storage that related to the planned computing host
...
status 10177: resolved, fixed
2011-06-08 11:14:59 -04:00
Frank
c55e56c4bd
Fix build
2011-06-07 21:07:14 -07:00
Jessica Wang
4d871b2a10
bug 7194: cloudStack UI - IP Address page - create port forwarding rule - since private port and private end port might be different from public port and public end port, remove functionality "If public end port gets filled, disable private ports and copy public ports over to private ports."
2011-06-07 17:44:12 -07:00
Jessica Wang
d0d0bd97b5
CloudStack - Add Network Dialog - fix a bug that & is missing between isShared parameter and isDefault parameter in createNetwork API call.
2011-06-07 17:29:35 -07:00
Jessica Wang
42df9043a2
cloudStack - Add Network Dialog - correct element ID of tags input field.
2011-06-07 17:28:45 -07:00
Edison Su
00268632ac
bug 10177: fix multiple local secondary storage: when we starting vm, only choose the local secondary storage that related to the planned computing host
...
status 10177: resolved, fixed
2011-06-07 20:22:16 -04:00
Sheng Yang
7f6a3bca4c
Redundant Router: Fix OVS
2011-06-07 18:02:28 -07:00
Jessica Wang
e2288aaedd
bug 7194: cloudStack UI - IP Address page - create port forwarding rule - since private port and private end port might be different from public port and public end port, remove functionality "If public end port gets filled, disable private ports and copy public ports over to private ports."
2011-06-07 17:42:42 -07:00
Sheng Yang
1d26d736c9
Redundant Router: Fix VPN
2011-06-07 17:34:00 -07:00
Jessica Wang
379713d90d
CloudStack - Add Network Dialog - fix a bug that & is missing between isShared parameter and isDefault parameter in createNetwork API call.
2011-06-07 17:21:04 -07:00
Jessica Wang
77c6383db7
cloudStack - Add Network Dialog - correct element ID of tags input field.
2011-06-07 17:14:08 -07:00
Alex Huang
65fc9bf847
bug 9651: added tags to network response for ui
2011-06-07 15:08:04 -07:00
Sheng Yang
0c92bf5b79
Some build fixes and code refactoring for redundant router
2011-06-07 14:47:46 -07:00
Sheng Yang
5db86e6c20
Fix CheckRouterAnswer's isMaster report
...
If we got invalid/unsuccessed answer from CheckRouterAnswer, set master to
false.
Also add missed scripts.
2011-06-07 14:47:46 -07:00
Sheng Yang
8542c9ca13
Fix keepalived start up issue
...
Sometime when keepalived start up(during system boot up period), it would fail
to(likely due to unable to receive the packet), and think itself is the only
router, then make itself master.
Add 10 seconds delay after start up to work around the issue.
2011-06-07 14:47:46 -07:00
Sheng Yang
58ade71a5b
Enable only vrrp mode of keepalived
2011-06-07 14:47:46 -07:00
Sheng Yang
819e67b189
Add file lock for keepalived scripts
...
They are not blocked callings.
2011-06-07 14:47:46 -07:00
Sheng Yang
2973ab5ef5
Enable multiply public ips for redundant router
...
Also solve duplicate mac issue.
2011-06-07 14:47:46 -07:00
Sheng Yang
7462aa8539
Add host verification for CheckRouterCommand
...
We only send CheckRouterCommand to the hosts managed by current management
server.
2011-06-07 14:47:45 -07:00
Sheng Yang
62ac899091
bug 9154: Initial check in for enabling redundant virtual router
...
This patch enable redundant virtual routers.
1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):
UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;
2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.
3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.
4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.
5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.
After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.
Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
anthony
fd2ec19438
bug 9351: xen.max.product.version is not used, remove them
...
status 9351: resolved fixed
2011-06-07 14:45:53 -07:00
anthony
f0352fc2ed
bug 9351: xen.max.product.version is not used, remove them
...
status 9351: resolved fixed
2011-06-07 14:43:16 -07:00
Jessica Wang
7768ab4176
bug 10172: CloudStack UI - Add Host Dialog - when selected hypervisor is Ovm, show 2 more input fields "agent username", "agent password".
2011-06-07 14:01:50 -07:00
Edison Su
0d064c46b4
listemplate should only list templates that owned by caller
2011-06-07 14:20:23 -04:00
Edison Su
04c7456ca1
remove the listnetwork, which causes mgt server uses 100% cpu, if you have 600 records in networks table
2011-06-07 13:43:51 -04:00
Edison Su
4529e1c615
Revert "listemplate should only list templates that owned by caller"
...
This reverts commit df1ba3b3f437644c5e565676c1d617b90bb28072.
2011-06-07 13:41:49 -04:00
Frank
fda31e75ed
Add Ovm to hypervisor list
2011-06-07 10:29:34 -07:00
Edison Su
6540154420
listemplate should only list templates that owned by caller
2011-06-07 12:33:11 -04:00
alena
27d6020569
Ant target for apiDocs building
2011-06-07 11:21:07 -07:00
anthony
416efeb59a
bug 10152: supoort XenServer 5.6 service pack 2
...
status 10152: resolved fixed
2011-06-07 10:39:57 -07:00
nit
679159ccf4
bug 9922 : My ISOs shouldnt list Featured ISOs when the user is not the owner of those isos.
...
status 9922: resolved fixed
2011-06-07 12:22:49 +05:30
anthony
5e1bdce052
bug 10081: don't save iptable
2011-06-06 18:19:01 -07:00
Jessica Wang
973a00ff59
bug 9877: cloudStack UI - Add Zone Wizard - Clicking radio buttons (VLAN, Security Groups) under Advanced Mode will make Advanced Mode checked.
2011-06-06 18:11:07 -07:00
Jessica Wang
bd7752bd62
bug 8809: cloudStack UI - Add Template dialog - If "All Zones" is selected, call "listHypervisors&zoneid=-1" instead of "listHypervisors".
2011-06-06 17:06:53 -07:00
alena
158807c877
Fixed unittest
2011-06-06 16:52:11 -07:00
Jessica Wang
b455b14d8b
bug 9903: cloudStack UI - VM Wizard - security groups selection - exclude default security group since it's always applied.
2011-06-06 16:49:31 -07:00
Jessica Wang
506825ef69
bug 9878: cloudStack UI - VW Wizard - empty hypervisor dropdown before adding options.
2011-06-06 16:20:02 -07:00
Frank
469b704ec0
Fix wrong baremetal agent declaration in spec file
2011-06-06 16:14:37 -07:00
Edison Su
29d0b09968
fix agent setup on rhel6
2011-06-06 16:15:42 -04:00
Jessica Wang
7156213513
bug 7553: cloudStack - Router page - change service - exclude service offering currently used by this router in service offering dropdown.
2011-06-06 15:55:48 -07:00
alena
9125b79fe9
SecurityGroup is optional parameter in deployVm api call
2011-06-06 15:16:32 -07:00
David Nalley
5ca38bc43a
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-06-06 17:53:22 -04:00
alena
cec4e7235b
Allow to use securityGroupNames in deployVm command (the code transforms them to the ids)
2011-06-06 14:03:38 -07:00