Commit Graph

2091 Commits

Author SHA1 Message Date
Edison Su 8887b6c443 add correct mdsum 2011-02-15 18:13:50 -05:00
Edison Su c6e84374cc direct boot info to vga console instead of serial console for user vm template 2011-02-15 18:04:24 -05:00
alena c11a9c18e2 bug 8381: disassociateIpAddress is async now 2011-02-15 12:24:18 -08:00
Kelven Yang d9d128ee9d Incremental refactoring - retire host_master table 2011-02-15 10:56:04 -08:00
alena d80caf24fd bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
Alex Huang 7dd54f079b started vms with these latest 2011-02-11 17:03:04 -08:00
Alex Huang b0f0efa29b more changes to make it work better in a cluster 2011-02-11 17:03:04 -08:00
kishan 6e9ef0d988 2.2beta4 to GA db changes 2011-02-11 20:37:13 +05:30
nit e901ccfe07 bug 8498: Make osTypeId optional. Introdue a new OS type None to be shown for non bootable ISOs. Add check that when the ISO is bootable a valid osTypeId gets passed 2011-02-11 18:44:26 +05:30
alena 4054d7e2b5 Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables 2011-02-09 19:35:03 -08:00
abhishek da115c4281 adding index at end, removing redundant view 2011-02-09 18:47:14 -08:00
abhishek 133f0d9eb3 some more help 2011-02-09 17:35:23 -08:00
abhishek 487aa4becc more changes to the upgrade script 2011-02-09 16:58:17 -08:00
abhishek d8273c7feb adding the sql file for db migration from 22beta4 to 22GA. This has the schema and data changes for both cloud and cloud_usage databases. The corresponding java file is already checked in 2011-02-09 11:26:27 -08:00
kishan 77719be46a bug 8465: track network usage per router in user_statistics table
status 8465: resolved fixed
2011-02-09 18:38:41 +05:30
alena b4ee5fa1ea Renamed get_password_from_domr to cloud-set-guest-password 2011-02-08 17:31:54 -08:00
Frank c38aff60f4 Bug 8275 - SELinux error message provides incorrect directions
status 8275: resloved fixed
2011-02-07 13:39:35 -08:00
alena 54236677f3 bug 8419: changed domR password reset script to work with 2.1.x and 2.2 password scripts on userVm side
status 8419: resolved fixed
2011-02-07 11:04:55 -08:00
anthony 9199b59cc1 comment out snmp configuration in server-setup.xml 2011-02-04 20:09:04 -08:00
anthony e14b8311cc bug 7563: create snapshot in async create method
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
nit 5469916060 bug 7522 : Extract ISO/Template - By default these entities wouldnt be extractable, GLOBAL ADMINS - always allowed to extract, OTHERS - allowed to extract if - 1) Its own template and extractable=true 2) Its not its own template but public=true and extractable=true.
status 7522: resolved fixed
2011-02-04 17:51:42 +05:30
abhishek 5f9e379327 updating md5 checksums for new system vm templates 2011-02-02 12:35:29 -08:00
alena ff281af035 bug 8253: get_password_from_domr is a part of source code now. It should be located under /usr/bin/ directory on the Management server once cloudstack software is installed
status 8253: resolved fixed
2011-02-01 17:40:00 -08:00
alena f6f8a35c75 bug 8251: introduced "id" field for public IP address. In the DB id is a primary key in user_ip_address table; ip_address and source_network_id is a composite key
status 8251: resolved fixed
2011-02-01 12:16:18 -08:00
kishan 92bf106ab9 including host type in network stats 2011-01-31 19:36:32 +05:30
Alex Huang f9a9698d96 more unused fields removed 2011-01-28 15:37:00 -08:00
abhishek 5a008fb410 bug 8212: applying patch
status 8212: resolved fixed
2011-01-28 15:27:16 -08:00
abhishek e13e136f07 bug 8212: applying patch
status 8212: resolved fixed
2011-01-28 15:21:20 -08:00
anthony 68b86004ea remove preallocLun 2011-01-28 14:02:21 -08:00
abhishek 5d18c4c527 bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
anthony 96d9776c20 remove preallocatedLun 2011-01-28 12:36:31 -08:00
alena 6d72b45379 Set "msid" field to be unsigned for mshost table 2011-01-26 11:12:00 -08:00
alena 347fa866d8 Fixed constraint for op_ha_work table to use correct field name (msid instead of id) 2011-01-26 10:52:19 -08:00
alena 731e78937f Added 2 new api commands for 1-1 nat feauture: enable/disableOneToOneNat. Here is the 1-1 nat api summary:
* to enable 1-1 nat for ip/vm use enalbeOneToOneNat api
* to open port range (or multiple port ranges) use createIpForwardingRule api.
* to delete one port range use deleteIpForwardingRule api.
* to disable 1-1 nat use disableOneToOneNat api.
2011-01-26 09:35:32 -08:00
Alex Huang c70113835d removed unused columns 2011-01-26 09:16:57 -08:00
alena a96f8f9575 Refactored 1-1 NAT feature:
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
Frank 38ab26bcb0 ovs tunnel network -- add lock entry in ovs_tunnel_account 2011-01-24 13:47:34 -08:00
nit 1bc05b8791 bug 8142: Making SystemVM and base CentOS template names consistent.
status 8142 : resolved fixed
2011-01-24 18:24:20 +05:30
Frank 276e37115b open vswitch - Implement gre tunnel based network that doesn't use vlan
it allows cross zone communication and no 4096 limitation introduced by vlan
2011-01-21 17:32:02 -08:00
abhishek dcdbd0f515 adding comments for migration 2011-01-19 17:22:45 -08:00
abhishek afcb202923 bug 7900: removing obsolete network domain param
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
Alex Huang 16bb33979d bug 7896: Added check for template constraint in template_spool_ref table. Removed On delete cascade on the template_host_ref table 2011-01-19 17:05:58 -08:00
nit 421d150f7f DB upgrade script from 2.2beta3 to 2.2beta4 2011-01-18 20:08:44 +05:30
Chiradeep Vittal 2e018d46be bug 7929: when account is deleted, ensure that related security groups are deleted 2011-01-13 15:40:29 -08:00
Ragnar B. Johannsson 4bb42e43cc Get UserVm details via UserVmDao.loadDetails().
Also, removed references to ssh public key in UserVmVO and the underlying
table and used user_vm_details instead.
2011-01-12 23:24:17 +00:00
Ragnar B. Johannsson 83b3580c32 Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
Conflicts:
	client/tomcatconf/commands.properties.in
	core/src/com/cloud/vm/UserVmVO.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Ragnar B. Johannsson 3e59707dd2 Added user_vm_details table and corresponding access objects.
