Re: Juju service commands or communitation protocol

2015-11-05 Thread Samuel Cozannet
Hi André,

Not sure about your use case, but we've used this integration (python
native I am afraid) to do some Juju autoscaling with a metrology tool
(Zabbix). Have a look if you're doing something similar :)

Repo (a bit outdated now): https://github.com/SaMnCo/ob-zabbix/
video: https://www.youtube.com/watch?v=IF7bUgDCYMM

++
Sam




--
Samuel Cozannet
Cloud, Big Data and IoT Strategy Team
Business Development - Cloud and ISV Ecosystem
Changing the Future of Cloud
Ubuntu   / Canonical UK LTD  / Juju

samuel.cozan...@canonical.com
mob: +33 616 702 389
skype: samnco
Twitter: @SaMnCo_23
[image: View Samuel Cozannet's profile on LinkedIn]


On Thu, Nov 5, 2015 at 12:19 AM, André Moreira  wrote:

> Thank you, Adam. This is exactly what I was looking for.
> André
>
> 2015-11-04 14:21 GMT-02:00 Adam Stokes :
>
>> You'll have to check out some of the bindings code:
>>
>>
>> http://bazaar.launchpad.net/~juju-deployers/python-jujuclient/trunk/view/head:/jujuclient.py
>>
>> That should give you a good indication of what the juju api server
>> requires. For example the credentials need to be in a form of
>>
>>
>> {'Type': 'Admin',
>>   'Request': 'Login',
>>   'RequestId': 1,
>>   'Params': {'AuthTag': 'user-admin',
>>  'Password': None}}
>>
>> The above library is a single file which is pretty easy to grok and has
>> good documentation on what the functions do.
>>
>> On Wed, Nov 4, 2015 at 11:04 AM, André Moreira 
>> wrote:
>>
>>> Hi Adam,
>>> What I mean is how do I construct the json requests and how should I
>>> expect the json response to be provided. Do you know where do I find this
>>> kind of documentation? I mean, is there a doc for it without needing to
>>> read the source code?
>>> André
>>>
>>> 2015-11-04 11:34 GMT-02:00 Adam Stokes :
>>>
 If you're going to use Go or creating bindings of your own the api
 documentation is https://godoc.org/github.com/juju/juju/api.

 On Wed, Nov 4, 2015 at 8:30 AM, André Moreira 
 wrote:

> Thank you, Mark, for the reply.
> Nice to know there is this library and there will be an official one!
> But, if I want to use the REST api without the python library, where
> can I find documentation for it?
> Thanks in advance,
> André
>
> 2015-11-04 6:32 GMT-02:00 Mark Shuttleworth :
>
>> On 04/11/15 09:02, Merlijn Sebrechts wrote:
>> > I'm very interested to hear more about that python library! Is this
>> > something that will be discussed at the summit?
>>
>> It could be. There have been a couple of informal variations on this
>> theme from various sources, we recently decided it was worth making an
>> official one. Someone closer to that work would be able to provide
>> more
>> insight, including whether it will be based on one like
>> http://python-jujuclient.readthedocs.org/ or whether it's a fresh
>> start.
>>
>> Mark
>>
>
>
>
> --
>
> Le doux charme de maint songe
> Par leur bel art inventé
> Sous les habits du mensonge
> Nous offre la vérité.
> -La Fontaine
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>

>>>
>>>
>>> --
>>>
>>> Le doux charme de maint songe
>>> Par leur bel art inventé
>>> Sous les habits du mensonge
>>> Nous offre la vérité.
>>> -La Fontaine
>>>
>>
>>
>
>
> --
>
> Le doux charme de maint songe
> Par leur bel art inventé
> Sous les habits du mensonge
> Nous offre la vérité.
> -La Fontaine
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


RE: [Bootstrap] vSphere provider

2015-11-05 Thread Cseh Dávid
Hello Marco

 

I couldn’t, because there is no default password, or ssh key to the VM, but I 
mounted the drive to another VM :) So the log is attached to the e-mail.

 

I suspect, that cloud-init doesn’t get the ssh key from juju vsphere provider, 
or ESX got it but doesn’t forward to the VM.

Where should be the settings that cloud-init uses? How it should work?

 

Thanks for your help.

David

 

From: Marco Ceppi [mailto:ma...@ondina.co] 
Sent: Thursday, November 5, 2015 12:03 AM
To: Cseh Dávid ; juju@lists.ubuntu.com
Subject: Re: [Bootstrap] vSphere provider

 

