Commit Graph

209 Commits

Author SHA1 Message Date
Edison Su b4d14931f1 execute fencecommand in seq for kvm, as there are only 5 default nio reading work threads on kvm agent. pinganswer may not be got serviced immediately, then agent will reconnect to mgt server again and again 2012-01-24 17:30:02 -08:00
kishan 163dd18397 Bug 11931: Enclosed snapshot name with quotes to handle spaces
Status 11931: resolved fixed
Reviewed-By: Jana
2012-01-24 17:39:47 +05:30
Edison Su d9287f0e43 tell agent to reconnect to mgt server, if cancelmaintainance cmd is called 2012-01-19 17:14:00 -08:00
Edison Su 86b51dedcf bug 12605: if agent is in maintenance mode, don't reconnect to mgt server
status 12605: resolved fixed
2012-01-19 16:44:30 -08:00
Edison Su afc61710b0 windows use localtime and set timer as catchup 2012-01-19 15:20:52 -08:00
Edison Su 890774db04 fix multiple data disk booting issue 2012-01-13 18:38:00 -08:00
Edison Su 88991af7e7 always attach a data disk to vm using virtio, no matter what kind of guest os it is. 2012-01-13 13:38:00 -08:00
Edison Su 6ecb0f2b6b bug 12616: 40 hosts connecting to mgt server, need to set workers > 40 in mgt server.
status 12616: resolved fixed
2012-01-04 21:36:40 -08:00
Edison Su 4a7c684526 bug 12616: advanced startup command for direct connected agent
status 12616: resolved fixed
2012-01-03 18:29:40 -08:00
Edison Su 42d45efa44 set creating template timeout from cmds.timeout 2011-12-20 18:41:00 -08:00
Edison Su a4d1ce3f87 set the cpu weight based on cpu * cores 2011-12-15 15:08:14 -08:00
Edison Su 0f8ed3a60c fix reboot vm, then attached disk is lost 2011-12-06 13:45:20 -08:00
frank 0821023aa5 Don't allow Agent send out StartupCommand if it can not get its local IP address,
otherwise mgmt server will get an incomplete StartupCommand
2011-11-10 17:34:44 -08:00
Edison Su 7a1a844e6b bug 11759: fedora still uses cloud-qemu-img to take snapshot
status 11759: resolved fixed
2011-11-04 13:36:15 -07:00
Edison Su e6667b15f2 bug 11729: cloud-agent depends on network
status 11729: resolved fixed
2011-11-03 17:59:48 -07:00
Edison Su c99870941f fall back to private network if can't find public network 2011-11-03 17:02:47 -07:00
Edison Su 352f493169 bug 11669: report host cpu freq from /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq. It's a bug in libvirt: http://comments.gmane.org/gmane.comp.emulators.libvirt/33277
status 11669: resolved fixed

bug 11669: divide 1000, mgt server needs Mhz
status 11669: resolved fixed
2011-10-10 18:43:11 -07:00
Edison Su 45b7e13529 bug 11583: it's a timing issue, if you hot plug a nic to domR, need to make sure the device is shown up in the domr, then you can programming ipassoc rules. Wait 20s after hot plug the nic, then programming the ipassoc rules
status 11583: resolved fixed
2011-10-06 17:22:00 -07:00
Edison Su 96afeaf38f bug 10624: copyvolume needs to put ".qcow2" at the end of the file
status 10624: resovled fixed
2011-10-05 17:48:22 -07:00
Edison Su eb0e2c4c25 Fixed: only the first snapshot got backedup to secondary storage, if multple snapshot taken.
Reviewed-by: anthony
2011-09-22 15:03:53 -07:00
Edison Su 9ed43b1039 bug 11444: don't save vm state during reboot, which just messed up
status 11444: resolved fixed
2011-09-14 17:41:51 -07:00
Edison Su cd4e076212 bug 11423: get storage pool stats from "df --total" instead from libvirt
status 11423: resolved fixed
2011-09-13 18:46:43 -07:00
Edison Su 8fdf72db47 Add "Other PV" for kvm, to install pv driver in windows:
1. create a VM from iso/template whose guest os type is "Windows*"
2. attach a disk to windows VM
3. install virtio disk driver
4. stop the vm, and create template from it, chose guest os type as "Other PV"
5. create vm from the template created at step 4. Then this vm will have virtio disk, and virtio nic. Need to install virtio nic driver after VM booting up.
2011-09-13 11:07:20 -07:00
Edison Su a7da152b3d bug 10931: if local.storage.uuid not found, generate a new one instead of throw exception
status 10931: resolved fixed
2011-08-29 11:04:17 -07:00
frank ca7fb65ca2 full opensource 2011-08-23 19:23:49 -07:00
Kelven Yang ced9e1b25e bug 11137: don't start HTTP listen if it is already started 2011-08-15 18:57:06 -07:00
Edison Su 2c56b83da6 bug 10809: add copyvolume for kvm
status 10809: resolved fixed
2011-08-09 15:33:18 -07:00
anthony dc7ff2b5ad Bug 10197:
implement pool-wise VM sync,
    For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