Moved saved encrypted passwds for getVMPassword API cmd to this new table.
Removed SSH keypair id from UserVm - only public key is needed.
2011-01-12 16:32:36 +00:00
kishan 6bb4af8381 bug 6947: removed network type from service offering APIs
status 6947: resolved fixed
2011-01-12 19:13:09 +05:30
Frank 870d0835a5 bug 7722: open vswitch - add entities to tunnel table/vlan mapping table when
host connect, this make these tables lock free(for table lock)
2011-01-11 19:04:37 -08:00
Alex Huang 6e6e8ff876 better expunge and destroy of volumes 2011-01-11 18:02:09 -08:00
Alex Huang 7f597e594c added work list to vm start 2011-01-11 18:02:09 -08:00
Alex Huang ad4ed5b2fd added hypervisor type to vm 2011-01-11 18:02:09 -08:00
alena 5dfe399c1a bug 7803: introduces new parameter "is_default" for the network. DeployVm requires 1 default network to be specified, other networks (if any) have to be secondary
status 7803: resolved fixed

Fix overview:

1) Parameter "isDefault" should be defined as a part of createNetwork
* Virtual network is always default
* Parameter can be specified only for DirectNetwork
* Once parameter is set, there is no way to change it as we don't provide updateNetwork command.
2) Added isDefault parameter to listNetworks command so you can sort by that.
3) DeployVmCmd:
* at least one default network should be set
* if more than 1 default network is set - throw an error
4) Return isDefault information as a part of Nic object for the vm response in deploy/stop/start/listVm
2011-01-11 14:22:26 -08:00
Frank c6683c2eab bug 7722: open vswitch -
refine ovs plugin, create a separate plugin instead of messing with vmops
refine gre tunnel, maintains tunnel in database instead of plugin
fix an arp issue cause by overlap vlan range
2011-01-11 02:55:36 -08:00
Frank 9d2916ffcc it works 2011-01-08 16:28:47 -08:00
Frank c94b6acadf bug 7722: open vswitch - works at VM start time, need fullsync() and flow clean in next 2011-01-08 16:22:59 -08:00
Frank 5c01c42ba7 fix bug 7722, code complete basic architecture 2011-01-08 16:20:39 -08:00
Alex Huang e496a99c1c added processing for events 2011-01-07 13:42:43 -08:00
Ragnar B. Johannsson 32c68e1583 API cmds for SSH-keys manipulation and VM passwds retrieval.
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
alena 916b516d13 bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
prachi b46a53579f DB schema changes that will be needed for the host tags feature. This commit does not include any code changes for the feature. 2011-01-05 14:03:44 -08:00
Kelven Yang ce517a890f Add cluster details to prepare supporting Xen host/cluster mode in vmware 2011-01-04 02:41:49 -08:00
Greenqloud 6dbf6fe67a adding ssh keypairs and passwords 2010-12-31 17:16:33 +00:00
Kelven Yang e7749afdfe Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume 2010-12-29 21:54:17 -08:00
keshav 3da09345c9 Changed schema to keep track of which public IP address and host a user statistics entry is for 2010-12-29 19:14:35 -08:00
Alex Huang a10ce22f99 remote access vpn from management server side is done 2010-12-29 12:13:35 -08:00
Alex Huang 090bc1edb4 more changes to fix up the merge 2010-12-29 09:32:54 -08:00
Alex Huang 544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
alena 085824d524 1) Updated schema for data_center - provider fields can have NULL values.
2) Fixed deletePortForwarding/deleteIpForwardingRule commands to return false when delete rule fails.
2010-12-28 16:22:36 -08:00
alena 88afdb3313 Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly 2010-12-28 15:15:24 -08:00
abhishek cd73ff54a5 adding an upgrade script 2010-12-28 09:40:06 -08:00
abhishek 719f3984d2 changing domain.suffix to guest.domain.suffix, along with associated deps 2010-12-27 17:00:07 -08:00
alena 3775ba043e Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering. 2010-12-23 09:40:15 -08:00
edison 882fe2e213 fix vmware template url 2010-12-22 11:04:28 -08:00
kishan a7626fc991 bug 7504: Added usage events 2010-12-22 12:28:05 +05:30
kishan fc8138bcfa bug 7504: Added new usage event table 2010-12-22 12:10:38 +05:30
abhishek 078a377b48 bug 7607: changing sizes for default disk offerings
status 7607: resolved fixed
2010-12-21 16:01:15 -08:00
anthony 57de81983f add XenServer 5.6 FP1 specific guest os type 2010-12-20 15:47:57 -08:00
edison 6c9d3da4fd bug 7500, 7447: add external url for template download
status 7500: resolved fixed
status 7447: resolved fixed
2010-12-20 11:19:53 -08:00
anthony c72527a747 add DB migration for cluster.type 2010-12-17 13:49:01 -08:00
anthony 6419e49977 add guid in cluster table 2010-12-16 16:28:56 -08:00
abhishek 8a002527de updating the config var name to the refactored value 2010-12-16 16:22:51 -08:00
abhishek cec26017a2 bug 6361: added some more comments 2010-12-16 15:37:19 -08:00
abhishek 5bb4abac93 bug 6361: changing the index file to updated table name 2010-12-16 15:37:19 -08:00
abhishek 5154ba1539 bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying 2010-12-16 15:37:19 -08:00
Frank Zhang 032f321363 catch exception if mysqld has not been started when
perform 'cloud-setup-database'
2010-12-16 15:29:06 -08:00
Alex Huang e613ecaba0 unit test passed 2010-12-16 14:04:32 -08:00
Kelven Yang 65c094a2c0 Add a API to allow adding external hypervisor cluster 2010-12-16 10:00:42 -08:00
alena d673686f5f Added Availability field for NetworkOffering. Added updateNetworkOffering API command 2010-12-13 18:28:33 -08:00
alena 65f53e3910 1) Create default networks for zones specified in server-setup.xml file
2) Direct pod based netwoks is taken care by DirectNetworkGuru now
2010-12-13 14:03:19 -08:00
alena 3ceffaf5c3 Use "revoke" istead of "pending" field in load_balancer_vm_map table. 2010-12-10 17:53:04 -08:00
Alex Huang 7cfbd5b7e0 missing mac fields 2010-12-10 17:20:31 -08:00
Alex Huang 790bf40be6 Forgot what i change but must be important 2010-12-10 17:20:31 -08:00
alena 88d6ff2136 bug 7467: release IP address works now.
status 7467: resolved fixed

