This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@cf-juju:~/launchpad/trusty/bundle$ juju deployer -Wvdc bundle-v001-single-node.yaml | |
2014-04-10 10:31:11 [DEBUG] deployer.cli: Using runtime GoEnvironment on juju-amazon | |
2014-04-10 10:31:11 [INFO] deployer.cli: Using deployment cloudfoundry-base | |
2014-04-10 10:31:11 [INFO] deployer.cli: Starting deployment of cloudfoundry-base | |
2014-04-10 10:31:22 [DEBUG] deployer.env: Connected to environment | |
2014-04-10 10:31:22 [DEBUG] deployer.import: Getting charms... | |
2014-04-10 10:31:30 [DEBUG] deployer.deploy: Resolving configuration | |
Traceback (most recent call last): | |
File "/usr/bin/juju-deployer", line 9, in <module> | |
load_entry_point('juju-deployer==0.3.4', 'console_scripts', 'juju-deployer')() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import subprocess | |
charms = {'cf-nats': 'nats', | |
'cf-go-router': 'router', | |
'cf-cloud-controller': 'cc', | |
'cf-dea': 'dea', | |
'cf-uaa': 'uaa'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import yaml | |
import commands | |
import time | |
def run(command): | |
print "Executing: %s" % command | |
os.system(command) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# command to bootstrap juju | |
juju bootstrap --constraints "mem=4G arch=amd64" | |
# command to juju deployer | |
juju deployer -Wvdc bundle_v001_single_node.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lomov:~/bosh-workspace/cf-release [release-candidate] → bosh upload release releases/cf-153.yml | |
Copying packages | |
---------------- | |
cloud_controller_ng (34) FOUND LOCAL | |
common (6) FOUND LOCAL | |
libyaml (2) FOUND LOCAL | |
nats (10) FOUND LOCAL | |
gnatsd (1) FOUND LOCAL | |
dea_next (36) FOUND LOCAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
→ juju deployer -Wvdc bundle_v003_local.yaml | |
2014-04-24 17:16:29 [DEBUG] deployer.cli: Using runtime GoEnvironment on local | |
2014-04-24 17:16:29 [INFO] deployer.cli: Using deployment cloudfoundry-base | |
2014-04-24 17:16:29 [INFO] deployer.cli: Starting deployment of cloudfoundry-base | |
Traceback (most recent call last): | |
File "/usr/bin/juju-deployer", line 9, in <module> | |
load_entry_point('juju-deployer==0.3.6', 'console_scripts', 'juju-deployer')() | |
File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 127, in main | |
run() | |
File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 225, in run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pip uninstall websocket-client && sudo pip install websocket-client==0.12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uploading stemcell |oo | 1/11 00:09:12 ETA: --:--:--log writing failed. can't be called from trap context | |
create stemcell failed: write timeout reached: | |
/home/lomov/.rvm/gems/ruby-2.0.0-p353@microbosh/gems/excon-0.25.3/lib/excon/socket.rb:101:in `rescue in write' | |
/home/lomov/.rvm/gems/ruby-2.0.0-p353@microbosh/gems/excon-0.25.3/lib/excon/socket.rb:92:in `write' | |
/home/lomov/.rvm/gems/ruby-2.0.0-p353@microbosh/gems/excon-0.25.3/lib/excon/ssl_socket.rb:88:in `write' | |
/home/lomov/.rvm/gems/ruby-2.0.0-p353@microbosh/gems/excon-0.25.3/lib/excon/connection.rb:178:in `request_call' | |
/home/lomov/.rvm/gems/ruby-2.0.0-p353@microbosh/gems/excon-0.25.3/lib/excon/middlewares/mock.rb:42:in `request_call' | |
/home/lomov/.rvm/gems/ruby-2.0.0-p353@microbosh/gems/excon-0.25.3/lib/excon/middlewares/instrumentor.rb:22:in `request_call' | |
/home/lomov/.rvm/gems/ruby-2.0.0-p353@microbosh/gems/excon-0.25.3/lib/excon/middlewares/base.rb:15:in `request_call' | |
/home/lomov/.rvm/gems/ruby-2.0.0-p353@microbos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
→ sudo apt-cache show python-jujuclient | |
Package: python-jujuclient | |
Priority: optional | |
Section: universe/python | |
Installed-Size: 73 | |
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | |
Original-Maintainer: Andreas Hasenack <andreas@canonical.com> | |
Architecture: all | |
Version: 0.17.5-0ubuntu2 | |
Provides: python2.7-jujuclient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
→ juju ssh service-name/0 | |
ssh: Could not resolve hostname ip-172-31-21-242.us-west-2.compute.internal: Name or service not known | |
ERROR subprocess encountered error code 255 |