Sorry to hear you're having troubles. It sounds like cloud-init didn't finish. 
Are you able to get a console onto the VM? If so could you get the contents of 
/var/log/cloud-init*?

 

On Thu, Nov 5, 2015, 6:36 AM Cseh Dávid  > wrote:

Hi

 

I tried to bootstrap juju on a vCenter 5.5 environment, but it failed when juju 
tries to connect to the newly created VM throught ssh. (public key error)

The VM is reachable, but there is no key to connect with.

 

What could be the problem?

 

Thanks

David

--
Juju mailing list
Juju@lists.ubuntu.com  
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju



cloud-init.log
Description: Binary data


cloud-init-output.log
Description: Binary data
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-05 Thread Adam Stokes
On Thu, Nov 5, 2015 at 8:24 AM, Mark Shuttleworth  wrote:

> On 05/11/15 00:19, André Moreira wrote:
> > Thank you, Adam. This is exactly what I was looking for.
> > André
>
> If you end up making bindings for another language like Ruby or Node
> then we'll be glad to publicise that to the community too!
>
> Mark
>

I dare say it, how about Perl? :)) https://metacpan.org/release/Juju
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


openstack ephemeral storage and ceph

2015-11-05 Thread ed bond
Does anyone know how to configure the juju openstack charms to have ephemeral 
storage use ceph instead of the local disk so that I can do live migrations?

- Ed


My sample bundle that I used:

machines:
  '0':
constraints: "arch=amd64 cpu-cores=4 root-disk=2072"
series: trusty
  '1':
series: trusty
  '2':
series: trusty
  '3':
series: trusty
  '4':
series: trusty
  '5':
series: trusty
relations:
- - nova-compute:amqp
  - rabbitmq-server:amqp
- - neutron-gateway:amqp
  - rabbitmq-server:amqp
- - keystone:shared-db
  - mysql:shared-db
- - nova-cloud-controller:identity-service
  - keystone:identity-service
- - glance:identity-service
  - keystone:identity-service
- - neutron-api:identity-service
  - keystone:identity-service
- - neutron-openvswitch:neutron-plugin-api
  - neutron-api:neutron-plugin-api
- - neutron-api:shared-db
  - mysql:shared-db
- - neutron-api:amqp
  - rabbitmq-server:amqp
- - neutron-gateway:neutron-plugin-api
  - neutron-api:neutron-plugin-api
- - glance:shared-db
  - mysql:shared-db
- - glance:amqp
  - rabbitmq-server:amqp
- - nova-cloud-controller:image-service
  - glance:image-service
- - nova-compute:image-service
  - glance:image-service
- - nova-cloud-controller:cloud-compute
  - nova-compute:cloud-compute
- - nova-cloud-controller:amqp
  - rabbitmq-server:amqp
- - nova-cloud-controller:quantum-network-service
  - neutron-gateway:quantum-network-service
- - nova-compute:neutron-plugin
  - neutron-openvswitch:neutron-plugin
- - neutron-openvswitch:amqp
  - rabbitmq-server:amqp
- - openstack-dashboard:identity-service
  - keystone:identity-service
- - nova-cloud-controller:shared-db
  - mysql:shared-db
- - nova-cloud-controller:neutron-api
  - neutron-api:neutron-api
- - cinder:image-service
  - glance:image-service
- - cinder:amqp
  - rabbitmq-server:amqp
- - cinder:identity-service
  - keystone:identity-service
- - cinder:cinder-volume-service
  - nova-cloud-controller:cinder-volume-service
- - cinder-ceph:storage-backend
  - cinder:storage-backend
- - ceph:client
  - nova-compute:ceph
- - cinder:shared-db
  - mysql:shared-db
- - ceph:client
  - cinder-ceph:ceph
- - ceph:client
  - glance:ceph
- - ceph-osd:mon
  - ceph:osd
- - ntp:juju-info
  - nova-compute:juju-info
- - ntp:juju-info
  - neutron-gateway:juju-info
- - ceph-radosgw:mon
  - ceph:radosgw
- - ceph-radosgw:identity-service
  - keystone:identity-service
series: trusty
services:
  ceph:
annotations:
  gui-x: '750'
  gui-y: '500'
charm: cs:trusty/ceph-38
num_units: 3
options:
  fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
  monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
  osd-devices:  /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg 
/dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo 
/dev/sdp /dev/sdq /dev/sdr
  osd-reformat: 'yes'
  source: cloud:trusty-kilo
to:
  - '0'
  - '1'
  - '2'
  ceph-osd:
annotations:
  gui-x: '1000'
  gui-y: '500'
charm: cs:trusty/ceph-osd-12
num_units: 3
options:
  osd-devices:  /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg 
/dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo 
/dev/sdp /dev/sdq /dev/sdr
  osd-reformat: 'yes'
  source: cloud:trusty-kilo
to:
  - '3'
  - '4'
  - '5'
  ceph-radosgw:
num_units: 1
annotations:
  gui-x: '1000'
  gui-y: '250'
charm: cs:trusty/ceph-radosgw-15
options:
  source: cloud:trusty-kilo
  use-embedded-webserver: true
to:
  - lxc:0
  cinder:
num_units: 2
annotations:
  gui-x: '750'
  gui-y: '0'
charm: cs:trusty/cinder-26
options:
  block-device: None
  glance-api-version: 2
  ha-mcastport: 5401
  openstack-origin: cloud:trusty-kilo
to:
  - lxc:0
  - lxc:1
  cinder-ceph:
annotations:
  gui-x: '750'
  gui-y: '250'
charm: cs:trusty/cinder-ceph-9
options:
  ceph-osd-replication-count: 2
num_units: 0
  glance:
annotations:
  gui-x: '250'
  gui-y: '0'
charm: cs:trusty/glance-24
num_units: 2
options:
  ha-mcastport: 5402
  openstack-origin: cloud:trusty-kilo
to:
  - lxc:1
  - lxc:2
  keystone:
annotations:
  gui-x: '500'
  gui-y: '0'
charm: cs:trusty/keystone-28
options:
  admin-password: openstack
  ha-mcastport: 5403
  openstack-origin: cloud:trusty-kilo
num_units: 2
to:
  - lxc:2
  - lxc:3
  mysql:
annotations:
  gui-x: '0'
  gui-y: '250'
charm: cs:trusty/percona-cluster-26
options:
  max-connections: 2
num_units: 2
to:
  - lxc:3
  - lxc:4
  neutron-api:
annotations:
  gui-x: '500'
  gui-y: '500'
charm: cs:trusty/neutron-api-17
options:
  neutron-security-groups: true
  openstack-origin: cloud:trusty-kilo
num_units: 2
to:
  - lxc:4
  - lxc:5
  neutron-gateway:

Re: openstack ephemeral storage and ceph

2015-11-05 Thread ed bond
James,

Thanks for the insight. I will wait for the ceph backed ephemeral until I get 
the mellanox up and running.

I just tried a live migration:


maasadmin@restonMaas:~$ nova live-migration 
b71f57c3-f083-4f11-b1d0-eaf8ebf70f35 sniveling-father
ERROR (BadRequest): petty-fact is not on shared storage: Live migration can not 
be used without shared storage. (HTTP 400) (Request-ID: 
req-c4f42d5c-f457-4365-bf12-d25637904b4d)

That’s why I thought I had to do the ceph backed ephemeral. Is there something 
I have to do to enable the live migration for kilo?

- Ed