Fixed all load balancer commands to work with the latest networking code
2010-12-10 15:12:32 -08:00
abhishek 5d419be638 bug 7476: fixing the pod creation issue
status 7476: resolved fixed
2010-12-10 13:24:57 -08:00
Alex Huang 8ac694bf55 changes from testing 2010-12-10 09:29:23 -08:00
Alex Huang 68932929fb Changes to how public ip addresses are allocated 2010-12-10 08:38:20 -08:00
keshav 198cab4dee Added support code for external firewalls and loadbalancers. Added new host types and startup commands, and enabled NicVO to reserve IPs for external network resources. 2010-12-09 11:40:02 -08:00
alena 1f7d74dbec 1) Disabled updatePortForwardingRule api command.
2) Added vm information (id, name, display_text) to all port forwarding rule responses.
2010-12-08 14:28:37 -08:00
Alex Huang 2c42ebbf71 ip assoc working 2010-12-08 09:03:34 -08:00
Alex Huang f794abfdef ip addresses are now separated from domR 2010-12-08 09:03:34 -08:00
alena e279389c2b Added created/removed fields to Nics and Networks tables. 2010-12-07 18:08:05 -08:00
Alex Huang d890189a92 missing default values for providers 2010-12-06 15:20:13 -08:00
Alex Huang f147bf5f94 start vm not working again 2010-12-06 14:17:53 -08:00
Alex Huang fcdd20ca06 more checkin 2010-12-06 14:17:53 -08:00
Alex Huang cf032b7a3a more changes 2010-12-04 17:33:02 -08:00
edison 2827ab2e25 fix capacity 2010-12-04 14:59:39 -08:00
alena 150d684e05 1) isShared attribute belongs to Network now, not NetworkOffering
2) Added list by networkId support to listVirtualMachines command.
3) Implemented search by zoneId in listNetworks command
2010-12-03 19:07:08 -08:00
Kelven Yang cc7dc5e6be Persist disk chain info when we detach a volume, check disk chain info when we attach a volume, this is required when snapshot operations are involved in vwmare 2010-12-03 18:59:23 -08:00
Frank Zhang 4445b89d72 add database name before table name 2010-12-03 16:35:08 -08:00
anthony 1c4c95f81f snapshot id is unique 2010-12-03 12:14:10 -08:00
anthony 4f2790c09b move db migration to script 2010-12-03 11:24:25 -08:00
root 8a4d170892 correct misspelling 2010-12-03 10:06:48 -08:00
Alex Huang 5db9ba61d9 extra comma 2010-12-03 09:47:12 -08:00
Alex Huang bb78986ddb port forwarding working 2010-12-03 08:48:02 -08:00
Alex Huang 223688d0bf Port forwarding rules and load balancing rules rewrite 2010-12-03 08:48:02 -08:00
nit b543faeeee bug 7366 : Removing the bootable field from "createTemplate","registerTemplate","listTemplate" and "updateTemplate" commands.
Making some db changes for a successful ant deploydb
status 7366: resolved fixed
2010-12-03 18:31:08 +05:30
alena f8a687ab23 1) Implemented create/list/deleteNetworkOffering create/delete/listNetwork APIs.
2) Added networkIds parameter to deployVMCmd - accepts list of networks ids separated by coma.
3) Changed domainRouter/systemVm/userVm response to return list of Nics associated with the vm.
2010-12-02 19:30:17 -08:00
anthony 6f1eb4bf44 bug 7144: return snapshotId with jobid
1. manual and recursive snapshot use the same command
2. upgrade from 2.2 beta1 to beta need to execute schema-22beta1to22beta2.sql and data-22beta1to22beta2.sql
3. upgrade from 2.1GA to 2.2GA need to execute schema-21to22.sql and data-21to22.sql

