Commit Graph

168 Commits

Author SHA1 Message Date
Edison Su fd759c60df bug 11458: stop cgconfig before start libvirtd, "service cgconfig status" returns "Running" instead of "running", then cloud-setup-agent doesn't stop it
status 11458: resolved fixed
2011-09-15 14:38:04 -07:00
frank 9c660c192f make /root writable in ubuntu 2011-09-12 18:08:43 -07:00
frank 2f3635c312 add sudo when configuring ubuntu management server 2011-09-12 16:44:32 -07:00
frank f19e9252a4 use ufw to configure iptable in ubuntu for mgmt server ports 2011-09-12 16:44:20 -07:00
frank 57dbe64f9e Bug 9479 - provide option for built in https
Listen on 6443 instead of 8443 because tomcat6 will change 8443 to a random one when CATALINA_HOME is not /usr/share/tomcat6
change iptable rule
2011-09-01 17:45:18 -07:00
frank c7b3c81485 Bug 9479 - provide option for built in https
small fix on cloud-setup-managment
2011-09-01 17:09:06 -07:00
frank 1ce0ad67c8 Bug 9479 - provide option for built in https
status 9479: resolved fixed
2011-09-01 16:01:28 -07:00
Edison Su c59d843cc5 detect centos 6.0 2011-08-30 10:35:31 -07:00
Edison Su 0e3aa3df29 sleep 30 sec if it is the first time to install cloud-agent in case the network is not coming up 2011-08-30 10:35:27 -07:00
Edison Su ea07dff22e bug 11024: fix a typo
status 11024: resovled fixed
2011-08-09 10:53:29 -07:00
Edison Su a2493b5852 add scientific linux 6 and centos 6 2011-08-09 10:53:26 -07:00
Edison Su 66fe12910c delete the default iptable rule 2011-08-03 13:39:52 -07:00
Edison Su 8bcad6960c add rhel6.1 support 2011-07-29 20:05:01 -07:00
Edison Su a89f7c0866 fix cloud-setup-agent, if selinux is disabled, should return successful, instead of raise an exception 2011-07-18 17:50:07 -07:00
Edison Su 5b4628f651 remove the default FORWARD rule on CentOS 5 2011-07-08 13:51:50 -07:00
Edison Su f919e0119e for cloudzone, loose the check for ubuntu 10.04, people may want to install it on a newer kernel 2011-07-08 13:50:14 -07:00
Edison Su 55c39444b1 bug 9985: add more checking during setup cloudzone: host os must be ubuntu 10.04, 64bit, free disk space must be larger than 30G, memory must be larger than 1G
status 9985: resolved fixed
2011-07-08 13:30:27 -07:00
Edison Su 8a887c0b77 start agent after template download is done 2011-07-08 13:18:43 -07:00
Edison Su 897952989a bug 10026: running qemu as root
status 10026: resolved fixed
2011-07-08 13:02:38 -07:00
Edison Su c8d6d51011 fix ubuntu reboot issue, sometimes when you install agent, the init script is not installed into /etc/rc* 2011-07-08 13:02:38 -07:00
Edison Su 29d0b09968 fix agent setup on rhel6 2011-06-06 16:15:42 -04:00
Edison Su 57fe38efcd add check hostname during installation 2011-06-02 22:38:13 -04:00
Edison Su fcf6021764 set the default mgt server to myagent.cloud.com 2011-06-01 18:47:29 -04:00
Edison Su 9956bdeefc disable apparmor profile is better than disable the whole service 2011-05-27 11:27:15 -04:00
Edison Su 9528b4de4f remove cgroup on ubuntu, as sometimes it hang reboot 2011-05-26 19:03:09 -04:00
Edison Su 82ab4fcde4 localstorage uuid is generated by uuidgen, other than from hostip+localstoragepath 2011-05-26 11:52:28 -04:00
Edison Su 29c510de28 need to insert iptable rules into FORWARD chain instead of append, as on rhel6, there is a reject rule added at the end of FORWARD 2011-05-13 16:05:20 -04:00
Edison Su 99825e738b fix mycloud-setup-agent on 10.04 2011-05-09 15:40:37 -04:00
Edison Su 0b6fe0523d fix setup-managment script 2011-05-09 13:21:34 -04:00
Edison Su 0bf96b92e5 move mycloud tool to somewhere 2011-05-06 20:17:23 -04:00
Edison Su cbf2b03e31 refactore cloud related tools 2011-05-06 19:54:52 -04:00
Edison Su 2069d758e7 change to cmd line parameter 2011-05-06 14:53:53 -04:00
Edison Su f60bb811a1 mycloud CLI supports silence mode 2011-05-05 19:40:18 -04:00
Edison Su f5d1154743 Revert "augeas <=0.7.4"
This reverts commit 61fb86de5db1378515cfd479240b3a9bde2ee7c0.
2011-05-04 13:52:25 -04:00
Edison Su 8b884a8400 augeas <=0.7.4 2011-05-04 13:47:50 -04:00
Chiradeep Vittal 303e2a7481 Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
Frank 92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
Frank 50b6aca738 Bug 8208 - bare metal provisioning
Add color to print text of python script
2011-04-12 17:37:46 -07:00
Frank 916117a319 Bug 8208 - bare metal provisioning
open udp port 69 for tftp when setting up baremetal agent
2011-04-12 17:21:22 -07:00
Frank 1d5d254758 Bug 8208 - bare metal provisioning
put interpreter declration before license text
2011-04-12 16:35:16 -07:00
Frank 8d81d1c457 Bug 8208 - bare metal provisioning
new package baremetal agent
2011-04-12 15:52:33 -07:00
Edison Su 38d21a6de7 do not need "FORWARD -i cloudbr0 -o cloudbr0 -j ACCEPT" any more 2011-03-02 20:08:49 -05:00
Frank c38aff60f4 Bug 8275 - SELinux error message provides incorrect directions
status 8275: resloved fixed
2011-02-07 13:39:35 -08:00
Frank 7b1deef915 Bug 8221 - cloud-setup-databases fails when using RHEL 5.6
status 8221: resloved fixed
2011-02-01 12:12:42 -08:00
Edison Su 72e82c8c8c fix adding customized public/private nics for kvm 2011-01-15 09:52:38 -05:00
Edison Su daff97e916 bug 7936: fix script on centos
status 7936: resolved fixed
2011-01-11 09:57:55 -05:00
Edison Su c12e96dcc3 add missing files 2011-01-06 12:25:50 -05:00
Edison Su 4a409200dc fix build for rhel6 and fix router default gw 2011-01-07 08:02:15 -05: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 Xu aca45d68d3 delete cloud_PrettyPrint.py cloud_sxp.py which are not used 2010-11-17 23:30:33 -08:00
edison a988726e5d rename cloud-external-ipallocator to cloud-ipallocator 2010-09-29 18:41:54 -07:00
edison fe0c2ef3f5 ip allocator must have a name ending with py. 2010-09-29 18:41:54 -07:00
edison 2cb855e359 fix ipallocator package: add correct package name, log file 2010-09-29 18:41:54 -07:00
Manuel Amador (Rudd-O) a80a3b851e package cloud-external-ipallocator in cloud-python rpm 2010-09-29 18:41:54 -07:00
edison 964f8f1fe3 fix boot from iso 2010-09-29 18:41:54 -07:00
Manuel Amador (Rudd-O) 521fcff899 bug 6221: we put a > as a prompt in interactive setup scripts
status 6221: resolved fixed
2010-09-20 13:28:01 -07:00
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
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
Manuel Amador (Rudd-O) b5436693f3 Fix build by temporarily re-zoning very cool incubation software cloud-web-ipallocator to incubation directory until it is ready for production 2010-08-26 19:18:37 -07:00
edison 4fe1d8f335 add a web-based Ip Allocator:
In external-ip mode, management server can get user VM's ip from
direct.attach.network.externalIpAllocator.url.
This simple tool provides such kind of ip allocator service.

How to:
1. setup the dnsmasq:
	add the following in dnsmasq.conf:
		dhcp-range=starting-ip-allocate-to-vm,end-ip,netmask,static
    		dhcp-option=option:router,gateway
2. run cloud-web-ipallocator,
	The default listing port is 8080, if it's used by others, change the port by:
		cloud-web-ipallocator other-port
3. set the following in direct.attach.network.externalIpAllocator.url:
	http://your-host-ip:listening-port/ipallocator
2010-08-25 12:25:05 -07:00
Manuel Amador (Rudd-O) e94d21be0f Remove cloud_utils.pyc 2010-08-19 10:50:39 -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
Manuel Amador (Rudd-O) a2cf253b20 bug 5876: Fix error reporting in agent setup so it will not cause a nested exception
The function stderr was being called with the wrong name of interpolation parameters.  The exception was missing from the arguments to the function.

status 5876: resolved fixed
2010-08-12 15:22:34 -07:00
Manuel Amador (Rudd-O) b97899b2cf Correct indentationerror in python 2010-08-12 15:21:51 -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) 05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00