Changbin Liu
02b6284ec2
Rename "LOGGER" to "LOG"
...
Align with OpenStack projects
Change-Id: Ie30b2819bce754650f3afa293935c2a0b551c217
2013-09-22 15:40:45 -04:00
Changbin Liu
3e45d40d64
Add --force-yes to install_chefserver.sh and make all bin/*.sh
...
executable
Change-Id: I74a4aace357f82f4d61f2c8c3d5798b9e5990d56
2013-08-30 22:26:49 -04:00
Changbin Liu
1f964175f7
Add OpenFlow/SDN support for VXLAN mesh-topology networks
...
Change-Id: I81c09c98fd5f19b69bd1357c85d8a3117092ed34
2013-08-30 14:36:33 -04:00
Changbin Liu
8311e70e9d
Add a CONF option for chefserver image id
...
The chefserver image (snapshot) has pre-installed chef software
packages to speed up chef server deployment
Change-Id: I01bd30947ba6191869411b175e6cfb36b02b322f
2013-07-17 12:10:43 -04:00
Changbin Liu
3d62045d44
Use logging instead of print
...
- log module supports oslo.config
- orchestrator executable code is split into bin/
Change-Id: Ia1bc509c09c6bd4cc4734d950ee077ae2be30a5b
2013-07-17 10:52:37 -04:00
Changbin Liu
371b0fa47d
Fix switch kernel bug and multi-thread issue
...
Need to purge image and headers as well; add some sleep time for chef
attribute propagation
Change-Id: I619acea2fd745a1dd1dbd30fcdd1928cd37676d5
2013-06-20 18:01:25 -04:00
Changbin Liu
307400e5c1
Change slightly to ssh-keyfile and TODOs
...
ssh-keyfile string templat is moved to userdata.sh, and userdata.sh is
renamed to userdata.sh.template
Change-Id: I704192cafe210c90c829c83af6b219786996dad0
2013-06-11 15:30:37 -04:00
Changbin Liu
50adb56142
Add userdata done test
...
Via /etc/inception folder existence
Change-Id: Ia7a1cd3433f2801b71130b0b7c79821f2aa4aad9
2013-06-10 22:41:51 -04:00
Changbin Liu
ecd34a783b
Rename pre-installation scripts
...
Change-Id: I40c190c4b2e16605aee621a534a9b210ad5b6c28
2013-06-10 12:04:42 -04:00
Changbin Liu
46ca0f1efc
Shorten sleep time of failsafe and cloud-init-nonet
...
Change-Id: I48336e2fbc69314140ea08efe2bbcaeacfb842f0
2013-06-10 12:01:49 -04:00
Changbin Liu
181f2141d9
Fix /dev/sdb mount issue upon reboot
...
/etc/fstab modification is put in userdata.sh
Change-Id: Id3b330cd2a61eb105c548343459274a79eb5d586
2013-06-10 11:18:02 -04:00
Changbin Liu
f8c20af9eb
Add "|| true" to resolvconf remove
...
Prevent its potential error from stopping later script execution
Change-Id: I98d2e92e6628edfd6fb3e46c16e5b793a2d52f50
2013-06-05 17:53:20 -04:00
Changbin Liu
eefd613e66
Add pre-install scripts
...
These scripts transform vanilla Ubuntu 12.04 to deploy-ready snapshot
Change-Id: I8deb909682ced7505687313b7665467d1c8f7c51
2013-06-05 17:45:42 -04:00
Changbin Liu
0b5385ec3c
Add pre-install chef packages script
...
Packages are already installed on image snapshot u1204-130529-gvc
(38b0b5a5-7dda-4fd1-b53a-00ba47eacc16). This decreases the time to
setup chefserver
Change-Id: I48022ce1a66f6730681ee403feaab9d00915a45f
2013-05-30 11:56:26 -04:00
Yun Mao
327f22fcde
Automatically partition /dev/vdb
...
Change-Id: Idd76f96aa41504a012e8cb48439d7a5f908bbc2d
2013-05-24 16:02:23 -04:00
Changbin Liu
128a78ff4c
Update environment
...
From onerack to allinone
Change-Id: I8b11bf1592b33bab288e8b5c8fd3a63e478671ea
2013-05-21 13:15:56 -04:00
Changbin Liu
6ba04f249b
Rename git_chef_repo and git_chef_repo_branch
...
"git-" prefix is removed
Change-Id: Ib3f47b1eea8c8044b85fdfba08739d84f30d2e75
2013-05-21 11:54:56 -04:00
Yun Mao
52f22cf7a5
Add new options to customize chef repo
...
--git-chef-repo and --git-chef-repo-branch are added from
the command line to allow customized chef repo.
Change-Id: Ie27b844ea7e396120d06e48fa697f46951cadc61
2013-05-20 18:27:07 -04:00
Changbin Liu
80bc591057
Hostname and userdata
...
check in chefserver via hostname, update userdata.sh (remove
resolvconf for dnsmasq)
Change-Id: I270ec76ff092373e1f4d1074cb7af7278f196c58
2013-05-19 12:44:35 -04:00
Yun Mao
835c802a3a
Bootstrap chef client with IP-based url
2013-05-13 19:35:59 -04:00
Yun Mao
bad481aed9
Use IP address instead of hostname for chef server url
...
In multihost nova-network deployment, hostname doesn't always
work. Use IP instead.
2013-05-13 18:14:15 -04:00
Changbin Liu
86a7da16d3
* add txnal option: whether auto delete servers upon exception
...
* add userdata: for auto executing a script in late boot stage
* add _checkin_chefserver()
2013-05-12 00:55:31 -04:00
Changbin Liu
be9ed42bcc
Add Orchestrator class
...
* step 1: create servers and wait for them to be ready
* step 2: setup chefserver
* step 3-5: marked as TODO functions
Plus:
* 80-char limited bin/*.sh
* add utils and cmd for executing command (both local and ssh)
2013-05-10 00:16:17 -04:00
Yun Mao
7f1f2c0999
Add setup chef repo script
2013-05-07 22:01:19 -04:00
Yun Mao
4aaf63f072
Name the client chefroot
2013-05-07 21:48:10 -04:00
Yun Mao
e7b23b9438
Add script to configure knife
2013-05-07 21:46:02 -04:00
Yun Mao
9dbf777413
Use a tmp file instead of pipe to avoid human intervention
2013-05-07 21:38:36 -04:00
Yun Mao
9162048e80
Remove extra spaces
...
The extra spaces mess up the password
2013-05-07 21:22:21 -04:00
Yun Mao
b70d85377f
Add the script to install chef server 0.10
2013-05-07 17:52:52 -04:00