status 7144: resolved fixed
2010-12-02 19:23:34 -08:00
nit 7e4ee81103 Altering db schema - adding physical_size. This was causing runtime exceptions while running the cloud stack 2010-11-30 22:26:36 +05:30
anthony d3325de5ae 1. limit xs-tools in xenserver related java file
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
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
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
abhishek 3d4b8ab4a0 bug 7263: changing the param name. Found a couple of bugs whilst testing this, the validation of vol size whilst cust vol creation was missing. Adding the same.
status 7263: resolved fixed
2010-11-23 16:20:30 -08:00
Alex Huang 5b4a6f27db Changed networkconfigurations to network as per Sheng's suggestion 2010-11-19 15:44:42 -08:00
Chiradeep Vittal 07711744ce Config values for VPN 2010-11-18 18:52:21 -08:00
Kelven Yang 3866926598 remove hard-code of vcenter server record from template.sql 2010-11-18 11:07:10 -08:00
Chiradeep Vittal 4c7bb302bc bug 6971: Use PSK length configuration
validate global configurations
2010-11-17 16:32:50 -08:00
alena 88fc03f1b1 Set networktype default value to be "Basic" in create-schema.sql 2010-11-16 17:11:53 -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
Alex Huang ed31497188 ComponentLocator changes 2010-11-16 04:28:15 -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
edison 8ca6f1669e start2command fro secondarys storage vm and make it work for KVM 2010-11-11 17:04:10 -08:00
abhishek f712cfcc46 removing the port to fwrule map table, as we are not supporting this anymore 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
Alex Huang edf9ddd464 added reservation id to vnet 2010-11-08 12:29:38 -08:00
Alex Huang aca8ef79cd a bunch of other changes for network refactoring 2010-11-08 12:29:37 -08:00
Kelven Yang e02a8c9d9f Support for Chiradeep's new template 2010-11-05 18:37:29 -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
Alex Huang e27bb550fe Harmony among gurus 2010-11-03 21:18:31 -07:00
abhishek 63298da434 adding the new column to the upgrade script 2010-11-03 17:45:52 -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
Chiradeep Vittal 58b8d10c6b add vpnusersdao into components.xml, schema migration, add another constraint 2010-11-03 14:02:13 -07:00
Chiradeep Vittal b6d3b3c184 users for vpn -- data model 2010-11-03 14:02:12 -07:00
edison da56df0604 add default vmware template 2010-11-03 13:45:49 -07:00
edison 50cf96fa61 remove unused vmware template 2010-11-02 19:46:34 -07:00
Alena Prokharchyk 694a8231ef Build responses in ApiResponseHelper for the deploy/start/stop/reboot/recover/listVm create/list snapshot/snapshotPolicies 2010-11-02 18:16:45 -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
edison d3404cfec1 cloud-setup-databases don't need to specify hypervisor type, just remove the confusing help 2010-11-01 15:40:43 -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
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
Kelven Yang fd4b44d326 Shorten index key requirement on storage_pool_details to let it fall within the support of mysql 2010-10-29 18:11:06 -07:00
Alex Huang 14f80f2e13 domain router up and running...now on to patching through the network between the domain router and the vm 2010-10-29 12:16:58 -07:00
nit c9069303ce Code clean up for Extract functionality and making it more robust. 2010-10-28 18:45:12 +05:30
Alex Huang 4f9f249218 make console proxy work again with the new network configuration 2010-10-26 17:37:29 -07:00
Alex Huang f58063911e deploy vm completed 2010-10-26 09:35:24 -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 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 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
abhishek a007cf2495 In deletepool, we set the uuid to null. However, in the db, we had a not null constraint on uuid, because of which deletepool would not work. Removing the same constaint. 2010-10-19 17:37:09 -07:00
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
Kelven Yang 2c919c5c01 Make unique name conforming with the name generated in template installation for routing template, some other minor fixes 2010-10-15 16:36:02 -07:00
Kelven Yang f6e0d2dd41 Make system VM work on vmware 2010-10-14 17:23:13 -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
edison e5c9384a3a default routing template uuidname is changed to "routing-template-id", to make it work with installrtng.sh 2010-10-07 16:34:14 -07:00
Kelven Yang d307b86b07 Temporarily add a blank system vm for vmware testing, explcitly check the ticket info in console access URL 2010-10-06 17:36:13 -07:00
Alex Huang 9d1270b35f console proxy started completely and running 2010-10-06 17:22:35 -07:00
edison 139ff273ff fix systemvm template for kvm, using chiradeep's latest debian template 2010-10-05 20:41:39 -07:00
Alex Huang 652d86956c more files checked in 2010-10-04 12:04:59 -07:00
edison ad1ef80459 Now we have multiple routing template and buitin templates now, refactor template download code, that can handle it.
Basically, change the meaning of type field in template table: SYSTEM means sytem vm template, BUILIIN means buildin templates.
2010-09-29 18:41:55 -07:00
Kelven Yang b7efa12d59 Fix corrupted eclipse project settings, schema fixes and updated template download url 2010-09-29 18:41:54 -07:00
edison e4b3be97a4 guest os name can be null 2010-09-29 18:41:54 -07:00
edison ccf629360a Sometimes, the permission of secondary-stoarage/templates is 755, no-writable.
Fix it by "chmod 777 -R" for secondary storage
2010-09-29 18:41:54 -07:00
edison 9e0f57bc0e change code for new UI 2010-09-29 18:40:52 -07:00
edison 8943cc6745 create volume
Conflicts:

	api/src/com/cloud/vm/VmCharacteristics.java
	core/src/com/cloud/dc/ClusterVO.java
	core/src/com/cloud/server/ManagementServer.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/storage/allocator/AbstractStoragePoolAllocator.java
