Re: Hardware version on the OVA file in the vmware provider

2015-10-02 Thread Eric Snow
@Sergey, do you know how this works out?

-eric

On Thu, Oct 1, 2015 at 2:06 PM, Trond Viggo Håpnes
 wrote:
> Hi all
>
> The documentation for the vmware provider [1] states that "you will need to
> have an existing vSphere
> installation, which supports VMWare's Hardware Version 8 or better", but it
> looks like the OVA file
> is version 10?
>
> Is there a reason for this? This excludes all ESX version older than 5.5.
>
> And is there a workaround to get the vmware provider working on ESX 5.1?
>
> [1] https://jujucharms.com/docs/devel/config-vmware
>
> --
> Trond Viggo Håpnes 
>
> --
> 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 charm proof error

2015-10-02 Thread Marco Ceppi
Hello Fred!

charm proof provides three levels of output:

E: Error, this charm will not deploy in it's current state
W: Warning, this charm violates the "recommended" charm store policy
I: Information, things to consider, but no inherently wrong

Based on the output, you seem to be missing a copyright file and README.md
file which are required for uploading to the charm store but not
necessarily for deploying the charm. If you add these files the warnings
should disappear but they're safe to ignore if you're just trying to get
started in writing you charm. This will only be a problem when going
through the charm review process to have it listed as a recommended charm
in the charm store.

Thanks,
Marco Ceppi

On Fri, Oct 2, 2015 at 12:23 PM Frederico Araujo  wrote:

> Hi,
>
> I'm trying to create my first charm without success. I used 'juju charm
> create firstcharm', and then cd into firstcharm, edit the metadata and
> hooks to have a minimal charm that doesn't do anything. The problem arises
> when checking the charm with 'juju charm proof', which gives me the
> following error:
>
> W: no copyright file
> W: no README file
> ERROR subprocess encountered error code 100
>
> Any ideas?
>
> Thanks a lot!
> Fred
> --
> 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 charm proof error

2015-10-02 Thread Marco Ceppi
Hello Fred!

charm proof provides three levels of output:

E: Error, this charm will not deploy in it's current state
W: Warning, this charm violates the "recommended" charm store policy
I: Information, things to consider, but no inherently wrong

Based on the output, you seem to be missing a copyright file and README.md
file which are required for uploading to the charm store but not
necessarily for deploying the charm. If you add these files the warnings
should disappear but they're safe to ignore if you're just trying to get
started in writing you charm. This will only be a problem when going
through the charm review process to have it listed as a recommended charm
in the charm store.

Thanks,
Marco Ceppi

On Fri, Oct 2, 2015 at 12:22 PM Frederico Araujo  wrote:

> Hi,
>
> I'm trying to create my first charm without success. I used 'juju charm
> create firstcharm', and then cd into firstcharm, edit the metadata and
> hooks to have a minimal charm that doesn't do anything. The problem arises
> when checking the charm with 'juju charm proof', which gives me the
> following error:
>
> W: no copyright file
> W: no README file
> ERROR subprocess encountered error code 100
>
> Any ideas?
>
> Thanks a lot!
> Fred
> --
> 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 charm proof error

2015-10-02 Thread Frederico Araujo
Thank you, Marco!

I was more concerned about the subprocess error at the end; so I guess this
is fine too? I will try completing my first charm and deploy it locally to
see what happens :)

Best,
Fred

On Friday, October 2, 2015, Marco Ceppi  wrote:

> Hello Fred!
>
> charm proof provides three levels of output:
>
> E: Error, this charm will not deploy in it's current state
> W: Warning, this charm violates the "recommended" charm store policy
> I: Information, things to consider, but no inherently wrong
>
> Based on the output, you seem to be missing a copyright file and README.md
> file which are required for uploading to the charm store but not
> necessarily for deploying the charm. If you add these files the warnings
> should disappear but they're safe to ignore if you're just trying to get
> started in writing you charm. This will only be a problem when going
> through the charm review process to have it listed as a recommended charm
> in the charm store.
>
> Thanks,
> Marco Ceppi
>
> On Fri, Oct 2, 2015 at 12:22 PM Frederico Araujo  > wrote:
>
>> Hi,
>>
>> I'm trying to create my first charm without success. I used 'juju charm
>> create firstcharm', and then cd into firstcharm, edit the metadata and
>> hooks to have a minimal charm that doesn't do anything. The problem arises
>> when checking the charm with 'juju charm proof', which gives me the
>> following error:
>>
>> W: no copyright file
>> W: no README file
>> ERROR subprocess encountered error code 100
>>
>> Any ideas?
>>
>> Thanks a lot!
>> Fred
>> --
>> 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] apache-hbase

2015-10-02 Thread Matt Bruzek
I reviewed the apache-hbase charm today:

https://bugs.launchpad.net/charms/+bug/1487050

While it did pass amulet tests it had some other issues that blocked it
this time.  I created a Merge Proposal to fix some of the problems here:

https://code.launchpad.net/~mbruzek/charms/trusty/apache-hbase/icon-code-fix/+merge/273275

Thanks!

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


Re: Juju configuration in bash

2015-10-02 Thread Nick Veitch
Hi,

There is a config-get hook tool which does the same job (
https://jujucharms.com/docs/stable/authors-hook-environment#config-get)
Actually, that whole page is a good read because there is a lot of info
about the hook environment and other hooks tools there.

hth

On 3 October 2015 at 00:32, Frederico Araujo  wrote:

> Hi list,
>
> Is there a way to get the configuration options from config.yaml from a
> hook written in Bash (e.g., environment variable)? I noticed that in Python
> we can import from the charmshelper API like this:
>
>1. from charmhelpers.core.hookenv import (
>2. config as config_get,
>3. ...
>
>
> And then use config_get['option'] to retrieve the option value.
>
> Thanks,
>
> Fred
>
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>


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