> On Nov 5, 2015, at 8:31 AM, James Page  wrote:
> 
> Hi Ed
> 
> You can switch to the Ceph RBD image backend by setting:
> 
>  libvirt-image-backend=rbd
> 
> on the nova-compute charm; note that this applies to all instance root and 
> ephemeral disks, and unless you're using low latency >10G networking or have 
> extremely light disk IO requirements, its not going to be a fantastic 
> experience from a performance perspective.
> 
> Live migration is possible without the Ceph backend; there is a restriction 
> in Kilo if you also have Ceph disks attached to an instance via Cinder which 
> means Nova won't try to perform the migration, but I think that's fixed in 
> Liberty.
> 
> Nice to see the deploy from source option being used for the 
> openstack-dashboard!
> 
> On Thu, Nov 5, 2015 at 2:22 PM, ed bond  > wrote:
> Does anyone know how to configure the juju openstack charms to have ephemeral 
> storage use ceph instead of the local disk so that I can do live migrations?
> 
> - Ed
> 
> 
> My sample bundle that I used:
> 
> machines:
>   '0':
> constraints: "arch=amd64 cpu-cores=4 root-disk=2072"
> series: trusty
>   '1':
> series: trusty
>   '2':
> series: trusty
>   '3':
> series: trusty
>   '4':
> series: trusty
>   '5':
> series: trusty
> relations:
> - - nova-compute:amqp
>   - rabbitmq-server:amqp
> - - neutron-gateway:amqp
>   - rabbitmq-server:amqp
> - - keystone:shared-db
>   - mysql:shared-db
> - - nova-cloud-controller:identity-service
>   - keystone:identity-service
> - - glance:identity-service
>   - keystone:identity-service
> - - neutron-api:identity-service
>   - keystone:identity-service
> - - neutron-openvswitch:neutron-plugin-api
>   - neutron-api:neutron-plugin-api
> - - neutron-api:shared-db
>   - mysql:shared-db
> - - neutron-api:amqp
>   - rabbitmq-server:amqp
> - - neutron-gateway:neutron-plugin-api
>   - neutron-api:neutron-plugin-api
> - - glance:shared-db
>   - mysql:shared-db
> - - glance:amqp
>   - rabbitmq-server:amqp
> - - nova-cloud-controller:image-service
>   - glance:image-service
> - - nova-compute:image-service
>   - glance:image-service
> - - nova-cloud-controller:cloud-compute
>   - nova-compute:cloud-compute
> - - nova-cloud-controller:amqp
>   - rabbitmq-server:amqp
> - - nova-cloud-controller:quantum-network-service
>   - neutron-gateway:quantum-network-service
> - - nova-compute:neutron-plugin
>   - neutron-openvswitch:neutron-plugin
> - - neutron-openvswitch:amqp
>   - rabbitmq-server:amqp
> - - openstack-dashboard:identity-service
>   - keystone:identity-service
> - - nova-cloud-controller:shared-db
>   - mysql:shared-db
> - - nova-cloud-controller:neutron-api
>   - neutron-api:neutron-api
> - - cinder:image-service
>   - glance:image-service
> - - cinder:amqp
>   - rabbitmq-server:amqp
> - - cinder:identity-service
>   - keystone:identity-service
> - - cinder:cinder-volume-service
>   - nova-cloud-controller:cinder-volume-service
> - - cinder-ceph:storage-backend
>   - cinder:storage-backend
> - - ceph:client
>   - nova-compute:ceph
> - - cinder:shared-db
>   - mysql:shared-db
> - - ceph:client
>   - cinder-ceph:ceph
> - - ceph:client
>   - glance:ceph
> - - ceph-osd:mon
>   - ceph:osd
> - - ntp:juju-info
>   - nova-compute:juju-info
> - - ntp:juju-info
>   - neutron-gateway:juju-info
> - - ceph-radosgw:mon
>   - ceph:radosgw
> - - ceph-radosgw:identity-service
>   - keystone:identity-service
> series: trusty
> services:
>   ceph:
> annotations:
>   gui-x: '750'
>   gui-y: '500'
> charm: cs:trusty/ceph-38
> num_units: 3
> options:
>   fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
>   monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
>   osd-devices:  /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg 
> /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo 
> /dev/sdp /dev/sdq /dev/sdr
>   osd-reformat: 'yes'
>   source: cloud:trusty-kilo
> to:
>   - '0'
>   - '1'
>   - '2'
>   ceph-osd:
> annotations:
>   gui-x: '1000'
>   gui-y: '500'
> charm: cs:trusty/ceph-osd-12
> num_units: 3
> options:
>   osd-devices:  /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg 
> /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo 
> /dev/sdp /dev/sdq /dev/sdr
>   

Re: Juju service commands or communitation protocol

2015-11-05 Thread Mark Shuttleworth
On 05/11/15 15:19, Adam Stokes wrote:
> On Thu, Nov 5, 2015 at 8:24 AM, Mark Shuttleworth  wrote:
>
>> On 05/11/15 00:19, André Moreira wrote:
>>> Thank you, Adam. This is exactly what I was looking for.
>>> André
>> If you end up making bindings for another language like Ruby or Node
>> then we'll be glad to publicise that to the community too!
>>
>> Mark
>>
> I dare say it, how about Perl? :)) https://metacpan.org/release/Juju

Something for everybody ;)

Mark

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: juju bootstrap fails with vSphere 6.0

2015-11-05 Thread Forstner Michael
Hi Ed,

Thanks for the hints, but to be honest I do not really get what you’re talking 
about :-)
My vSphere 6 Environment is not hosted by myself (or my company). We’re renting 
a complete package consisting of one vSphere datacenter (2 Hosts and 2 
Storages). I am controlling the vSphere datacenter from my MacBook via VMWare 
Horizon and via the vSphere Client running inside a local Windows VM.