2010-09-29 18:40:51 -07:00
Kelven Yang 9c67a9f585 Update vcenter address to vmware demo instance 2010-09-29 18:40:48 -07:00
Kelven Yang da5bd82b5f Add vmware template info to hybrid branch 2010-09-29 18:40:48 -07:00
edison 6ef5530994 hypervisor type in cluster can be null 2010-09-29 18:40:48 -07:00
edison edb16aa117 change storage allocator policy based on hypervisor 2010-09-29 18:40:47 -07:00
edison 3aef9f408e step1 2010-09-29 18:40:47 -07:00
edison 211b4c5da2 hybrid 2010-09-29 18:40:47 -07:00
anthony 319d4f1aa0 snapshot redesign
1. use full snapshot and delta snapshot, there are maxsnashot/2 of delta snapshot between two full snapshot
2. only support one policy for one volume
3. remove all coleases in secondary storage.
2010-09-28 18:37:46 -07:00
Kris McQueen 848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00
abhishek 91340ca8de bug 5190: incremental checkin with a bunch of vo,dao,schema and upgrade changes 2010-09-28 11:03:12 -07:00
Alex Huang 3292779a96 removed account id and domain id from domain router 2010-09-22 14:24:55 -07:00
Alex Huang 22652e7ace got the vm created 2010-09-22 10:43:59 -07:00
Alex Huang 8acba8fbd1 more checkins 2010-09-22 10:43:59 -07:00
Alex Huang 286e78c849 moved account id, service offering id, and domain id into isntance 2010-09-22 10:43:59 -07:00
alena 55b33120e7 Fixed rpm build 2010-09-22 09:31:16 -07:00
alena 0c659af24a Implemented DB migration from 2.1.x to 2.2.x for Instance Grous feature. Added missing Daos to migration-components.xml (AccountDao, ResourceCoundDao, InstanceGroupDao, InstanceGroupVmMapDao).1 2010-09-21 18:53:18 -07:00
Alex Huang bebe79ebc9 more work from alex 2010-09-17 13:37:53 -07:00
nit 48cd102ab9 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-09-17 17:04:35 +05:30
nit 636dc041c7 bug 4286: Making extractIsoCmd and extractTemplateCmd async 2010-09-17 17:04:07 +05:30
Alex Huang 131e487c32 allocation complete. Moving on to actual create and deploy 2010-09-16 12:01:56 -07:00
Alex Huang 327924a9ad More changes for refactoring 2010-09-15 18:00:54 -07:00
nit f5ac46255c bug 4286: Schema changes to include the upload table, Introducing extractIso command and extractVolume command 2010-09-15 17:51:42 +05:30
alena b26ac321de bug 6177: Make VM group a first class object
1) Added new apis: createInstanceGroup, updateInstanceGroup, deleteInstanceGroup, listInstanceGroups
2) Group can be created using:
* createInsanceGroup api
* deployVirtualMachine/updateVirtualMachine commands (we create a group with name equal to "group" parameter value if the group doesn't exist already)
3) Group can be removed by:
* deleteInstanceGroup api
* when corresponding account is removed
4) Vm can be assigned to one group only. To move vm from one group to another, use updateVirtualMachine command with "group" parameter
5) Changed listVirtualMachines command to use "groupId" parameter instead of "group".

