Failure to toubleshoot a juju charm deployment

Posted by Bruno Pereira on Ask Ubuntu See other posts from Ask Ubuntu or by Bruno Pereira
Published on 2011-11-22T19:17:56Z Indexed on 2011/11/25 18:04 UTC
Read the original article Hit count: 541

Filed under:
|

My environments.yaml looks like this:

environments:
  test:
    type: local
    control-bucket: juju-a14dfae3830142d9ac23c499395c2785999
    admin-secret: 6608267bbd6b447b8c90934167b2a294999
    default-series: oneiric
    juju-origin: distro
    data-dir: /home/bruno/projects/juju

juju bootstrap runs perfect:

2011-11-22 19:19:31,999 INFO Bootstrapping environment 'test' (type: local)...
2011-11-22 19:19:32,004 INFO Checking for required packages...
2011-11-22 19:19:33,584 INFO Starting networking...
2011-11-22 19:19:34,058 INFO Starting zookeeper...
2011-11-22 19:19:34,283 INFO Starting storage server...
2011-11-22 19:19:40,051 INFO Initializing zookeeper hierarchy
2011-11-22 19:19:40,247 INFO Starting machine agent (origin: distro)... 
[sudo] password for bruno: 
2011-11-22 19:23:16,054 INFO Environment bootstrapped
2011-11-22 19:23:16,079 INFO 'bootstrap' command finished successfully

Deploy from a known good charm is accepted (tried it with one that I am trying to create):

juju deploy --repository=/home/bruno/projects/charms_repo/ local:teamspeak
2011-11-22 19:28:49,929 INFO Charm deployed as service: 'teamspeak'
2011-11-22 19:28:49,962 INFO 'deploy' command finished successfully

After this I can see that juju debug-log shows activity and I can see the network indicator going on and off and activity on my hard-disk.

Wait...

Looking at juju status I get:

services:
  teamspeak:
    charm: local:oneiric/teamspeak-1
    relations: {}
    units:
      teamspeak/0:
        machine: 0
        public-address: 192.168.122.226
        relations: {}
        state: start_error

juju debug-log does not help and I have no files under /var/log/juju or /var/lib/juju.

Last juju debug-log only shows this:

2011-11-22 19:45:20,790 Machine:0: juju.agents.machine DEBUG: Units changed old:set(['wordpress/0']) new:set(['wordpress/0', 'teamspeak/0'])
2011-11-22 19:45:20,823 Machine:0: juju.agents.machine DEBUG: Starting service unit: teamspeak/0 ...
2011-11-22 19:45:21,137 Machine:0: juju.agents.machine DEBUG: Downloading charm local:oneiric/teamspeak-1 to /home/bruno/projects/juju/bruno-test/charms
2011-11-22 19:45:22,115 Machine:0: juju.agents.machine DEBUG: Starting service unit teamspeak/0
2011-11-22 19:45:22,133 Machine:0: unit.deploy INFO: Creating container teamspeak-0...
2011-11-22 19:47:04,586 Machine:0: unit.deploy INFO: Container created for teamspeak/0
2011-11-22 19:47:04,781 Machine:0: unit.deploy DEBUG: Charm extracted into container
2011-11-22 19:47:04,801 Machine:0: unit.deploy DEBUG: Starting container...
2011-11-22 19:47:07,086 Machine:0: unit.deploy INFO: Started container for teamspeak/0
2011-11-22 19:47:07,107 Machine:0: juju.agents.machine INFO: Started service unit teamspeak/0

How can I troubleshot what is happening here?

© Ask Ubuntu or respective owner

Related posts about juju

Related posts about charms

  • Disabling the charms bar

    as seen on Super User - Search for 'Super User'
    How do I disable the the charms bar? I am surprised there is no easy way to disable the feature. Here's what I've done so far: 1.) Disabled right edged swipe gesture in my touchpad settings. Part of the problem is solved as this was probably the most common way the charms bar would pop up. But there… >>> More

  • Get the Windows 8 Charms Bar in Windows 7, Vista, and XP Using a RocketDock Skin

    as seen on How to geek - Search for 'How to geek'
    Have you tried one of the Windows 8 Preview releases and found you like the Charms bar on the Metro Start Screen? If you’re not quite ready to give up Windows 7, there is a way to get the Charms bar from Windows 8. You can easily add the Charms bar to your desktop in Windows 7 using a RocketDock skin… >>> More

  • How do I deploy a charm from a local repository?

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I am trying to run the Charm tutorial from the juju documentation by creating a new charm from a local repository. I started by installing the charms from bzr to my local ubuntu 12.04 desktop running in a virtual machine. The new file structure is the following: ubuntu@ubuntu-VirtualBox:~$ find charms/precise/drupal/ charms/precise/drupal/ charms/precise/drupal/hooks charms/precise/drupal/hooks/db-relation-changed charms/precise/drupal/hooks/install charms/precise/drupal/hooks/start charms/precise/drupal/hooks/stop charms/precise/drupal/metadata… >>> More

  • How To Disable the Charms Bar and Switcher Hot Corners in Windows 8

    as seen on How to geek - Search for 'How to geek'
    Several programs can prevent the app switcher and charms from appearing when you move your mouse to the corners of the screen in Windows 8, but you can do it yourself with this quick registry hack. You can also hide the charms bar and switcher by installing an application like Classic Shell, which… >>> More

  • Charms and the App Bar

    as seen on Geeks with Blogs - Search for 'Geeks with Blogs'
    Ok. I admit. I made a mistake in the last post about our planespotter app. I have dedicated a full part of the hub to Social. I also had a section called Friends but that made sense since I said that “Friends” is a special group of people that connect to each other through our app and only our app… >>> More