Commit Graph

972 Commits

Author SHA1 Message Date
anthony c6633f9095 delete cleanup.py 2010-12-17 15:41:47 -08:00
edison 19431d31d3 add security group support for kvm 2010-12-16 18:02:41 -08:00
anthony fbbf78efbb intialize only get xenserver info 2010-12-14 15:24:21 -08:00
Frank Zhang 1017a41fa9 remove wscript from python/ 2010-12-04 23:03:24 -08:00
edison 5c73e46113 bug 7296: add kvm.public.network.device and kvm.private.network.device from UI
status 7296: resolved fixed
2010-12-04 20:01:10 -08:00
anthony ef9c9b8c5f split scripts to premium-script 2010-12-03 20:53:53 -08:00
anthony 4b20796467 remove patch domr logical 2010-12-01 16:32:33 -08:00
edison 254a59fc6c fix installrtng for vmware 2010-11-29 15:08:50 -08:00
edison 23d85f042b when re-seed systemvm template, we just need to specify hypervisor type, no need to the wired number 2010-11-23 19:15:14 -08:00
Anthony Xu 7518488672 bug 7293: return complete installpath for createprivatetemplatefromvolume
status 7293: resolved fixed
2010-11-23 16:22:51 -08:00
Anthony Xu 4d053964b6 remove zfs related staff, which is not used 2010-11-18 14:43:20 -08:00
Anthony Xu f62d9ae9c9 remove unused files 2010-11-18 14:43:20 -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 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
edison 6944979f94 bug 7142: fix the race condition that multiple create vlan requests coming from mgt svr
status 7142: resolved fixed
2010-11-10 13:36:50 -08:00
edison 007783f6cf add more logs when taking heartbeat, and make ha enabled even in oss 2010-11-10 09:49:03 -08:00
edison 4bc63e5c32 Enable KVM HA on nfs storage 2010-11-09 22:03:22 -08:00
anthony 224da7e775 several snapshot fixes 2010-11-05 20:55:19 -07:00
Chiradeep Vittal 04f89d89ec bug 6981: merge from 2.1.x bug 6807
status 6981: resolved fixed
2010-11-04 12:45:46 -07:00
Chiradeep Vittal 900d597002 bug 6981: merge from 2.1.x 2010-11-04 12:30:55 -07:00
Chiradeep Vittal 542a6da0d7 bug 6981: restore ipassoc behaviour 2010-11-04 11:53:42 -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 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
anthony 25c0d0f197 patch.tgz and prepsystemvm.sh are not needed, we use iso instead 2010-11-03 17:19:04 -07:00
edison 4d7d09a7a8 fix the import vmware template 2010-11-01 18:33:34 -07:00
Chiradeep Vittal 8dda98a1bb fix problems after merging in bug fixes from 2.1.x 2010-11-01 12:31:10 -07:00
Chiradeep Vittal d6a2766c04 dont wipe dhcp and antispoof rules every time 2010-11-01 12:21:56 -07:00
Chiradeep Vittal 3c897c5b27 bug 5532: allow more instances. could still fail with a very long instance name 2010-11-01 12:21:56 -07:00
Chiradeep Vittal c1b7f5a6fa bug 6485: fix reboot logic 2010-11-01 12:21:56 -07:00
Chiradeep Vittal 2c14634e3b bug 6268: cloud-private is actually the management interface 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
kishan c40f053eb0 bug 6425: run ssh in quiet mode to avoid warning
status 6425: resolved fixed
2010-11-01 16:03:39 +05:30
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
Kris McQueen f964470ba4 remove whitespace at the start of the file which confuses the interpreter and prevents plugins from working 2010-10-20 16:48:20 -07:00
anthony 4cca3f9b87 when get scsi_id, replace all whitespaces by underscores 2010-10-20 13:55:14 -07:00
anthony 121d29211e update new keypair 2010-10-15 15:50:53 -07:00
anthony b66203ebca empty it instead of rm it 2010-10-15 15:05:22 -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
anthony 93f3205a84 change the script 2010-10-07 23:24:25 -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
Kelven Yang 15f5fa5c1d Make installrtng.sh support vmware template 2010-10-07 11:19:04 -07:00
edison 139ff273ff fix systemvm template for kvm, using chiradeep's latest debian template 2010-10-05 20:41:39 -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 50c319e19b bug 3120: incremental checkin 2010-09-21 14:47:52 -07:00
abhishek 37870da95f bug 3120: incremental fix 2010-09-21 14:47:51 -07:00
abhishek e6cfacacfe some more ipassoc changes 2010-09-21 14:47:51 -07:00
abhishek a9c96b4da0 bug 3120: incremental checkin 2010-09-20 14:54:06 -07:00
abhishek 437f717633 bug 3120: incremental checkin 2010-09-20 14:54:06 -07:00
kishan c5610eab4b Bug 6175: Added rules to account HAProxy traffic 2010-09-17 12:00:32 +05:30
edison d933f19d35 bug 5800: add cluster for KVM
TODO: need to make sure the host cpu is from the same vender in a cluster
2010-09-10 16:00:36 -07:00
Chiradeep Vittal 71cae63323 vhd.size not filled in depending on where the script is run from 2010-09-09 15:12:06 -07:00
anthony 0d55059583 remove some SMlog 2010-09-09 13:59:31 -07:00
Alex Huang 7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
Manuel Amador (Rudd-O) b0acdbcf8b Split out build responsibility into per-project wscript_build files. Installation of generic directories like bindir, and creation of systemvms, remain in toplevel wscript_build. Make some waf code useful and reusable in the form of tools. 2010-08-31 20:40:17 -07:00
anthony 56b33b578c bug 5944: add basical vhd file check
status 5994: resolved fixed
2010-08-31 19:44:18 -07:00
anthony 5d8cadb7b0 correctly use session in plugin 2010-08-29 23:59:33 -07:00
anthony afd8052203 remove unused scripts 2010-08-29 18:39:15 -07:00
anthony a517338ac7 fix a bug about backupsnapshot to nfs primary storage 2010-08-28 19:17:40 -07:00
Anthony Xu d72e0538da Revert "Revert "use iso to patch systemvm""
This reverts commit 145e2e0aaa.
2010-08-26 16:06:28 -07:00
Anthony Xu 145e2e0aaa Revert "use iso to patch systemvm"
This reverts commit 3565f8d21b.
2010-08-26 16:03:34 -07:00
root 3565f8d21b use iso to patch systemvm
Conflicts:

	core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
	scripts/vm/hypervisor/xenserver/xenserver56/patch