As already mentioned, the API access to the vSphere API seems to work as 
VMWare’s go client is able to fetch information from the environment.
Since I am getting some XML parsing error from the ‘juju bootstrap’ command I 
was wondering how can I enable further debugging options in order to trace down 
the problem.

Thanks and regards,
Michael

From: ed bond >
Date: Mittwoch, 4. November 2015 um 17:42
To: Katherine Cox-Buday 
>
Cc: Forstner Michael >, 
Matykevich Sergey 
>, 
"juju@lists.ubuntu.com" 
>
Subject: Re: juju bootstrap fails with vSphere 6.0

Hey Michael,

I had to install a couple libraries on my MaaS, if you watch the logs it will 
tell you. However I use VIRSH to control my vsphere 6.
( sudo apt-get install python-libvirt )

user: Administrator@asdf.vsphere.local
esxi host: 33.33.33.3
vsphere: 44.44.44.44

Power address:
vpx://Administrator%40asdf.vsphere.local@44.44.44.44/Architecture-Lab/33.33.33.3?no_verify=1
power ID:
name-of-vm
power pass:
thePassForTheUserAbove


I know this isn’t the vsphere adapter information, but this is how I connected.

You can test from the MaaS cli via:
virsh -c 
vpx://Administrator%40asdf.vsphere.local@44.44.44.44/Architecture-Lab/33.33.33.3?no_verify=1
 list --all


Hope this helps.

- Ed

On Nov 4, 2015, at 10:21 AM, Katherine Cox-Buday 
> 
wrote:

Hey Michael, apologies for the issues!

I'm going to loop in Sergey who helped work on the vSphere provider.

On Wed, Nov 4, 2015 at 8:59 AM, Forstner Michael 
> wrote:
Hi all,

I am trying to get startet with juju and VMWare vSphere 6.0 for a private Cloud 
scenario.
The ‘juju bootstrap’ command fails with following output:

Bootstrap failed, cleaning up the environment.
ERROR there was an issue examining the environment: failed to create new 
client: XML syntax error on line 1: illegal character code U+001F

Just to ensure the vSphere API is accessible and my credentials are working, 
I’ve downloaded VMWare’s go client from https://github.com/vmware/govmomi.
Running this client with same settings as in ~/.juju/environment.yml for host, 
user and password runs fine.

So my question would be if the (experimental?) support of vSphere in juju works 
with vSphere v6.0 and how can further debugging options be enabled?

Many thanks in advance,
Michael

--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


[Review Queue] MariaDB, Midonet, MongoDB, MediaWiki, Ubuntu-repository-cache, Kibana

2015-11-05 Thread Charles Butler
MariaDB - MariaDB has updated their product delivery mechanism to fetching
a bin from behind a tokenized paywall. These changes are +1'd - but have
not been officially proposed for the charm store

http://bazaar.launchpad.net/~dbart/charms/trusty/mariadb/trunk

Midonet - Still running into firewall access issues on this bundle, as
datastax and repo.midonet.com are both inaccessible from within server
stack, pending a resolution before I'm able to properly identify that the
bundle indeed works.

MongoDB - Mattyw proposed a backup/restore action for MongoDB. This is a
welcome change and example of actions in a charm reducing the need to ssh
into a remote unit to perform admin tasks. Simply run the action to
mongodump, scp the files over and run the action for mongorestore

https://code.launchpad.net/~mattyw/charms/trusty/mongodb/mongodb-backup/+merge/273544

After a bit of back and forth with osci, this is +1'd and merged

Mediawiki -  Tim updated memcache, kevin updated the validation routines to
flex the workload in question and properly follow the URI routes.

+1'd and merged

https://code.launchpad.net/~tvansteenburgh/charms/trusty/mediawiki/fix-tests/+merge/271875


UbuntuRepositoryCache - Slight readme update - +1'd and merged

https://code.launchpad.net/~daniel-thewatkins/charms/trusty/ubuntu-repository-cache/readme_tweak/+merge/275011

Kibana  - Chric McNaughton updated the Kibana version from 3.x to 4.x. Test
coverage verifies the
upgrade. +1'd and merged

https://code.launchpad.net/~chris.macnaughton/charms/trusty/kibana/version_bump/+merge/274029



