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
Chiradeep Vittal
76c7b54fc5
fix problems after merging in bug fixes from 2.1.x
2010-11-01 12:27:15 -07:00
Chiradeep Vittal
8a1245d433
bug 6807: first ip is different from sourcenat
...
status 6807: resolved fixed
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
149a5d0eb9
bug 6807: add the source nat ip with net mask
...
status 6807: resolved fixed
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
cd056c8d01
bug 6522: ensure destroyed routers are not picked up
...
status 6522: resolved fixed
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
63739558d0
bug 6105: default to mode http if the public port is 80
2010-11-01 12:21:55 -07:00
Chiradeep Vittal
1e0eb04442
Add VPN apis, some systemvm changes for vpn
2010-11-01 10:27:49 -07:00
abhishek
362e67d724
adding failover protection case for when the mgmt svr crashes in the middle of executing something; along with custom response for cert
2010-11-01 09:04:51 -07:00
abhishek
7b87aad660
fixed a bug in the listener flow; now handling the application of certs to existing cpvms and new cpvms based on a fork in the logic in the console proxy resource
2010-11-01 09:04:51 -07:00
root
3752a4eb31
making the logic more robust, testing more corner cases, improving efficiency and changing the schema
2010-11-01 09:04:51 -07:00
abhishek
9c80911e52
more changes
2010-11-01 09:00:58 -07:00
abhishek
d9ebb7147c
improving efficiency by reducing the number of db lookups, whilst updating the custom certificates across multiple console proxies when the command is issued. Now, we use in memory hashmaps for hosts to get the hostids for cphosts, which eliminates the need to make a db lookup for every cpvm that needs to be rebooted
2010-11-01 09:00:58 -07:00
kishan
f84be50faa
bug 6428: Send alert when usage job fails
...
status 6428: resolved fixed
2010-11-01 17:20:57 +05:30
kishan
3a0f30a049
bug 6408: remove security groups/port forwarding service in virtual network case
...
status 6408: resolved fixed
2010-11-01 14:28:03 +05:30
edison
d0c68cd4a7
add a timeout (5 minutes) to wait for KVM agent host connecting to mgt svr, during adding host->discover
2010-10-29 19:18:07 -07:00
nit
c9069303ce
Code clean up for Extract functionality and making it more robust.
2010-10-28 18:45:12 +05:30
Kris McQueen
b4ef066846
bug 6782: fix NPEs associated with looking up the account after it's been deleted. When cleaning up the account, we delete the accountVO first, then stop/destroy VMs, routers, etc. During this cleanup, there are times when the account needs to be retrieved, and since it's been removed it has to be found by id 'including removed' in order to find it.
...
status 6782: resolved fixed
2010-10-27 18:23:23 -07:00
edison
75566780c4
remove the no-updatable constraint on domr ram size
2010-10-27 16:34:37 -07:00
edison
a29b897b7f
bug 1974: set memory size from service offering before starting router
...
status 1974: resolved fixed
2010-10-27 12:00:11 -07:00
Alex Huang
4f9f249218
make console proxy work again with the new network configuration
2010-10-26 17:37:29 -07:00
abhishek
822ee2d899
more changes for the console proxy custom certificate part; some code cleanup as well as event generation with console proxy reboot logic
2010-10-26 14:27:26 -07:00
Alex Huang
2bc938c3f8
checkins for problems.
2010-10-26 09:35:24 -07:00
Alex Huang
f58063911e
deploy vm completed
2010-10-26 09:35:24 -07:00
nit
497c60d63d
Extending extract functionlity for volumes to allow download. The
...
extraction can have two modes FTP_UPLOAD and HTTP_DOWNLOAD. In the former one
the user would provide the ftp url where the entity needs to be uploaded and in
the later the user would be provided a HTTP URL where from he/she can download
the entity. This url would be exposed for a specific time limit and would not
function after the time limit
2010-10-26 18:49:43 +05:30
root
c98b2a7fa2
incremental checkin around the console proxy config enh
2010-10-25 11:52:08 -07:00
abhishek
9f92b81f45
adding a certificate command for the proxy cert
2010-10-25 11:52:08 -07:00
anthony
9896043205
1. remove plugin check Sr, heartbeat does that
...
2. if pbd.plug fails, moves on, and report warnning
2010-10-22 12:10:17 -07:00
Kelven Yang
1c702a1d69
1) As the lack of dom0 scripting support in vmware hyperviors, domR, and other system VM will fall back to private network interface instead of link local interface, accordingly,
...
domR scripting will be running directly inside domR and be driven from management server instead of dom0 host
2) firewall/sshd setting changes for #1
2010-10-21 21:46:41 -07:00
anthony
cc6b43d58d
bug 6546: support ubuntu 10.04 PV kernel,
...
for ext3 requirement, we can file a seperate bug for it, the solution should be install ext4 module in xenserver
status 6546: resolved fixed
2010-10-21 18:28:31 -07:00
abhishek
a957a679ed
bug 5190: modifying a few minor details in the upload cert part, to conform with the new api refactor design
2010-10-21 15:51:46 -07:00
Alex Huang
d5d8f27cad
Added more changes to the api
2010-10-21 15:11:49 -07:00
abhishek
2b9ab00cc2
bug 3386: first part of the checkin, wherein we have an optional param domainId for create and modify zones. If this domain exists in the system, then the zone is tagged with this domain id, so that subsequent calls are checked for sanity against this domain.
2010-10-21 11:43:06 -07:00
kishan
c362576837
bug 6251: use bytes sent and recieved fileds in the super class
...
status 6251: resolved fixed
2010-10-21 17:53:50 +05:30
kishan
fa4a16cb68
bug 5592: Added configurable domain for hosts.
...
status 5592: resolved fixed
2010-10-21 11:51:09 +05:30
nit
6723549fc7
bug 6399: extending extract functionlity for templates and ISO's to allow download. The extraction can have two modes FTP_UPLOAD and HTTP_DOWNLOAD. In the former one the user would provide the ftp url where the entity needs to be uploaded and in the later the user would be provided a HTTP URL where from he/she can download the entity. This url would be exposed for a specific time limit and would not function after the time limit.
2010-10-20 11:40:03 +05:30
Alex Huang
2da8035bd1
more changes for the rewrite
2010-10-19 11:52:02 -07:00
Alex Huang
794ca16a65
Added code to start domR
2010-10-19 11:52:01 -07:00
anthony
d41f7d78d9
DeleteStoragePool command fix
...
1. not delete SR in xenserver side, only delete it in database.
2. remove a storagepool, adding it back fails
2010-10-15 14:15:55 -07:00
Alex Huang
bebf9dbc3f
Adding stuff
2010-10-15 06:26:24 -07:00
Alex Huang
b3da4cea1b
Forcing me to commit because of stupid git
2010-10-15 06:22:59 -07:00
Kris McQueen
80090990a6
Fix configuration in light of new API framework. Move code from ConfigurationManager into ConfigurationServer for creating disk/service offerings, pods, and zones. This prevents the ComponentLocator from pulling in a lot of extra DAOs and Managers now that ConfigurationManager has a lot more dependencies due to API changes. Without making this change, there would be a dependency on ClusteredAgentManager in both config-server and mgmt-server, which would try to start two listeners on port 8250, which is bad. Now that the configuration happens in ConfigurationServer, things should be kept simple.
2010-10-14 19:11:22 -07:00
Kelven Yang
f6e0d2dd41
Make system VM work on vmware
2010-10-14 17:23:13 -07:00
edison
2bdc45375e
fix a funny bug that integer left shift more than 32 bit, you will get a wrap around
2010-10-13 19:11:49 -07:00
Kris McQueen
8e086d7a21
resolving merge conflicts between 2.1.refactor and master
2010-10-12 16:28:16 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Alex Huang
ce091de3d2
more changes for refactor
2010-10-12 07:17:47 -07:00
anthony
8daf888f83
don't need to execute pif.plug, merge from 2.1.x
2010-10-07 17:23:04 -07:00
edison
3028dab141
fix systemvm template in direct attached mode, guest vm can't get gateway and dns server
2010-10-07 16:32:46 -07:00
anthony
cbdfc10673
change config.getValue
2010-10-06 19:36:51 -07:00
Kris McQueen
5fa6ff7fe4
Manual snapshots won't have an async job id, the job id gets set when the recurring snapshots get scheduled for execution. If the policy id is MANUAL, don't search for a job id.
2010-10-06 18:24:19 -07:00
anthony
48f1264a80
bug 6446: do not pass private, guest, public network in host_detail to CitrixResourceBase.configure
...
status 6446: resolved fixed
2010-10-06 18:16:19 -07:00
Alex Huang
9d1270b35f
console proxy started completely and running
2010-10-06 17:22:35 -07:00
anthony
dc7a723660
backport from 2.1.x
2010-10-06 17:01:04 -07:00
Alex Huang
94a26d2038
Still needs to add mac address allocation but basically console proxy is started and running
2010-10-06 10:18:09 -07:00
edison
139ff273ff
fix systemvm template for kvm, using chiradeep's latest debian template
2010-10-05 20:41:39 -07:00
Kris McQueen
9c593352d0
Fixing events for async jobs so that there's a scheduled event recorded with appropriate type/description whenever the API framework schedules the async command to run. A few miscellaneous fixes as well uncovered during regression testing (router response was not parsed correctly by UI, etc.)
2010-10-05 20:26:18 -07:00
anthony
6ae0bc596a
try host.destroy after pool.eject
2010-10-05 18:26:36 -07:00
Alex Huang
5f88268ef2
console proxy vm is now started but it is not reading the disk correctly
2010-10-04 17:59:06 -07:00
edison
aaaa5dc3ad
bug 6379: add ListHypervisors cmd to list all the supported hypervisors.
...
status 6379: resolved fixed
The supported hypervisors are controlled by hypervisor.list in configuration table
2010-10-04 16:55:25 -07:00
Kelven Yang
5f3bb36650
1) Merge following change from 2.1.X
...
Add time stamped ticket to console access URL to make it more secure
2) Fix a problem caused by the inconsistency of using different path seperator between windows platform and linux platform
2010-10-04 15:31:05 -07:00
edison
d370ae6a32
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-10-04 14:48:40 -07:00
edison
3d9f25e903
bug 1974: add upgraderoutercmd to upgrade router vm's service offering
...
status 1974: resolved fixed
It's a synced API, which just update router vm's service offering,
parameter: router id, service offering id,
return: ture on successfull, otherwise false
2010-10-04 14:45:28 -07:00
Alex Huang
652d86956c
more files checked in
2010-10-04 12:04:59 -07:00
alena
136060e5cf
1) Finished XmlApiDoc writer. The program gets api classes from commands.properties.in file, and build Command objects with "name"/"description"/"request"/"response" fields. Request and response are represented by the list of arguments, each argument contains "name"/"description"/"isrequired" fields. The commands are being serialized to commands.xml using imported xstream library, and can be desiarialized later - it will help to compare commands from differemt product versions.
...
2) Added description() methods to Implementation and Param annotations.
2010-10-04 09:50:14 -07:00
anthony
21d523402f
in premium, use async vdi.copy API, avoid time out
2010-10-01 17:22:07 -07:00
anthony
f433a4d360
bug 6363:
...
1. delete local storage when delete host
2. delete host detail when delete host
3. allow one host in maintance mode in a cluster instead of in a pod
status 6363: resolved fixed
2010-10-01 10:40:08 -07:00
edison
b441deec94
Need to set all the system vms as read state
2010-09-30 20:39:34 -07:00
edison
b467faf826
fix typo about guest os mapping
2010-09-30 18:37:08 -07:00
edison
23e0b2ce29
bug 6365: xenserver and xcp need different guest os mapper
...
status 6365: resolved fixed
2010-09-30 18:18:49 -07:00
anthony
2c5723d26c
bug 6329: skip removed storage pool
...
status 6329: resolved fixed
2010-09-30 12:40:53 -07:00