2010-08-26 15:56:02 -07:00
edison 3ab4651cf0 Issue #: 5978 5977 5971 5972
Status 5978: resolved fixed
Status 5977: resolved fixed
Status 5971: resolved fixed
Status 5972: resolved fixed
2010-08-25 15:27:34 -07:00
edison 867b49edb6 Don't install console proxy agent on agent 2010-08-25 15:26:33 -07:00
Anthony Xu 0366dd093c use slaveconnection instead of masterconnection for all host plugin calls.
tested by creating domr and user vm and migrating them

1. if you add host for kvm , you need specify kvm://ip_address, otherwiset there is no to differ kvm and xenserver hosts, edison cloud you please test this, may need some minor fixes.

2. if you want to session inside your plugin call, you can not use the one which is passed in, due to it is a slavesession, you need to call get_xapi_session() to get a new local session and use it. I have modified some of these, I may ignore some. Please let me know if you see XENAPI_PLUGIN_EXCEPTION.
2010-08-23 18:01:39 -07:00
Anthony Xu 09680d80a7 bug 5939: add the new script to patch
status 5939: assigned
2010-08-18 16:59:04 -07:00
Anthony Xu 334b2f7d27 bug 5939: script to clean xenstore disk 2010-08-16 17:06:20 -07:00
edison 53df26daaa "Add host" for kvm:
The sequence:
1. add host in UI
2. scp setup_agent.sh to agent host, and execute it. This script receives hostip,zoneid, podid and guid, then runs "cloud-setup-agent" and "cloud-setup-console-proxy". Here, we assume that network/hostname and cloud-agent are already configed and installed.
3. Write a dummy kvm resource into the database, then wait for agent connects to server, by polling the database for every 1 minutes. If it finds the agent is in UP state in database, then return, or wait for at least 10 minutes.
2010-08-13 23:19:36 -07:00
edison dc005b9b9c add setup_agent.sh, the first script running during add host
Make cloud-setup-agent/console-proxy in unattended mode
2010-08-11 19:31:07 -07:00
Manuel Amador (Rudd-O) 14ae76781e Committing Kris' big merge 2010-08-11 16:02:57 -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