status 6177: resolved fixed
2010-09-14 19:08:01 -07:00
root 077690cf15 switched from networkprofile to network configuration 2010-09-09 17:48:24 -07:00
Alex Huang 5d185ad82f removed network profile creation 2010-09-09 14:45:16 -07:00
Alex Huang 7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
Alex Huang 6134f7dfd2 more file changes 2010-09-09 11:52:12 -07:00
abhishek 25ac9104bb Adding migration script to remove the 'upgrade.url' parameter from the 2.2 codebase 2010-08-31 09:41:12 -07:00
Kelven Yang e9ab931a55 Add windows xp template to vmware 2010-08-27 16:32:09 -07:00
Kelven Yang 753fe25074 Link with create/start command for vmware VMs 2010-08-27 16:32:06 -07:00
Kelven Yang 7eb61b705a Allow NetworkManagerImpl and SecondaryStorageImpl to tolerate missing of system vm template at startup 2010-08-27 16:32:03 -07:00
Manuel Amador (Rudd-O) cebd1da99c Added support for injecting the VMWare templates across the board, and in the packages too 2010-08-26 19:18:37 -07:00
Manuel Amador (Rudd-O) e992e8732d bug 5985: rename hotfix for bug to be consistent with other migration scripts, and include in fedora / ubuntu packaging 2010-08-26 19:18:37 -07:00
Kris McQueen 8be0a3f70f Issue 5985: remove the username/removed uniqueness constraint since (a) usernames need to be unique within a domain but not accross domains and (b) the contraint isn't really doing anything at this point. Status 5985: resolved fixed 2010-08-26 16:58:16 -07:00
Kelven Yang bbb307c82d Explode vmware template file in place 2010-08-26 11:22:12 -07:00
Kelven Yang 0e2df1fe42 Use dummy template package to speed up debug 2010-08-26 09:43:37 -07:00
Kelven Yang 0682d70ce6 add correct check sum to default vmware template records
Let StoragePoolMonitor be aware of vmware hypervisor
2010-08-25 11:07:27 -07:00
Kelven Yang e3af2edc1d add vmware DB initial sql scripts for templates and guest OSes 2010-08-25 09:48:31 -07:00
Kelven Yang 0a401f7b91 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-25 09:40:57 -07:00
Kelven Yang 45cb68e7e2 add templates.vmware.sql
modify build to deploy vmware database records
2010-08-24 22:58:05 -07:00
Alex Huang 415bc8ae20 bug 5764: checkin before I switch to work on 2.1.x 2010-08-24 14:40:29 -07:00
Alex Huang fb389e8cd6 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-24 00:01:09 -07:00
Alex Huang 20b26082db bug 5764: changing from networkoffering to network profile 2010-08-24 00:00:43 -07:00
abhishek 67e1eee981 Adding to migration script 2010-08-23 16:27:40 -07:00
abhishek 7454f0f24a Incremental checkin for volume lineage 2010-08-23 16:02:45 -07:00
Alex Huang bb06bc3d57 fixed merge conflict 2010-08-23 15:10:08 -07:00
Alex Huang e0165dd2ef my changes 2010-08-23 13:59:23 -07:00
Kelven Yang 08ae56d360 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
Conflicts:
	api/src/com/cloud/hypervisor/Hypervisor.java
	build/build-cloud.xml
