Re: juju with consul as a DNS server - cannot unmarshal DNS message

2016-11-09 Thread John Meinel
I do see this:

https://github.com/hashicorp/consul/issues/854

Which is that the output from consul is too large and doesn't conform to
the RFC which makes Go unable to read the DNS record.

It does feel like this is a stdlib issue. Are you able to do thinks like

python3 -c "import socket; print (socket.gethostbyname ('api.jujucharms.com
'))"

While being python  that is essentially what we are doing in Go. You could
also try something like:

main.go:
package main
import (
  "net"
  "fmt"
)

func main () {
  fmt.Println (net.LookupHost ("api.jujucharms.com"))
}

go run main.go

John
=:->

On Nov 10, 2016 05:09, "Benoit GEORGELIN - Association Web4all" <
benoit.george...@web4all.fr> wrote:

> Hi members of the list ,
>
>
> I'm playing/discovering JUJU  I would like to know if anyone is using
> CONSUL as a DNS server to resolve new running containers
>
> I'm using LXD as a cloud provider
>
>
> juju --version
> 2.0.1-xenial-amd64
>
> consul --version
> Consul v0.6.4
> Consul Protocol: 3 (Understands back to: 1)
>
>
> Looks like JUJU is not able to read the answer from the DNS server :
>
> Could not add requested charm. Server responded with: cannot retrieve
> charm "cs:trusty/wordpress-4": cannot get archive: Get
> https://api.jujucharms.com/charmstore/v5/trusty/wordpress-4/archive: dial
> tcp: lookup api.jujucharms.com on :53: cannot unmarshal
> DNS message
>
>
> Should I open a bug ?
>
> Thanks
>
> Cordialement,
>
> Benoît G
>
> --
> 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 with consul as a DNS server - cannot unmarshal DNS message

2016-11-09 Thread Benoit GEORGELIN - Association Web4all
Hi members of the list , 


I'm playing/discovering JUJU I would like to know if anyone is using CONSUL as 
a DNS server to resolve new running containers 

I'm using LXD as a cloud provider 


juju --version 
2.0.1-xenial-amd64 

consul --version 
Consul v0.6.4 
Consul Protocol: 3 (Understands back to: 1) 


Looks like JUJU is not able to read the answer from the DNS server : 

Could not add requested charm. Server responded with: cannot retrieve charm 
"cs:trusty/wordpress-4": cannot get archive: Get 
https://api.jujucharms.com/charmstore/v5/trusty/wordpress-4/archive: dial tcp: 
lookup api.jujucharms.com on :53: cannot unmarshal DNS message 


Should I open a bug ? 

Thanks 

Cordialement, 

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


Re: Elastic Stack Charmer Planning - 11/15/2016

2016-11-09 Thread Charles Butler
Oops, Missed the document attachment.  The meeting agenda/notes will be
here:

https://docs.google.com/document/d/1Aq7JfAVZWoT2IAQGsR3UWGWO6wUka2ztvB0hLbwPy2Q


Charles Butler  - Juju Charmer
Come see the future of modeling your datacenter: http://jujucharms.com

On Wed, Nov 9, 2016 at 10:04 AM, Charles Butler <
charles.but...@canonical.com> wrote:

> Greetings Everyone,
>
> In an effort to divide the labor, openly plan, and move the elastic stack
> charms forward post 5.0 release I've scheduled a meeting on *11/15/2016
> at 10AM PST*. If you are a consumer of our charms in the following list,
> this meeting is for you:
>
> - Elasticsearch
> - Kibana
> - Beats
> - Logstash
>
> I've also created a planning document for the session so anyone who is
> unable to attend can at least view the meeting agenda, and minutes from the
> meeting. This will be a very informal session, and was scheduled with an
> overlap in UK/PST time zones to catch two of our very active charmers in
> the data science field.
>
> If you're interested in attending, please send me an email and I'll get
> you on the calendar invite.
>
> Thanks and all the best,
>
> Charles Butler  - Juju Charmer
> Come see the future of modeling your datacenter: http://jujucharms.com
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Elastic Stack Charmer Planning - 11/15/2016

2016-11-09 Thread Charles Butler
Greetings Everyone,

In an effort to divide the labor, openly plan, and move the elastic stack
charms forward post 5.0 release I've scheduled a meeting on *11/15/2016 at
10AM PST*. If you are a consumer of our charms in the following list, this
meeting is for you:

- Elasticsearch
- Kibana
- Beats
- Logstash

I've also created a planning document for the session so anyone who is
unable to attend can at least view the meeting agenda, and minutes from the
meeting. This will be a very informal session, and was scheduled with an
overlap in UK/PST time zones to catch two of our very active charmers in
the data science field.

If you're interested in attending, please send me an email and I'll get you
on the calendar invite.

Thanks and all the best,

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