Charles Butler  - Juju Charmer
Come see the future of datacenter orchestration: http://jujucharms.com
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju devel 1.26-alpha1 is available for testing

2015-11-05 Thread Mark Shuttleworth

Oh, this native bundle stuff is wizardry :)

Mark

On 05/11/15 19:52, Curtis Hovey-Canonical wrote:
> ### Native support for charm bundles
>
> The Juju 'deploy' command can now deploy a bundle. The Juju Quickstart
> or Deployer plugins are not needed to deploy a bundle of charms. You can
> deploy the mediawiki-single bundle like so:
>
> juju deploy cs:bundle/mediawiki-single
>
> Local bundles can be deployed by passing the path to the bundle. For
> example:
>
> juju deploy ./openstack/bundle.yaml
>



-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


[Review Queue] galera-cluster, mysql

2015-11-05 Thread Adam Israel
galera-cluster

This MP adds a new configuration option for specifying a repository to use for 
installing galera-cluster. +1, merged

https://code.launchpad.net/~lmic/charms/trusty/galera-cluster/galera-cluster+source-galera-config-option/+merge/270714
 


mysql

Ensures distro-info-data dependency is updated for amulet tests. +1, merged

https://code.launchpad.net/~1chb1n/charms/trusty/mysql/tests-distro-info-data-update/+merge/272931
 




Adam Israel - Software Engineer
Canonical Ltd.
http://juju.ubuntu.com/ - Automate your Cloud Infrastructure

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: 'go test -race'

2015-11-05 Thread Michael Hudson-Doyle
I would expect that the golang-race-detector-runtime package builds
fine on trusty too. Maybe we could/should ask the lxd folks to put it
in their PPA?

Cheers,
mwh

On 6 November 2015 at 03:07, John A Meinel  wrote:
> On Trusty, I was able to get golang-1.5 by using the LXD stable ppa
> (ppa:ubuntu-lxc/lxd-stable). However, when I try to run "go test -race" I
> seem to run into:
> https://bugs.launchpad.net/ubuntu/+source/golang-race-detector-runtime/+bug/1487010
>
> MWH mentions that you can get a new golang race runtime in Wily, but I was
> wondering if we can get that via some other mechanism for Trusty?
>
> Thanks,
>
> John
> =:->
>
>
> --
> 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: Juju service commands or communitation protocol

2015-11-05 Thread André Moreira
Sure! My intentions are on Java, but I haven't decided anything yet.

André 

Envoyé de mon iPhone

> Le 5 nov. 2015 à 12:39, Mark Shuttleworth  a écrit :
> 
>> On 05/11/15 15:19, Adam Stokes wrote:
>>> On Thu, Nov 5, 2015 at 8:24 AM, Mark Shuttleworth  wrote:
>>> 
 On 05/11/15 00:19, André Moreira wrote:
 Thank you, Adam. This is exactly what I was looking for.
 André
>>> If you end up making bindings for another language like Ruby or Node
>>> then we'll be glad to publicise that to the community too!
>>> 
>>> Mark
>> I dare say it, how about Perl? :)) https://metacpan.org/release/Juju
> 
> Something for everybody ;)
> 
> Mark

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-05 Thread André Moreira
I will certainly have a look. Thank you.
André 

Envoyé de mon iPhone

> Le 5 nov. 2015 à 06:44, Samuel Cozannet  a 
> écrit :
> 
> Hi André, 
> 
> Not sure about your use case, but we've used this integration (python native 
> I am afraid) to do some Juju autoscaling with a metrology tool (Zabbix). Have 
> a look if you're doing something similar :)
> 
> Repo (a bit outdated now): https://github.com/SaMnCo/ob-zabbix/
> video: https://www.youtube.com/watch?v=IF7bUgDCYMM
> 
> ++
> Sam
> 
> 
> 
> 
> --
> Samuel Cozannet
> Cloud, Big Data and IoT Strategy Team
> Business Development - Cloud and ISV Ecosystem
> Changing the Future of Cloud
> Ubuntu  / Canonical UK LTD / Juju
> samuel.cozan...@canonical.com
> mob: +33 616 702 389
> skype: samnco
> Twitter: @SaMnCo_23
> 
> 
>> On Thu, Nov 5, 2015 at 12:19 AM, André Moreira  wrote:
>> Thank you, Adam. This is exactly what I was looking for.
>> André
>> 
>> 2015-11-04 14:21 GMT-02:00 Adam Stokes :
>>> You'll have to check out some of the bindings code:
>>> 
>>> http://bazaar.launchpad.net/~juju-deployers/python-jujuclient/trunk/view/head:/jujuclient.py
>>> 
>>> That should give you a good indication of what the juju api server 
>>> requires. For example the credentials need to be in a form of
>>> 
>>> 
>>> {'Type': 'Admin',
>>>   'Request': 'Login',
>>>   'RequestId': 1,
>>>   'Params': {'AuthTag': 'user-admin',
>>>  'Password': None}}
>>> 
>>> The above library is a single file which is pretty easy to grok and has 
>>> good documentation on what the functions do.
>>> 
 On Wed, Nov 4, 2015 at 11:04 AM, André Moreira  wrote:
 Hi Adam,
 What I mean is how do I construct the json requests and how should I 
 expect the json response to be provided. Do you know where do I find this 
 kind of documentation? I mean, is there a doc for it without needing to 
 read the source code?
 André
 
 2015-11-04 11:34 GMT-02:00 Adam Stokes :