2010-08-23 12:12:45 -07:00
Kelven Yang 7bcff5acf3 Vmware incremental check-in 2010-08-20 18:50:33 -07:00
Edison Su bf3db195ed fix typo 2010-08-20 18:51:17 -04:00
Alex Huang 4356eb7c26 Start2Command implementation for xenserver 2010-08-20 13:35:08 -07:00
Kelven Yang ff02e07a33 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-18 21:44:37 -07:00
Kelven Yang 792fdf91b8 1) Add host_master table for tracking VMWare vShpere servers
2) Add SynchronizationEvent for in-process event synchronization
3) Move VMware files out of FOSS code base
2010-08-18 17:30:11 -07:00
Alex Huang b250b985ec changes 2010-08-18 12:19:22 -07:00
Alex Huang e077b23d98 stupid git 2010-08-17 10:26:34 -07:00
Alex Huang a89aad4d15 removed override 2010-08-17 10:16:16 -07:00
Alex Huang c5f822ca7a Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-16 11:30:22 -07:00
Alex Huang 867b43dcf9 more changes for the rewrite. 2010-08-16 11:28:11 -07:00
unknown 30c5352f20 - dos2unix deploy-db-dev.sh 2010-08-12 17:19:30 -07:00
Manuel Amador (Rudd-O) ac730ec496 Branch 2.1.refactor committed 2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O) 05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00