Skip to content

Instantly share code, notes, and snippets.

Welcome to the OpenStack Deployment with Chef Workshop. These instructions are tailored to provide the minimal configuration for doing the walk-through. There is an expectation of Chef familiarity, but the steps are the same used in the presentation.

User shell commands will start with '$' or '#' for the 'root' user on the Virtualbox image.

1. Install Virtualbox. We are currently using 4.3.20. You may download it from https://Virtualbox.com

2. Install Vagrant. We are currently using 1.7.2. You may download it from https://www.vagrantup.com/downloads.html

3. Install the Chef Development Kit. We are currently using 0.1.0. You may download it from https://www.getchef.com/downloads/chef-dk/

- execute the ruby block Download Sledgehammer 6bce86d4f5c50f8be7493f2d9ec23075845ea4b9
* directory[/tftpboot/discovery] action create[2015-02-13T11:48:06-08:00] INFO: Processing directory[/tftpboot/discovery] action create (crowbar-bootstrap::sledgehammer line 54)
(up to date)
* link[/tftpboot/discovery/initrd0.img] action create[2015-02-13T11:48:06-08:00] INFO: Processing link[/tftpboot/discovery/initrd0.img] action create (crowbar-bootstrap::sledgehammer line 60)
(up to date)
* link[/tftpboot/discovery/vmlinuz0] action create[2015-02-13T11:48:06-08:00] INFO: Processing link[/tftpboot/discovery/vmlinuz0] action create (crowbar-bootstrap::sledgehammer line 60)
(up to date)
Recipe: crowbar-bootstrap::gemstuff
* directory[/var/cache/crowbar-bootstrap] action create[2015-02-13T11:48:06-08:00] INFO: Processing directory[/var/cache/crowbar-bootstrap] action create (crowbar-bootstrap::gemstuff line 24)
(up to date)
Recipe: crowbar-bootstrap::goiardi-build
* bash[Install sqitch for database management] action run[2015-02-14T05:03:34-08:00] INFO: Processing bash[Install sqitch for database management] action run (crowbar-bootstrap::goiardi-build line 22)
================================================================================
Error executing action `run` on resource 'bash[Install sqitch for database management]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Mar 3 20:38:10 localhost kernel: imklog 5.8.10, log source = /proc/kmsg started.
Mar 3 20:38:10 localhost rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1618" x-info="http://www.rsyslog.com"] start
Mar 3 20:38:10 localhost kernel: Initializing cgroup subsys cpuset
Mar 3 20:38:10 localhost kernel: Initializing cgroup subsys cpu
Mar 3 20:38:10 localhost kernel: Linux version 2.6.32-504.3.3.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ) #1 SMP Wed Dec 17 01:55:02 UTC 2014
Mar 3 20:38:10 localhost kernel: Command line: BOOT_IMAGE=/discovery/vmlinuz0 rootflags=loop initrd=initrd0.img root=live:/sledgehammer.iso rootfstype=auto ro liveimg rd_NO_LUKS rd_NO_MD rd_NO_DM provisioner.web=http://10.49.12.20:8091 crowbar.web=http://10.49.12.20:3000 crowbar.dns.domain=crowbar.atg.inca.infoblox.com crowbar.dns.servers=10.49.12.20 crowbar.state=discovery crowbar.install.key=machine-install:eceaa3e6d151f0fe30a30f773f31df21124650147ca9185aba4e5913fa
undefined method `node_roles' for nil:NilClass
Error Backtrace
/opt/opencrowbar/core/rails/app/views/deployments/show.html.haml:2:in `_app_views_deployments_show_html_haml___3974091651712998642_78624760'
/var/cache/crowbar/gems/ruby/2.1.0/gems/actionpack-4.0.13/lib/action_view/template.rb:143:in `block in render'
/var/cache/crowbar/gems/ruby/2.1.0/gems/activesupport-4.0.13/lib/active_support/notifications.rb:161:in `instrument'
/var/cache/crowbar/gems/ruby/2.1.0/gems/actionpack-4.0.13/lib/action_view/template.rb:141:in `render'
/var/cache/crowbar/gems/ruby/2.1.0/gems/actionpack-4.0.13/lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
/var/cache/crowbar/gems/ruby/2.1.0/gems/actionpack-4.0.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/var/cache/crowbar/gems/ruby/2.1.0/gems/activesupport-4.0.13/lib/active_support/notifications.rb:159:in `block in instrument'
November 27, 2015 - 09:49:00
Django version 1.6.10, using settings 'desktop.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[27/Nov/2015 09:49:21] "GET /lib/queue.v1.min.js HTTP/1.1" 404 8337
Traceback (most recent call last):
[27/Nov/2015 09:49:21] "GET /lib/d3.min.js HTTP/1.1" 404 8319
[27/Nov/2015 09:49:21] "GET /lib/topojson.v1.min.js HTTP/1.1" 404 8346
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handlers.py", line 86, in run
Traceback (most recent call last):
sc-l-seizadi:grafana seizadi$ npm install
npm WARN deprecated lodash@0.9.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
npm WARN prefer global jshint@2.8.0 should be installed with -g
npm WARN prefer global ycssmin@1.0.1 should be installed with -g
> fsevents@1.0.6 install /Users/seizadi/cdelivery/grafana/src/github.com/grafana/grafana/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
[fsevents] Success: "/Users/seizadi/cdelivery/grafana/src/github.com/grafana/grafana/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node" is installed via remote
Installing Halyard...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
spinnaker-halyard
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 131 MB of archives.
After this operation, 147 MB of additional disk space will be used.
Get:1 https://dl.bintray.com/spinnaker-releases/debians/ trusty-stable/spinnaker spinnaker-halyard all 0.28.0-9 [131 MB]
2017-08-18 17:52:13.394 INFO 14603 --- [0.1-8083-exec-6] c.n.s.orca.front50.Front50Service : [anonymous] <--- HTTP 200 http://localhost:8080/strategies/csp (106ms)
2017-08-18 17:52:13.394 INFO 14603 --- [0.1-8083-exec-6] c.n.s.orca.front50.Front50Service : [anonymous] Server: Apache-Coyote/1.1
2017-08-18 17:52:13.394 INFO 14603 --- [0.1-8083-exec-6] c.n.s.orca.front50.Front50Service : [anonymous] Access-Control-Allow-Origin: *
2017-08-18 17:52:13.394 INFO 14603 --- [0.1-8083-exec-6] c.n.s.orca.front50.Front50Service : [anonymous] Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE
2017-08-18 17:52:13.394 INFO 14603 --- [0.1-8083-exec-6] c.n.s.orca.front50.Front50Service : [anonymous] Access-Control-Max-Age: 3600
2017-08-18 17:52:13.394 INFO 14603 --- [0.1-8083-exec-6] c.n.s.orca.front50.Front50Service : [anonymous] Access-Control-Allow-Headers: x-requested-with, content-type
2017-08-18 17:52:13.394 INFO 14603 --- [0.1-8083-exec-6] c.n.s.orca.front50.Front5
time="2020-07-07T02:31:55Z" level=info msg="Started syncing rollout at (2020-07-07 02:31:55.276208866 +0000 UTC m=+47182.181702658)" namespace=test rollout=rollouts-demo
time="2020-07-07T02:31:55Z" level=info msg="Updating replica set 'rollouts-demo-55565479c' revision to 1" namespace=test rollout=rollouts-demo
time="2020-07-07T02:31:55Z" level=info msg="Enqueuing parent of test/rollouts-demo-55565479c: Rollout test/rollouts-demo"
time="2020-07-07T02:31:55Z" level=info msg="Event(v1.ObjectReference{Kind:\"Rollout\", Namespace:\"test\", Name:\"rollouts-demo\", UID:\"7726503e-0081-47dc-a350-79f58660c064\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"103271\", FieldPath:\"\"}): type: 'Normal' reason: 'ScalingReplicaSet' Scaled up replica set rollouts-demo-55565479c to 1"
time="2020-07-07T02:31:55Z" level=info msg="Cleaning up old replicasets, experiments, and analysis runs" namespace=test rollout=rollouts-demo
time="2020-07-07T02:31:55Z" level=info msg="Event(v1.ObjectReference{Kind:\"Rollout\", Names