[Bug 1368403] [NEW] juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

Launchpad Bug Tracker 1368403 at bugs.launchpad.net
Thu Sep 11 20:22:01 UTC 2014


You have been subscribed to a public bug by Corey Bryant (corey.bryant):

I'm not sure that the deployment file matters but here's what I was
using:

$ cat deployment.yaml

# vim: set ts=2 et:
openstack-services:
  services:
    mysql:
      branch: lp:charms/mysql
      constraints: mem=1G
      options:
        dataset-size: 50%
    cinder:
      branch: lp:~openstack-charmers/charms/trusty/cinder/next
      constraints: mem=1G
      num_units: 3
      options:
        block-device: "None"
        glance-api-version: 2
  relations:
    - [ cinder, mysql ]
# trusty configurations
trusty-icehouse:
  inherits: openstack-services
  series: trusty

$ juju-deployer  -c deployment.yaml trusty-icehouse

Launching instance
 - cf41bacf-4b26-47aa-bc02-14c4b3d097e8
Waiting for address
Attempting to connect to 10.5.3.39:22
Warning: Permanently added '10.5.3.39' (ECDSA) to the list of known hosts.
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: git
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz 'h
ttp://10.98.191.34:80/swift/v1/juju-dist/tools/releases/juju-1.20.7-trusty-amd64.tgz'
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
2014-09-11 20:11:42 Starting deployment of trusty-icehouse
2014-09-11 20:11:52 Deploying services...
Traceback (most recent call last):
  File "/usr/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.4.0', '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
    importer.Importer(env, deployment, options).run()
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 194, in run
    self.deploy_services()
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 72, in deploy_services
    env_status = self.env.status()
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 197, in status
    return self.client.get_stat()
AttributeError: 'NoneType' object has no attribute 'get_stat'

** Affects: juju-deployer
     Importance: Undecided
         Status: New

-- 
juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'
https://bugs.launchpad.net/bugs/1368403
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.



More information about the Ubuntu-server-bugs mailing list