saucy images on hp cloud
Hello, I am trying to deploy a saucy machine (via the ubuntu charm) on hp cloud. lucky(~/src/launchpad.net/juju-core) % juju deploy -v --repository=$HOME/charms local:saucy/ubuntu verbose is deprecated with the current meaning, use show-log 2014-02-04 01:33:46 INFO juju api.go:231 connecting to API addresses: [ 15.185.109.120:17070] 2014-02-04 01:33:46 INFO juju apiclient.go:118 state/api: dialing "wss:// 15.185.109.120:17070/" 2014-02-04 01:33:47 INFO juju apiclient.go:128 state/api: connection established Added charm "local:saucy/ubuntu-1" to the environment. 2014-02-04 01:33:50 INFO juju.cmd supercommand.go:298 command finished lucky(~/src/launchpad.net/juju-core) % juju status environment: hp machines: "0": agent-state: started agent-version: 1.17.3.1 dns-name: 15.185.109.120 instance-id: "3500935" instance-state: ACTIVE series: precise hardware: arch=amd64 cpu-cores=1 mem=1024M root-disk=30720M "1": agent-state-info: '(error: no "saucy" images in az-1.region-a.geo-1 with arches [amd64])' instance-id: pending series: saucy services: ubuntu: charm: local:saucy/ubuntu-1 exposed: false units: ubuntu/0: agent-state: pending machine: "1" This has not been working for some time. Is this a known issue, or something I should be raising ? Cheers Dave -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: MySQL charm: hook failed: "config-changed"
I'm using the local provider On Mon, Feb 3, 2014 at 6:15 PM, Marco Ceppi wrote: > Which cloud were you running this against? > On Feb 3, 2014 5:23 PM, "Daniele Stroppa" > wrote: > >> Hi All, >> >> while running test for the Node.js charm I ran into an issue with the >> MySQL charm, see attached log. It looks like it's a permissions issue. >> >> I'm running on Ubuntu 12.04 with juju 1.16.4.1 and MySQL charm from >> cs:precise/mysql-32 >> >> Anyone has seen this before? >> >> Thanks, >> Daniele >> >> -- >> Juju mailing list >> j...@lists.ubuntu.com >> >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/juju >> >> -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: MySQL charm: hook failed: "config-changed"
Danielle, I'm observing this behavior on my local provider, but its not exhibiting the same behavior in my cloud environments. I'm still debugging the issue as the mysql daemon starts on the host when run manually but not via the upstart script. I'll ping back as this unfolds. All the best, Charles On Mon, Feb 3, 2014 at 11:23 AM, Daniele Stroppa wrote: > Hi All, > > while running test for the Node.js charm I ran into an issue with the > MySQL charm, see attached log. It looks like it's a permissions issue. > > I'm running on Ubuntu 12.04 with juju 1.16.4.1 and MySQL charm from > cs:precise/mysql-32 > > Anyone has seen this before? > > Thanks, > Daniele > > -- > Juju-dev mailing list > Juju-dev@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > > -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
MySQL charm: hook failed: "config-changed"
Hi All, while running test for the Node.js charm I ran into an issue with the MySQL charm, see attached log. It looks like it's a permissions issue. I'm running on Ubuntu 12.04 with juju 1.16.4.1 and MySQL charm from cs:precise/mysql-32 Anyone has seen this before? Thanks, Daniele unit-mysql-0.log Description: Binary data -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: Syntax errors when installing juju-deployer
Thanks Ben. I was mislead by the fact that Amulet is a Python 3 application and was using that for juju-deployer too. Installing juju-deployer with python 2.7 works fine. Cheers, Daniele On Mon, Feb 3, 2014 at 1:47 PM, Benjamin Saller < benjamin.sal...@canonical.com> wrote: > This appears to be an issue with the default version of Python. > juju-deployer is a Python 2 application and still uses Python 2 syntax in a > number of places as this traceback shows. Can you attempt the install using > a version of Python 2.7? > > -Ben > > > On Mon, Feb 3, 2014 at 3:43 PM, Daniele Stroppa < > daniele.stro...@joyent.com> wrote: > >> Hi All, >> >> I'm writing tests for the Node.js app charm using the Amulet framework. >> However, I'm running into some syntax errors when installing juju-deployer, >> see attached log. It happens both on Ubuntu 12.04 with Python 3.2 and on >> Mac OS X with Python 3.3. >> >> Has anyone come across the same issue? >> >> Cheers, >> Daniele >> >> -- >> Juju-dev mailing list >> Juju-dev@lists.ubuntu.com >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/juju-dev >> >> > -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: Syntax errors when installing juju-deployer
This appears to be an issue with the default version of Python. juju-deployer is a Python 2 application and still uses Python 2 syntax in a number of places as this traceback shows. Can you attempt the install using a version of Python 2.7? -Ben On Mon, Feb 3, 2014 at 3:43 PM, Daniele Stroppa wrote: > Hi All, > > I'm writing tests for the Node.js app charm using the Amulet framework. > However, I'm running into some syntax errors when installing juju-deployer, > see attached log. It happens both on Ubuntu 12.04 with Python 3.2 and on > Mac OS X with Python 3.3. > > Has anyone come across the same issue? > > Cheers, > Daniele > > -- > Juju-dev mailing list > Juju-dev@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > > -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Syntax errors when installing juju-deployer
Hi All, I'm writing tests for the Node.js app charm using the Amulet framework. However, I'm running into some syntax errors when installing juju-deployer, see attached log. It happens both on Ubuntu 12.04 with Python 3.2 and on Mac OS X with Python 3.3. Has anyone come across the same issue? Cheers, Daniele vagrant@vagrant-ubuntu-precise-64:/vagrant/charms/precise/node-app$ ./bin/pip-3.2 install juju-deployer Downloading/unpacking juju-deployer Downloading juju-deployer-0.3.1.tar.gz (70Kb): 70Kb downloaded Running setup.py egg_info for package juju-deployer Requirement already satisfied (use --upgrade to upgrade): jujuclient>=0.15 in ./lib/python3.2/site-packages/jujuclient-0.17.1-py3.2.egg (from juju-deployer) Requirement already satisfied (use --upgrade to upgrade): PyYAML==3.10 in ./lib/python3.2/site-packages (from juju-deployer) Requirement already satisfied (use --upgrade to upgrade): websocket-client in ./lib/python3.2/site-packages/websocket_client-0.12.0-py3.2.egg (from jujuclient>=0.15->juju-deployer) Installing collected packages: juju-deployer Running setup.py install for juju-deployer File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/action/diff.py", line 154 print yaml_dump(diff) ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/cli.py", line 131 print "Tool for declarative management of complex deployments." ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/config.py", line 45 except Exception, e: ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/env/base.py", line 123 except ErrorExit, e: ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/env/go.py", line 48 except socket.error, e: ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/operations.py", line 12 class ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/tests/test_config.py", line 24 [u'openstack-precise-ec2', ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/tests/test_pyenv.py", line 43 except UnitErrors, e: ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/tests/test_utils.py", line 103 self.addCleanup(os.chmod, self.playground, 0700) ^ SyntaxError: invalid token File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/utils.py", line 52 node = yaml.ScalarNode(tag=u'tag:yaml.org,2002:str', value=uni) ^ SyntaxError: invalid syntax File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/vcs.py", line 31 except subprocess.CalledProcessError, e: ^ SyntaxError: invalid syntax Installing juju-deployer script to /vagrant/charms/precise/node-app/bin Successfully installed juju-deployer Cleaning up... vagrant@vagrant-ubuntu-precise-64:/vagrant/charms/precise/node-app$ -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev