Problem deploying test charm

2014-05-16 Thread Xander Maas
Hi all,

I am trying to create an ownCloud charm with Ceph support. (I already had a 
more or less working dev version)

When I try to deploy my latest revision, juju doesn’t seem to get the latest 
(local) revision. I noticed this, as I had a typo in my config.yaml

(For your info: My MaaS environment is Ubuntu 14.04 based, but my juju nodes 
are 12.04)

Xander


signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Problem deploying test charm

2014-05-16 Thread Xander Maas
Hi Matt and Michael,

That was the 'problem'. I now can deploy my test ownCloud unit, with (alpha) 
Ceph support.

My additions for Ceph is quite basic and needs some additional testing before I 
commit a new 'build'

I hope to do so coming week

Xander

Sent from my iPhone

 On 16 mei 2014, at 17:18, Matt Bruzek matthew.bru...@canonical.com wrote:
 
 Xander,
 
 Michael is correct the charm name is based on the name in the metadata.yaml 
 file not the directory.  So watch out for that.
 
 Are you working on adding support for ceph in the current owncloud charm?  If 
 so please work with José Antonio Rey j...@ubuntu.com 
 
 I am reviewing the owncloud charm right now:
 
 https://code.launchpad.net/~jose/charms/precise/owncloud/port-change+repo+ssl-support/+merge/215527
 
 Thank you,
 
- Matt Bruzek matthew.bru...@canonical.com
 
 
 On Fri, May 16, 2014 at 4:24 AM, Michael Nelson 
 michael.nel...@canonical.com wrote:
 On Fri, May 16, 2014 at 11:15 AM, Xander Maas xjm...@gmail.com wrote:
  Hi all,
 
  I am trying to create an ownCloud charm with Ceph support. (I already had 
  a more or less working dev version)
 
  When I try to deploy my latest revision, juju doesn’t seem to get the 
  latest (local) revision. I noticed this, as I had a typo in my config.yaml
 
 It may not be the same reason, but I have seen this when I've got
 multiple copies of the same charm in my local JUJU_REPOSITORY, ie.
 something like:
 
 ~/myrepo/precise/my-charm
 and
 ~/myrepo/precise/an-older-charm-version
 
 juju uses the first charm which matches name in the metadata, so you
 want to move any old charm versions out of your juju repo.
 
 Another reason can be that the version of the charm that your
 bootstrap node has cached is greater than the one you're deploying,
 but you shouldn't normally get into that situation.
 
 -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


Charm-helpers documentation

2014-05-15 Thread Xander Maas
Hi all,

Is there any (unfinished) documentation for charm-helpers I can use? I am 
trying to implement Ceph into the ownCloud charm and would like to use 
Charm-helpers in this.

Xander


signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


juju/juju-gui/HAProxy and SSL

2014-05-12 Thread Xander Maas
Hi,

I am running a clean MaaS with juju 1.18.x in a separate network within our 
school LAN. I have tried to include a schema of it here:

(Best viewed in a monospace font)
___ MaaS Controller (192.168.3.1/24) 
School LAN (10.0.0.0/20) __/  \__ MaaS 
Cluster __ Juju GUI (port 443)
   \  /
\__ HAProxy server  (192.168.3.2/24) /

(additional info: the HAProxy server isn’t deployed using Juju, but is a single 
server installation. This server has 2 (two) NICs)
Has anyone a working HAProxy config so I can reach SSL enabled sites within my 
MaaS cluster?

Using HAProxy with Juju-gui running insecure (only port 80) works as it should, 
but I would like to connect to Juju-gui using SSL.

Regards,

Xander



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


How to access exposed services inside Juju environment?

2014-03-13 Thread Xander Maas
Hi,

I am trying to understand Juju combined with MAAS and have setup an environment 
with 6 units.
- 1 MAAS Region/Cluster controller, with two nics, 1 for our school LAN 
(10.0.0.0/20), 1 for the MAAS/Juju environment (192.168.3.1/24)
- 5 nodes, connected to the MAAS/Juju network
- MAAS/Juju network has internet access through the MAAS controller (ipv4 
forward enabled, iptables configured to masquerade)
- Juju has been bootstrapped and is running

I followed several tutorials, but fail to connect to the Wordpress service 
(which nearly all tut's use). It seems all tut's use AWS or similar cloud 
providers, which seem to expose the nodes directly to the 'net.

What would be the best method to connect to my exposed service(s) (mostly 
HTTP/HTTPS) from our school LAN? 
- Is a separate server as a reverse proxy the best solution?
- Can I use the MAAS controller as reverse proxy?
- Should I deploy/expose a reverse proxy charm in Juju? (if so, how should I 
configure it? / I can add a second nic to a node)
- Other.

Regards,

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