cookbook 'eucalyptus', '~> 0.2.3', :supermarket
eucalyptus (10) Versions 0.2.3 Follow2
Installs/Configures eucalyptus
cookbook 'eucalyptus', '~> 0.2.3'
knife supermarket install eucalyptus
knife supermarket download eucalyptus
eucalyptus Cookbook
This cookbook installs and configures Eucalyptus on CentOS 6 physical and virtual machines. Source and package installations are supported.
Requirements
Environment
To deploy a distributed topology it is necessary to define an environment with at least these attributes defined: - node['eucalyptus']['topology'] - node['eucalyptus']['network']['config-json']
"default_attributes": {
"eucalyptus": {
"topology": {
"clc-1": "10.111.5.163",
"walrus": "10.111.5.163",
"user-facing": ["10.111.5.163"],
"clusters": {
"default": {
"cc-1": "10.111.5.164",
"sc-1": "10.111.5.164",
"storage-backend": "das",
"das-device": "vg01",
"nodes": "10.111.5.162 10.111.5.166 10.111.5.165 10.111.5.157"
}
}
},
"network": {
"mode": "EDGE",
"config-json": {
"InstanceDnsDomain" : "eucalyptus.internal",
"InstanceDnsServers": ["10.111.5.163"],
"PublicIps": ["10.111.55.1-10.111.55.220"],
"Subnets": [],
"Clusters": [
{
"Name": "default",
"MacPrefix": "d0:0d",
"Subnet": {
"Name": "172.16.55.0",
"Subnet": "172.16.55.0",
"Netmask": "255.255.255.0",
"Gateway": "172.16.55.1"
},
"PrivateIps": [ "172.16.55.20-172.16.55.140"]
}]
}
}
}
}
Platforms
This cookbook only supports RHEL/CentOS 6 at the time being.
Bershelf
A Berksfile is included to allow users to easily download the required cookbook dependencies.
- Install Berkshelf: gem install berkshelf
- Install Deps from inside this cookbook: berks install
Cookbooks
-
ntp
- sets up NTP for all Eucalyptus servers -
yum
- used for managing repositories -
selinux
- disables selinux on Eucalyptus servers
Chef server config
Ensure that the following config is set in /etc/chef-server/chef-server.rb
:
erchef['s3_url_ttl'] = 3600
Attributes
Attribute list can be found in attributes/default.rb
Some common attributes are:
eucalyptus installation config
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>["eucalyptus"]["install-type"]</tt></td>
<td>String</td>
<td>Choose to install from package
or source
</td>
<td><tt>package</tt></td>
</tr>
<tr>
<td><tt>["eucalyptus"]["source-repo"]</tt></td>
<td>String</td>
<td>Git repository to clone when building from source</td>
<td><tt>https://github.com/eucalyptus/eucalyptus.git</tt></td>
</tr>
<tr>
<td><tt>["eucalyptus"]["source-branch"]</tt></td>
<td>String</td>
<td>Branch to use when building from source</td>
<td><tt>testing</tt></td>
</tr>
</table>
eucalyptus network config
<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>["eucalyptus"]["network"]["mode"]</tt></td> <td>String</td> <td>Networking mode to use</td> <td><tt>MANAGED-NOVLAN</tt></td> </tr> <tr> <td><tt>["eucalyptus"]["network"]["private-interface"]</tt></td> <td>String</td> <td>Private interface of component</td> <td><tt>eth0</tt></td> </tr> <tr> <td><tt>["eucalyptus"]["network"]["public-interface"]</tt></td> <td>String</td> <td>Public interface of component</td> <td><tt>eth0</tt></td> </tr> <tr> <td><tt>["eucalyptus"]["network"]["bridge-interface"]</tt></td> <td>String</td> <td>Bridge interface of component. Will be created and set by playbook</td> <td><tt>br0</tt></td> </tr> </table>
Usage
For cloud-in-a-box installs look at... Eucadev
For distributed topologies... Deployment with motherbrain
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors:
Vic Iglesias vic.iglesias@eucalyptus.com
Dependent cookbooks
yum >= 0.0.0 |
ntp >= 0.0.0 |
selinux >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.3 failed this metric
FC009: Resource attribute not recognised: eucalyptus/recipes/default.rb:96
FC009: Resource attribute not recognised: eucalyptus/recipes/nuke.rb:109
FC022: Resource condition within loop may not behave as expected: eucalyptus/recipes/register-components.rb:45
FC022: Resource condition within loop may not behave as expected: eucalyptus/recipes/register-components.rb:55
FC064: Ensure issues_url is set in metadata: eucalyptus/metadata.rb:1
FC065: Ensure source_url is set in metadata: eucalyptus/metadata.rb:1
FC066: Ensure chef_version is set in metadata: eucalyptus/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: eucalyptus/metadata.rb:1
FC069: Ensure standardized license defined in metadata: eucalyptus/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:31
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:47
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:59
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:101
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/cloud-controller.rb:35
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/cloud-service.rb:49
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/node-controller.rb:100
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/register-components.rb:66
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/storage-controller.rb:24
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/user-facing.rb:30
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/walrus.rb:35
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.3 passed this metric
Publish Metric
0.2.3 passed this metric
Supported Platforms Metric
0.2.3 failed this metric
eucalyptus should declare what platform(s) it supports.
Testing File Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.3 failed this metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.3 failed this metric
FC009: Resource attribute not recognised: eucalyptus/recipes/default.rb:96
FC009: Resource attribute not recognised: eucalyptus/recipes/nuke.rb:109
FC022: Resource condition within loop may not behave as expected: eucalyptus/recipes/register-components.rb:45
FC022: Resource condition within loop may not behave as expected: eucalyptus/recipes/register-components.rb:55
FC064: Ensure issues_url is set in metadata: eucalyptus/metadata.rb:1
FC065: Ensure source_url is set in metadata: eucalyptus/metadata.rb:1
FC066: Ensure chef_version is set in metadata: eucalyptus/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: eucalyptus/metadata.rb:1
FC069: Ensure standardized license defined in metadata: eucalyptus/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:31
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:47
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:59
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:101
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/cloud-controller.rb:35
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/cloud-service.rb:49
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/node-controller.rb:100
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/register-components.rb:66
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/storage-controller.rb:24
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/user-facing.rb:30
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/walrus.rb:35
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.3 passed this metric
Publish Metric
0.2.3 passed this metric
Supported Platforms Metric
0.2.3 failed this metric
eucalyptus should declare what platform(s) it supports.
Testing File Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.3 failed this metric
FC009: Resource attribute not recognised: eucalyptus/recipes/nuke.rb:109
FC022: Resource condition within loop may not behave as expected: eucalyptus/recipes/register-components.rb:45
FC022: Resource condition within loop may not behave as expected: eucalyptus/recipes/register-components.rb:55
FC064: Ensure issues_url is set in metadata: eucalyptus/metadata.rb:1
FC065: Ensure source_url is set in metadata: eucalyptus/metadata.rb:1
FC066: Ensure chef_version is set in metadata: eucalyptus/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: eucalyptus/metadata.rb:1
FC069: Ensure standardized license defined in metadata: eucalyptus/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:31
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:47
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:59
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/libraries/key-sync.rb:101
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/cloud-controller.rb:35
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/cloud-service.rb:49
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/node-controller.rb:100
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/register-components.rb:66
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/storage-controller.rb:24
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/user-facing.rb:30
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: eucalyptus/recipes/walrus.rb:35
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.3 passed this metric
Publish Metric
0.2.3 passed this metric
Supported Platforms Metric
0.2.3 failed this metric
eucalyptus should declare what platform(s) it supports.
Testing File Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.3 passed this metric
0.2.3 failed this metric
eucalyptus should declare what platform(s) it supports.
Testing File Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.3 failed this metric
0.2.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number