2011-08-02 16:52:24 -07:00
Edison Su 22483a9c13 add RHEL 6.1 support 2011-07-29 19:14:15 -07:00
Edison Su c3174664de after vm reboot, change the security group if needed 2011-07-29 15:28:16 -07:00
frank 1381c58fa1 Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load

status 10860: resolved fixed
2011-07-27 17:32:12 -07:00
Edison Su 3166b237cb bug 10440: ipassoca failed, if the public network is untagged
status 10440: resolved fixed
2011-06-27 16:08:30 -04:00
Edison Su cd6eba3cde wait for 30s, after stop agent 2011-06-22 17:47:29 -04:00
Edison Su 0377c6bf0d fix meta data for cloudzone 2011-06-22 17:02:12 -04:00
Sheng Yang 64b2293a50 Add more _selector.close()
Also add more log.
2011-06-22 14:24:12 -07:00
Alex Huang a254e90ab3 Renamed IPAssoc to IpAssoc to be consistent with agent commands 2011-06-21 10:15:42 -07:00
Edison Su 5483bc21de try 5 times if write heartbeat failed 2011-06-17 17:38:58 -04:00
Edison Su 0a8421fe66 if iso is installed, don't include it into ssvm 2011-06-17 15:45:28 -04:00
Edison Su 980dd69478 don't include the whole /usr/share/java/ directory in classpath, or you will get stackoverflow, and delete vm data folder after vm stopped 2011-06-16 12:14:24 -04:00
Edison Su 1fa00d14b1 fix NPE when stopvm 2011-06-15 15:28:35 -04:00
Edison Su fc2ed28227 bug 9793: remove the thirdparty jar files, then size of cloudzone tar ball is reduced to 4M.
status 9793: resolved fixed
2011-06-14 15:13:14 -04:00
Edison Su db7a01766c reduce cloudzone package size, hopefully down to < 5M 2011-06-14 14:35:38 -04:00
Edison Su 5b19a5e731 reduce agent package size 2011-06-13 18:14:51 -04:00
Edison Su 4d3481ac5e bug 10212: Finally, user data works. Don't return newline to them
status 10212: resolved, fixed
2011-06-10 15:34:06 -04:00
Edison Su 2da052a463 fix user data 2011-06-09 18:04:48 -04:00
Edison Su e7365fd143 bug 9896: RHEL 6 doesn;t support to attach an SCSI disk to a windows VM, then I have to attach a virtio disk.
So for a windows guest, the root disk is an IDE disk(in case there is no virtio driver installed inside guest), but all the data disks will be virtio disks.
That means if you want this feature, people need to install virtio disk driver inside windows guest to get data disk work.
status 9896: resolved fixed
2011-06-08 16:11:02 -04:00
Edison Su 358fb9aba6 add wait for network before starting agent 2011-06-02 22:38:13 -04:00
Edison Su 47d52ad937 Never get the upstart script stable enough
fall back to systemV init script
Revert "Try upstart init script in the next round"

This reverts commit da56f8e92e74b2e06df66da03e1b77b3a13cb97d.
2011-06-02 22:38:13 -04:00
Edison Su 5caafcbcb0 change log level to debug 2011-06-01 17:39:02 -04:00
Edison Su d6e6190c62 bug 10107,10108: change agent log level from DEBUG to INFO
status 10107: resovled,fixed
status 10108: resovled,fixed
2011-06-01 17:09:39 -04:00