> If you're going to use Go or creating bindings of your own the api 
> documentation is https://godoc.org/github.com/juju/juju/api.
> 
>> On Wed, Nov 4, 2015 at 8:30 AM, André Moreira  
>> wrote:
>> Thank you, Mark, for the reply.
>> Nice to know there is this library and there will be an official one!
>> But, if I want to use the REST api without the python library, where can 
>> I find documentation for it?
>> Thanks in advance,
>> André
>> 
>> 2015-11-04 6:32 GMT-02:00 Mark Shuttleworth :
>>> On 04/11/15 09:02, Merlijn Sebrechts wrote:
>>> > I'm very interested to hear more about that python library! Is this
>>> > something that will be discussed at the summit?
>>> 
>>> It could be. There have been a couple of informal variations on this
>>> theme from various sources, we recently decided it was worth making an
>>> official one. Someone closer to that work would be able to provide more
>>> insight, including whether it will be based on one like
>>> http://python-jujuclient.readthedocs.org/ or whether it's a fresh start.
>>> 
>>> Mark
>> 
>> 
>> 
>> -- 
>> 
>> Le doux charme de maint songe
>> Par leur bel art inventé
>> Sous les habits du mensonge
>> Nous offre la vérité.
>> -La Fontaine
>> 
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at: 
>> https://lists.ubuntu.com/mailman/listinfo/juju
 
 
 
 -- 
 
 Le doux charme de maint songe
 Par leur bel art inventé
 Sous les habits du mensonge
 Nous offre la vérité.
 -La Fontaine
>> 
>> 
>> 
>> -- 
>> 
>> Le doux charme de maint songe
>> Par leur bel art inventé
>> Sous les habits du mensonge
>> Nous offre la vérité.
>> -La Fontaine
>> 
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at: 
>> https://lists.ubuntu.com/mailman/listinfo/juju
> 
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


RE: [Bootstrap] vSphere provider

2015-11-05 Thread Cseh Dávid
Hi,

 

It works. Thanks.

 

Can you tell me, what is the solution? What had to be changed int the VM 
filesystem?

 

Thanks

David

 

From: Cseh Dávid [mailto:david.c...@quanopt.com] 
Sent: Thursday, November 5, 2015 4:03 PM
To: 'John George' 
Cc: 'Marco Ceppi' ; 'juju@lists.ubuntu.com' 

Subject: RE: [Bootstrap] vSphere provider

 

Thanks.

I’ll try it, and report the result.

 

David

 

From: John George [mailto:john.geo...@canonical.com] 
Sent: Thursday, November 5, 2015 4:00 PM
To: Cseh Dávid  >
Cc: Marco Ceppi  >; 
juju@lists.ubuntu.com  
Subject: Re: [Bootstrap] vSphere provider

 

Sorry about that, can you please try:
https://drive.google.com/open?id=0Bx_Uh8SOynXaUVVldm5yQWx5UVk

 

On Thu, Nov 5, 2015 at 6:54 AM, Cseh Dávid  > wrote:

Hello John,

 

