brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duncan Grant <duncan.gr...@cloudsoftcorp.com>
Subject Re: How do I give imageNameRegex an actual regular expression?
Date Wed, 25 Mar 2015 14:08:11 GMT
Aled,

That fixed it!

thanks

Duncan

On 25 March 2015 at 13:31, Aled Sage <aled.sage@gmail.com> wrote:

> Hi Duncan,
>
> You may also need to specify the image owner.
>
> As I recall, jclouds does something a little surprising with image owners:
> if you specify an image name regex, it will only look in a small number of
> image owner (rather than across all 20,000+ images, which can take 60+
> seconds to retrieve from AWS on some home networks).
>
> If you specify the image owner, then it should find it, such as:
>
>    imageOwner = 411009282317
>
> Aled
>
>
>
> On 25/03/2015 13:19, Duncan Grant wrote:
>
>> I'm trying to use a specific AMI on AWS using it's name.
>>
>> It works if I set the imageNameRegex = region/image_name
>> but fails if I try any of the follwoing:
>> imageNameRegex = image_name
>> imageNameRegex = .*/image_name
>> imageNameRegex = .*image_name
>> imageNameRegex = /.*image_name/
>>
>> The aim here is that I can copy an AMI across a number of regions and have
>> brooklyn pick up the correct one without my having to specify a specific
>> image id for that region.
>>
>> Looking at the brooklyn tests then I shouldn't even need a regex - as long
>> as the name is a substring of the full name it should work.
>>
>> I'm setting this in the brooklyn.properties not the yaml all though I
>> can't
>> imagine that makes any difference.
>>
>> thanks
>>
>> Duncan
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message