129 Commits

Author SHA1 Message Date
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