Thanks for your reply, but the link you wrote is net available. 
(https://bugs.launchpad.net/cpc-core/+bug/1468383). 

 

Can you provide the test.ova file on a different server to me, please?

 

Thanks

David

 

From: John George [mailto:john.geo...@canonical.com 
 ] 
Sent: Thursday, November 5, 2015 3:28 PM
To: Cseh Dávid  >
Cc: Marco Ceppi  >; 
juju@lists.ubuntu.com  
Subject: Re: [Bootstrap] vSphere provider

 

Hello David,

It sounds like you are running into 
https://bugs.launchpad.net/cpc-core/+bug/1468383
Although not ideal there is a workaround described in 
https://bugs.launchpad.net/juju-core/+bug/1511138

 

--John

 

On Thu, Nov 5, 2015 at 12:18 AM, Cseh Dávid  > wrote:

Hello Marco

 

I couldn’t, because there is no default password, or ssh key to the VM, but I 
mounted the drive to another VM :) So the log is attached to the e-mail.

 

I suspect, that cloud-init doesn’t get the ssh key from juju vsphere provider, 
or ESX got it but doesn’t forward to the VM.

Where should be the settings that cloud-init uses? How it should work?

 

Thanks for your help.

David

 

From: Marco Ceppi [mailto:ma...@ondina.co  ] 
Sent: Thursday, November 5, 2015 12:03 AM
To: Cseh Dávid  >; 
juju@lists.ubuntu.com  
Subject: Re: [Bootstrap] vSphere provider

 

Sorry to hear you're having troubles. It sounds like cloud-init didn't finish. 
Are you able to get a console onto the VM? If so could you get the contents of 
/var/log/cloud-init*?

 

On Thu, Nov 5, 2015, 6:36 AM Cseh Dávid  > wrote:

Hi

 

I tried to bootstrap juju on a vCenter 5.5 environment, but it failed when juju 
tries to connect to the newly created VM throught ssh. (public key error)

The VM is reachable, but there is no key to connect with.

 

What could be the problem?

 

Thanks

David

--
Juju mailing list
Juju@lists.ubuntu.com  
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


--
Juju mailing list
Juju@lists.ubuntu.com  
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

 

 

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


RE: [Bootstrap] vSphere provider

2015-11-05 Thread Cseh Dávid
Hello John,

 

Thanks for your reply, but the link you wrote is net available. 
(https://bugs.launchpad.net/cpc-core/+bug/1468383). 

 

Can you provide the test.ova file on a different server to me, please?

 

Thanks

David

 

From: John George [mailto:john.geo...@canonical.com] 
Sent: Thursday, November 5, 2015 3:28 PM
To: Cseh Dávid 
Cc: Marco Ceppi ; juju@lists.ubuntu.com
Subject: Re: [Bootstrap] vSphere provider

 

Hello David,

It sounds like you are running into 
https://bugs.launchpad.net/cpc-core/+bug/1468383
Although not ideal there is a workaround described in 
https://bugs.launchpad.net/juju-core/+bug/1511138

 

--John

 

On Thu, Nov 5, 2015 at 12:18 AM, Cseh Dávid  > wrote:

Hello Marco

 

I couldn’t, because there is no default password, or ssh key to the VM, but I 
mounted the drive to another VM :) So the log is attached to the e-mail.

 

I suspect, that cloud-init doesn’t get the ssh key from juju vsphere provider, 
or ESX got it but doesn’t forward to the VM.

Where should be the settings that cloud-init uses? How it should work?

 

Thanks for your help.

David

 

From: Marco Ceppi [mailto:ma...@ondina.co  ] 
Sent: Thursday, November 5, 2015 12:03 AM
To: Cseh Dávid  >; 
juju@lists.ubuntu.com  
Subject: Re: [Bootstrap] vSphere provider

 

Sorry to hear you're having troubles. It sounds like cloud-init didn't finish. 
Are you able to get a console onto the VM? If so could you get the contents of 
/var/log/cloud-init*?

 

On Thu, Nov 5, 2015, 6:36 AM Cseh Dávid  > wrote:

Hi

 

I tried to bootstrap juju on a vCenter 5.5 environment, but it failed when juju 
tries to connect to the newly created VM throught ssh. (public key error)

The VM is reachable, but there is no key to connect with.

 

What could be the problem?

 

Thanks

David

--
Juju mailing list
Juju@lists.ubuntu.com  
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


--
Juju mailing list
Juju@lists.ubuntu.com  
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

 

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-05 Thread Mark Shuttleworth
On 05/11/15 00:19, André Moreira wrote:
> Thank you, Adam. This is exactly what I was looking for.
> André

If you end up making bindings for another language like Ruby or Node
then we'll be glad to publicise that to the community too!

Mark

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju