whirr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Baclace <paul.bacl...@gmail.com>
Subject Re: Whirr on HPCloud
Date Thu, 16 Aug 2012 09:56:12 GMT
This worked for starting ubuntu 12.04:

whirr.image-id=az-1.region-a.geo-1/8419


On 20120816 2:49 , Paul Baclace wrote:
> > P.s. if you go to the jclouds-cli repo on github, you can enumerate 
> the IDs you need.
>
> Good to know.  I will try this.
>
> Using the latest WHIRR-593 patch for jclouds 1.5.0b10, I can start a 
> 64bit "noop" machine which ends up as xsmall and ubuntu 10.04 despite 
> these config props:
>
> # a well known image ubuntu 12.04 as listed in hpcloud console (image 
> id is "not found"):
> whirr.image-id=8419
>
> # id not found:
> whirr.hardware-id=standard.small
>
> # id not found:
> whirr.hardware-id=101
>
> # changing the minRam to 2048 did not force a small machine:
> whirr.template=osFamily=UBUNTU,osVersionMatches=12.04,os64Bit=true,minRam=2048 
>
>
> I *was* able to start a small machine using the region and the 
> openstack machine code like this:
> whirr.hardware-id=az-1.region-a.geo-1/101
>
> Next I need to find the exact form for whirr.image-id so I can use a 
> custom image (perhaps region is needed in the specifier or a full URL).
>
>
> Paul
>
> On 20120815 18:29 , Paul Baclace wrote:
>> I built Whirr from trunk svn r1373566. The machine running whirr will 
>> be ubuntu 12.04 (I hope that will work.)  The spawned cluster nodes 
>> can be ubuntu 10.04, but I thought CDH 4.0.1 specified that it worked 
>> with 12.04.
>>
>> Normally, I prepare a custom os image (based on a whirr cluster) to 
>> speed up provisioning.  Will that work on HPCloud?
>>
>>
>> Paul
>>
>> On 20120815 17:59 , Adrian Cole wrote:
>>> The problem is that 10.04 is literally hardcoded.  Before the above 
>>> patch,
>>> there's no way to change that without knowing IDs.
>>> On Aug 15, 2012 5:57 PM, "Andrew Bayer" <andrew.bayer@gmail.com> wrote:
>>>
>>>> ...and you don't actually have to specify the OS stuff at all. Just
>>>> whirr.hardware-min-ram=1024 or whatever, and it'll automatically 
>>>> pick an
>>>> Ubuntu 10.04 image for you.
>>>>
>>>> A.
>>>>
>>>> On Wed, Aug 15, 2012 at 5:54 PM, Andrew Bayer <andrew.bayer@gmail.com
>>>>> wrote:
>>>>> You'll actually have to do some manual tweaks due to HP Cloud 
>>>>> public IPs
>>>>> not having reverse-resolvable IP addresses - you'll need to 
>>>>> manually go
>>>>> onto each of your hosts and change any references to hostnames 
>>>>> they put
>>>> in
>>>>> there to the IP instead.
>>>>>
>>>>> A.
>>>>>
>>>>>
>>>>> On Wed, Aug 15, 2012 at 5:53 PM, Adrian Cole <adrian@jclouds.org>

>>>>> wrote:
>>>>>
>>>>>> Hi, Paul.
>>>>>>
>>>>>> Here's easiest way
>>>>>>
>>>>>> Apply latest patch here 
>>>>>> https://issues.apache.org/jira/browse/WHIRR-593
>>>>>>
>>>>>> Set
>>>>>>
>>>>>>
>>>> whirr.template=osFamily=UBUNTU,osVersionMatches=12.04,os64Bit=true,minRam=1024

>>>>
>>>>>> Should be good.  If works, ping the issue and I can help commit it
>>>>>> tonight.
>>>>>>
>>>>>> -A
>>>>>> On Aug 15, 2012 5:45 PM, "Paul Baclace" <paul.baclace@gmail.com>

>>>>>> wrote:
>>>>>>
>>>>>>> I need to get Whirr 0.8.0 running on HPCloud *today* so I can
help
>>>>>> people
>>>>>>> generate
>>>>>>> clusters for the ACM local chapter (sfbayacm.org) hackathon on
Aug.
>>>> 18
>>>>>>> sponsored in part by HPCloud.
>>>>>>>
>>>>>>> Because of WHIRR-593, I built Whirr from trunk.
>>>>>>>
>>>>>>> My plan is to use Ubuntu 12.04 LTS Precise, 64-bit.
>>>>>>>
>>>>>>> whirr.provider=hpcloud-compute
>>>>>>>
>>>>>>> How does one find the possible values for:
>>>>>>>
>>>>>>> whirr.image-id  // I assume numbers seen in HP web console work

>>>>>>> here
>>>>>>> whirr.hardware-id  // use number from openstack or names like
>>>>>>> standard.medium ?
>>>>>>> whirr.location-id  // what is proper form here?
>>>>>>>
>>>>>>> and any other property settings I need to know about for HPCloud?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>>
>>>>>
>>
>


Mime
View raw message