anthony
30fa6530f9
bug 6088: track template physical size in template_host_ref table
...
add migration from 21 to 22
after migration , SSVM needs to stop/start
status 6088: resolved fixed
2010-11-24 20:05:52 -08:00
Kelven Yang
4a2d0ac41b
Correct Eclipse project setting
2010-11-24 15:17:09 -08:00
Kelven Yang
dd9b1634f7
Allow host behind cluster to return real VNC host IP address
2010-11-24 15:17:08 -08:00
abhishek
bd42a02894
bug 7322: fixing this issue, to ensure the 1:1 NAT rule works well with a router reboot
...
status 7322: resolved fixed
2010-11-24 10:36:22 -08:00
abhishek
606bc6d99e
corresponding changes in the kvm resource
2010-11-24 10:16:35 -08:00
abhishek
1950bf7a99
changing the nat feature to work with kvm
2010-11-24 10:04:24 -08:00
nit
8ea124ae79
bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
...
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
edison
bb790b41f7
bug 7322: fix NPE when setting firewall rule for 1:1 NAT on kvm
...
status 7322: resolved fixed
2010-11-23 20:47:23 -08:00
anthony
5d083fb460
bug 6569: eject CD before migration
...
need to document it, after migration, CD is gone
2010-11-23 19:24:50 -08:00
anthony
c39d211a48
merge from 2.1.x
2010-11-23 18:55:23 -08:00
alena
674d68fc58
bug 7311: Use StoragePoolVO copy constructor in deleteStoragePoolCommand
...
status 7311: resolved fixed
2010-11-23 18:02:31 -08:00
alena
8dfd7b176e
bug 7313: applying Alex's fix.
...
status 7313: resolved fixed
2010-11-23 18:02:30 -08:00
Anthony Xu
7518488672
bug 7293: return complete installpath for createprivatetemplatefromvolume
...
status 7293: resolved fixed
2010-11-23 16:22:51 -08:00
Chiradeep Vittal
09472f1b65
bug 7284: bug in copy constructor cause dhcp server in direct tagged vlan to think it is a virtual router
...
status 7284: resolved fixed
2010-11-22 22:19:21 -08:00
alena
b7eefe1836
Gson deserialization: return JsonNull object when object list is empty.
2010-11-22 14:56:25 -08:00
alena
a646745516
bug 7227: applying Alex's fix - different way of desirializing List objects.
...
status 7227: resolved fixed
2010-11-22 14:08:43 -08:00
Alex Huang
d38f7fd56d
Moved DAO to server
2010-11-22 07:40:41 -08:00
Alex Huang
1e44925564
api refactoring
2010-11-21 12:00:21 -08:00
Anthony Xu
f6836b2cb9
find the system ISO at creating system VM , not at initialization
2010-11-19 19:22:22 -08:00
Alex Huang
5b4a6f27db
Changed networkconfigurations to network as per Sheng's suggestion
2010-11-19 15:44:42 -08:00
abhishek
726cf09274
whilst fixing the iso bug, i realized that the public isos werent being returned for the regular user when he tries to attach the iso to the running vm. adding a listpublicisos() method for a regular user, which will take care of the same
2010-11-19 14:20:07 -08:00
abhishek
516e944d2c
bug 5892: adding the xs-tools.iso to the list resp by implementing a search based on the xs-tools.iso
...
status 5892: resolved fixed
2010-11-19 13:57:12 -08:00
edison
0c35f2f743
bug 7237: disk size is passed in diskProfile, no need size parameter in createcommand
...
status 7237: rresolved fixed
2010-11-19 11:55:27 -08:00
Chiradeep Vittal
394554770e
Enforce user limit on number of vpn users
2010-11-18 18:38:29 -08:00
Anthony Xu
32e08a9cc7
bug 7226: if private NIC doesn't have IP , throw execption, then adding host fails
2010-11-18 17:03:04 -08:00
Anthony Xu
4d053964b6
remove zfs related staff, which is not used
2010-11-18 14:43:20 -08:00
Kelven Yang
1fa2df99cc
Merge a fix in 2.1.x branch back to master
2010-11-18 14:42:53 -08:00
Chiradeep Vittal
c53e165eaa
bug 6971: bring back l2tp port 1701
2010-11-18 14:06:01 -08:00
Chiradeep Vittal
a7547846bf
bug 6971: Dont confuse PF rules added for VPN to be LB rules
2010-11-18 14:05:28 -08:00
Chiradeep Vittal
ea0680ef9c
Gson 1.5 doesnt handle cgi objects very well -- ensure that VO inside agent command is a POJO
2010-11-18 14:05:03 -08:00
Alex Huang
a73e3dc9ac
new networking can be set by use.new.networking
2010-11-17 17:51:17 -08:00
Kelven Yang
5490577469
1) Remove forwarding between eth1 and eth2 as it does not solve the problem of asymmetic routing
...
2) correct Eclipse project settings
3) If VM is hosted by vmware hypervisor, give the previous host preference to start on to fit VMware's VM-centric model
2010-11-17 15:55:04 -08:00
alena
9fefa33a36
bug 5701: listNetworkGroups api - apply page size parameter to the NetworkGroup instead of IngressRule.
...
status 5701: resolved fixed
2010-11-17 15:34:45 -08:00
Chiradeep Vittal
31e17b907d
bug 6971: ensure no conflicts with portforwarding rules for vpn udp ports
...
also, do not open up port 1701 -- only used on ppp interface not public interface
also clean up password generator, make it easier to use and more secure
moved some constants to NetUtils
heuristic to determine if an ip is one-to-one nat'ted
2010-11-17 15:32:50 -08:00
Chiradeep Vittal
c871ef4acf
fix constructor to use passed in value
2010-11-17 15:31:53 -08:00
Kelven Yang
40e8cb83a6
update eclipse project settings for removal of gsson1.3
2010-11-16 23:00:40 -08:00
Alex Huang
8b7206073a
more gson 1.5 work
2010-11-16 17:03:25 -08:00
alena
dae39942f1
bug 7192: Added networktype parameter for the zone
...
status 7192: resolved fixed
1) Zone has networktype parameter now, 2 values are supported: Basic and Advanced. "networktype" field is created in data_center table. The parameter is being set at creation time; we don't allow to modify it with updateZone command.
2) Only vlan of Untagged Direct type can be created in Basic network zone; any other vlan except for Untagged Direct can be created in Advanced zone
3) Allow NULL guest vlan range for the zone. Only vlan of Direct type can be created in zone with NULL guest vlan.
4) "Default" zone is Basic by default.
5) Changed "vnet" parameter to "vlan" in updateZone command to be consistent with createZone
2010-11-16 16:54:44 -08:00
edison
e5d222003c
bug 7202: fix
...
status 7202: resolved fixed
2010-11-16 15:31:47 -08:00
Alex Huang
957547a65f
gson 1.5 is now in
2010-11-16 15:22:45 -08:00
Alex Huang
ed31497188
ComponentLocator changes
2010-11-16 04:28:15 -08:00
Alex Huang
17afeade00
better componentslocator
2010-11-16 04:28:14 -08:00
abhishek
d5ab597fcf
bug 6474,6475: porting over the expunge fixes for port forwarding rules to 2.2
...
status 6474,6475: resolved fixed
2010-11-15 17:33:05 -08:00
abhishek
d520f0af5b
adding a column in user_ip_address table called one_to_one_nat; which is a boolean to tell us if the ip is a nat ip. This is false by default, and is set to true when we nat the ip. Also, this value is returned in the list public ip addrsses api call.
...
finally, the value is set to false when we delete the ip forwarding rule.
2010-11-15 12:39:24 -08:00
Kelven Yang
0653d6d7f6
Improve console access security with random generated hash key
2010-11-12 16:59:58 -08:00
edison
8ca6f1669e
start2command fro secondarys storage vm and make it work for KVM
2010-11-11 17:04:10 -08:00
edison
40481cfe6e
add start2command for secondarystorage vm
2010-11-11 17:04:10 -08:00
alena
0ad492cc74
bug 7118: fixed deletePod command - 1)remove Pod's resources (private ip adresses) before removing the pod itself. 2) Verify that private ip address pool is not empty before removing it.
...
status 7118: resolved fixed
2010-11-11 16:55:59 -08:00
abhishek
968dc0616f
bug 7021: data disk wasn't being created for custom sizes. Also, we were having max size checks in GB, whereas disk offerings are in MB. Made the change there as well.The storage allocators were commented out in master, uncommented them.
...
Status 7021: resolved fixed
2010-11-11 15:45:21 -08:00
abhishek
239942bbe1
refactored all the commands to cater to keshav's needs, and added the new apis. the initial set of testing is complete, will now focus on corner cases
2010-11-11 13:07:26 -08:00
abhishek
a3896f27d9
removing the map files, as we are not supporting port ranges for 1:1 NAT right now
2010-11-11 13:07:26 -08:00
abhishek
26b75fc05d
this is a good point to check the code in; have completed a part of the enhancement's code; with create and delete ip forwarding rule commands and the skeleton for port to rule map with associated table
2010-11-11 13:07:26 -08:00
abhishek
e5ca5dddf9
renaming the ip forwarding commands to port forwarding commands, and beginning to work on Keshav's request to modify the current 1-1 NAT to be compatible with the Amazon apis
2010-11-11 13:07:26 -08:00
nit
dbba9a5f21
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-11-11 15:55:39 +05:30
nit
c42449fe70
bug 6828: listIsos - Resolved listIsos returning multiple entries of the same ISO.
...
status 6828: resolved fixed
2010-11-11 15:54:27 +05:30
anthony
7f3f3226e0
merge from 2.1.x
2010-11-10 15:21:38 -08:00
anthony
e533ed41d7
merge from 2.1.x 782b81218b
...
don't unplug PIF
2010-11-10 15:17:43 -08:00
anthony
8df96da0a5
don't delete template if template check fail, give user a chance to check the template manually
...
use can delete the template though UI
2010-11-08 21:03:59 -08:00
anthony
9ee6d69c9f
the default delta snapshot number between two full snapshots is 16, it is configurable
2010-11-08 18:08:07 -08:00
alena
6946f5ace1
bug 7123: populate private/linkLocal ip addresses when addPod - added stmt.executeBatch() call to addIpRange methods.
...
status 7123: resolved fixed
2010-11-08 17:14:03 -08:00
will
5cc496a78d
Not sure why listing of templates was using Integer instead of Long for pagesize but now correcting to keep things consistent.
2010-11-08 14:57:59 -08:00
Alex Huang
edf9ddd464
added reservation id to vnet
2010-11-08 12:29:38 -08:00
Alex Huang
8d5f0f9f6c
fixed some bugs
2010-11-08 12:29:37 -08:00
Alex Huang
aca8ef79cd
a bunch of other changes for network refactoring
2010-11-08 12:29:37 -08:00
abhishek
cc93e7508c
refactoring old code and fixing some regression bugs (UI had an issue listing domains). Also fixed the listing of domain specific zones at vm creation for a domain admin (listing everything upto root in that domain + listing all the children based on a path search)
2010-11-08 12:17:42 -08:00
abhishek
67beda5244
adding the logic to list and search zones and domains based on the user (normal,admin,domain admin)
2010-11-08 12:17:42 -08:00
alena
1c24deda34
1) Refactored current Apis not to use reflection for method invocation. In new version following has to be done:
...
* Implement callCreate() and execute() methods in apis extending BaseAsyncCreateCmd (example - CreateVolumeCmd)
* Implement execute() method in apis extending BaseCmd and BaseAsyncCmd (example - deleteVolumeCmd and deleteUserCmd)
We no longer need createMethod(), method(), manager() fields in @Implementation annotation, cleanup has to be done.
2) Moved Account/User related methods to AccountManagerImpl. Methods are exposed via AccountService interface.
3) Enhanced exception handing for Api calls.
4) Created ConfigurationService interface, all Api config methods are exposed via it.
2010-11-08 11:27:36 -08:00
anthony
224da7e775
several snapshot fixes
2010-11-05 20:55:19 -07:00
alena
b1defdb71d
bug 6895: fixed search by id in listDomains command
...
status 6895: resolved fixed
2010-11-05 17:45:15 -07:00
will
05ab3bf673
bug 7063: AsyncJobResult should now return the correct success and error tags upon the completion of a async job. It should now follow either the format ... jobresult.success or jobresult.errorcode and jobresult.errortext
...
- Fixed a lot of other Async related packaging issues. It's not all done but will continue to refactor this later.
2010-11-05 17:30:03 -07:00
Alex Huang
5f90a8adb0
Checking in to do git pull...stupid git
2010-11-05 16:10:22 -07:00
Alex Huang
1fe446002b
stop vm is now formalized
2010-11-05 16:10:22 -07:00
will
b9fc4137f7
Bug 6988: Fixed issue with queryAsyncJobResult returning jobResults in all String format. This is to mirror the same way that the async commands are being serialized.
...
- Changed client.war to now include all the thirdparty files
- Fixed addVpnUser command to return a vpnuser instead of the response
- Added vmware jar files to the development build.
2010-11-04 20:56:28 -07:00
Kelven Yang
7094e066c8
CopyVolume hacking for vmware
2010-11-04 17:41:23 -07:00
Chiradeep Vittal
8e2e04a86e
bug 6981: merge in stuff for bug 6807 from 2.1.x
2010-11-04 11:54:14 -07:00
alena
371e9e3a4c
bug 6963: fixed parsing for asyncJob result object
...
status 6963: resolved fixed
2010-11-04 10:59:07 -07:00
nit
7dc7a4838a
bug 4286: Fixing the extract functionality for Upload after new API framework. Also added a check to avoid system created templates and ISO's from getting extracted as per Mike.
...
status 4286: resolved fixed
2010-11-04 19:09:38 +05:30
Alex Huang
9bb05d3ef8
harmony amongst joins
2010-11-03 21:18:31 -07:00
Alex Huang
a0cb58aad2
Harmony amongst gurus
2010-11-03 21:18:31 -07:00
Alex Huang
e27bb550fe
Harmony among gurus
2010-11-03 21:18:31 -07:00
abhishek
8e54a40b46
fix for the ui to consume for the disk offering
2010-11-03 20:05:37 -07:00
anthony
ff5ea1eabd
merge from 2.1.x 74b798240c
...
1. remove plugin check Sr, heartbeat does that
2. if pbd.plug fails, moves on, and report warnning
2010-11-03 19:36:25 -07:00
anthony
edb28d40ac
merge from 2.1.x a01006f930
...
bug 6797: if you stop VM in the process of installation, next start will start from root disk
2010-11-03 19:30:44 -07:00
anthony
e7a7beac5b
merge from 2.1.x 80a32ad031
...
not create bond any more
2010-11-03 19:22:01 -07:00
Kelven Yang
d748010da3
Create Template from volume and snapshot for vmware
2010-11-03 19:18:54 -07:00
anthony
003b0e4a23
merge from 2.1.x 86d02eaa15
...
delete all snapshut which has been backed up to secondary storage
change dd block size from 512 to 1M, make taking snapstho faster for iscsi primary storage
2010-11-03 19:05:23 -07:00
abhishek
2303afe55c
making changes for disk offerings with a new column called customized being added, for the UI to cosume whilst deploying vm with an arbitrary volume size. The UI will use this value to set the right size and the offering will ensure the right tags are taken.
2010-11-03 17:45:52 -07:00
abhishek
46497e3aad
making changes for the private/public zones enhancement, for the UI to consume. The list method has been changed to return visible zones based on the user's credentials, or if the domainId for private zone listing is specified. In the update zone cmd, we do not allow updating private zone once it has been associated with a domain. This might change in the coming releases.
2010-11-03 15:39:16 -07:00
Chiradeep Vittal
e1cb94831f
VPN users feature complete
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
58b8d10c6b
add vpnusersdao into components.xml, schema migration, add another constraint
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
0dd19c197b
VPN users API -- WIP
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
14613415e1
VPN users API -- WIP
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
b6d3b3c184
users for vpn -- data model
2010-11-03 14:02:12 -07:00
Chiradeep Vittal
8158f37980
users for vpn -- data model
2010-11-03 14:02:12 -07:00
Kelven Yang
3c6b3b3e3d
Add more volume info to BackupSnapshotCommand, to generalize multi-hypervisor usage
2010-11-02 17:04:07 -07:00
alena
571ca42c44
1) Return embedded object for addCfg/updateCfg/listCfg.
...
2) Fixed NPE in updateCfg command (used to happen when no value was specified)
3) Fixed addCfg command to call correct getName method while setting config name (used to call the method returning the command name)
2010-11-02 15:26:33 -07:00
Alex Huang
5fe5450abc
even more refactoring
2010-11-02 15:25:07 -07:00
abhishek
d4b33f523d
bug 5190: changes from the ui perspective; we upload the entire cert as a string, instead of reading it from a file. Then, we process the cert via ip streams instead of fileinputstreams. Moved the cert validation to before cert persistance, and also added more logging and exception catch blocks to deal with IO exceptions that might arise out of the ip stream processing for the new change.
2010-11-02 14:48:05 -07:00
Alex Huang
560d7a275e
Removed InternalErrorException. Renamed the lock methods on the DAO objects to be more understandable.
2010-11-02 12:25:08 -07:00
abhishek
3bab616478
After discussing with Alex, it was agreed that there is no need to mgmt server level locking using the mgmt_server_id. This makes the code easier, as we have one parent acquire and release mechanism, and the complexity is reduced. In accordance, we do not need to maintain cleanup tasks for mgmt server crashes, as the async mechanism deals with this. Also, the schema becomes a tad simpler as the mgmt_server_id column is not needed anymore
2010-11-01 17:04:28 -07:00