[ubuntu-cloud] Fwd: [vcap-dev] Ubuntu 12.04 support

Frans Thamura frans at meruvian.org
Sun Sep 2 23:26:29 UTC 2012


from cloudfoundry mailing list.

hope can help.

Frans

---------- Forwarded message ----------
From: benmccann <benjamin.j.mccann at gmail.com>
Date: Mon, Sep 3, 2012 at 6:07 AM
Subject: Re: [vcap-dev] Ubuntu 12.04 support
To: vcap-dev at cloudfoundry.org


Hi,

I can't install Cloud Foundry on Ubuntu 12.04 as easily as I used to be
able to.  The issue is that the versions of xulunner and libpq used are not
available on Ubuntu 12.04, but were added to
dev_setup/cookbooks/essentials/recipes/default.rb.  These two libraries are
used only for the installation of couchdb and postgresql respectively.  I
don't believe I can just disable those two service to get around the
problem since the install for these two libraries is in a common location.
 Would it be possible for someone to move the install of these two
libraries to dev_setup/cookbooks/couchdb/recipes/default.rb and
dev_setup/cookbooks/postgresql/recipes/default.rb where I believe they're
better suited to reside anyway?

Thanks,
Ben


On Thursday, August 2, 2012 8:56:27 AM UTC-7, benmccann wrote:
>
> Awesome. Thanks
> On Aug 2, 2012 7:33 AM, "Nicholas Kushmerick" <nicholask at rbcon.com> wrote:
>
>> postgresql 9.1 (and bumps to redis, rabbit, mysql) are in progress and
>> coming ASAP.
>>
>>
>> On Thu, Aug 2, 2012 at 12:20 AM, benmccann wrote:
>>
>>> It looks like support for multiple version of packages just went in (I
>>> see that Mongo 1.8.5 and 2.0.6 are both shown as supported now).  Maybe
>>> someone could either add PostgreSQL 9.1 as another supported version of
>>> PostgreSQL or it could be added to the excluded components list that way
>>> install on Ubuntu 12.04 will work?
>>>
>>>
>>> On Thursday, July 26, 2012 6:55:46 PM UTC-7, benmccann wrote:
>>>>
>>>> Yes, you do need to change that line because Postgresql 9.0 isn't
>>>> available on Ubuntu 12.04.  You need to use 9.1 on Ubuntu 12.04 because
>>>> that's all that's available in the apt repo.
>>>>
>>>>
>>>> On Thu, Jul 26, 2012 at 6:52 PM, tiger yang <believe3301 at gmail.com>wrote:
>>>>
>>>>> i can install postgresql-client-9.1,but need to install
>>>>> postgresql-client-9.0.
>>>>> i have change this line https://github.com/**cloudf****
>>>>> oundry/vcap/blob/master/**dev_**se**tup/cookbooks/**postgresql/**attri
>>>>> **butes/default.**rb#L9<https://github.com/cloudfoundry/vcap/blob/master/dev_setup/cookbooks/postgresql/attributes/default.rb#L9> 9.0
>>>>> to 9.1.
>>>>> i don't know why.
>>>>>
>>>>> E: Unable to locate package postgresql-client-9.0
>>>>> E: Couldn't find any package by regex 'postgresql-client-9.0'
>>>>> [2012-07-27T09:47:56+08:00] ERROR: Installation of PostgreSQL client
>>>>> package postgresql-client-9.0 failed
>>>>>
>>>>> On Friday, July 27, 2012 9:41:14 AM UTC+8, Frank Lu wrote:
>>>>>>
>>>>>> How about run this manually?
>>>>>> *   apt-get install -y postgresql-client-9.1*
>>>>>> According to this page, ubuntu 12.04 should provide this package:
>>>>>> https://**launchpa****d.net/ubuntu/precise/+**package/****
>>>>>> postgresql-client-9.1<https://launchpad.net/ubuntu/precise/+package/postgresql-client-9.1>
>>>>>> If you can't install this package manually, take a look at your
>>>>>> networks to see whether you could connect to these sources
>>>>>>
>>>>>> On Fri, Jul 27, 2012 at 9:32 AM, tiger yang <believe3301 at gmail.com>wrote:
>>>>>>
>>>>>>> I tried to, but doesn't work.
>>>>>>> the same error as above.
>>>>>>>
>>>>>>> 3q.
>>>>>>>
>>>>>>>
>>>>>>> On Thursday, July 26, 2012 10:20:38 PM UTC+8, Frank Lu wrote:
>>>>>>>>
>>>>>>>> You could try to change this line https://github.com/**cloudf******
>>>>>>>> oundry/vcap/blob/master/**dev_**se****tup/cookbooks/**postgresql/**
>>>>>>>> attri****butes/default.**rb#L9<https://github.com/cloudfoundry/vcap/blob/master/dev_setup/cookbooks/postgresql/attributes/default.rb#L9>
>>>>>>>>
>>>>>>>> Use 9.1 rather than 9.0 (There is no 9.0 in ubuntu 12.04 anymore)
>>>>>>>> and re-run vcap_dev_setup to install.
>>>>>>>> But PG 9.1 for service is not fully validated.
>>>>>>>>
>>>>>>>> On Thu, Jul 26, 2012 at 6:33 PM, tiger yang <believe3301 at gmail.com>wrote:
>>>>>>>>
>>>>>>>>> i have use
>>>>>>>>>
>>>>>>>>> export CLOUD_FOUNDRY_EXCLUDED_**COMPONE******NT="node|gateway"
>>>>>>>>>
>>>>>>>>>  but still run failed..
>>>>>>>>>
>>>>>>>>> [2012-07-26T18:23:35+08:00] ERROR: Installation of PostgreSQL
>>>>>>>>> client package postgresql-client-9.0 failed
>>>>>>>>> [2012-07-26T18:23:35+08:00] ERROR: Running exception handlers
>>>>>>>>> [2012-07-26T18:23:35+08:00] ERROR: Exception handlers complete
>>>>>>>>>
>>>>>>>>> what should i do to run successfully in ubuntu 12.04?
>>>>>>>>>
>>>>>>>>> On Tuesday, July 17, 2012 2:09:19 AM UTC+8, Nicholas Kushmerick
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> in the meantime, if postgresql is the only blocker to running
>>>>>>>>>> dev_setup on U12.04, then it will probably suffice to tell dev_setup to not
>>>>>>>>>> install it: https://github.com/**cloudfoundr********
>>>>>>>>>> y/vcap/blob/master/**dev_setup/**R******EADME#L102<https://github.com/cloudfoundry/vcap/blob/master/dev_setup/README#L102>
>>>>>>>>>>
>>>>>>>>>> -- Nick
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Jul 16, 2012 at 8:07 AM, Ben McCann wrote:
>>>>>>>>>>
>>>>>>>>>>> PostgreSQL needs to be updated to 9.1 in order to support Ubuntu
>>>>>>>>>>> 12.04, but the CloudFoundry team won't allow that until their production
>>>>>>>>>>> instance is upgraded to 9.1 which as far as I know is not a priority.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jul 16, 2012 at 2:51 AM, Armand Parris <
>>>>>>>>>>> armand.parris at sirrapa.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> Is there any progress on this?
>>>>>>>>>>>> We also like to use ubuntu 12.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Armand
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Friday, June 8, 2012 12:07:02 AM UTC+2, Patrick Bozeman
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> +2d.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Jun 7, 2012 at 2:32 PM, benmccann wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> It's been over a week since I've submitted this change and
>>>>>>>>>>>>>> there's been very little movement on getting it reviewed.  Can someone
>>>>>>>>>>>>>> please take a look?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> Ben
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Wednesday, June 6, 2012 11:48:18 AM UTC-7, benmccann wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ping.  can anyone review?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> thanks!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Monday, June 4, 2012 12:53:32 PM UTC-7, benmccann wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks.  I'll submit as soon as I get an approval.
>>>>>>>>>>>>>>>>  Hopefully a review will happen fairly soon:
>>>>>>>>>>>>>>>> http://reviews.cloudfoundry.**or************g/#/c/6017/<http://reviews.cloudfoundry.org/#/c/6017/>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Wednesday, May 30, 2012 4:49:04 PM UTC-7, Matt Reider
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks Ben,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Your CLA has been approved and saved away for posterity.
>>>>>>>>>>>>>>>>> I'll let an engineer comment on the bits.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> M
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wed, May 30, 2012 at 4:41 PM, benmccann wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I've submitted some code for review to make vcap work on
>>>>>>>>>>>>>>>>>> Ubuntu 12.04 <http://reviews.cloudfoundry.org/#/c/6017/> and
>>>>>>>>>>>>>>>>>> have sent in a signed CLA.  Let me know if there's anything that needs to
>>>>>>>>>>>>>>>>>> be done to get in the review queue.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>> Ben
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Nick
>>>>>>>>>> phone +1.206.293.5186 *·* skype nicholaskushmerick
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Frank(mingfan) Lu
>>>>>>>>
>>>>>>>>
>>>>>>>> Ext. 8004
>>>>>>>>
>>>>>>>> Tel: 86-21-60349004
>>>>>>>>
>>>>>>>> VMware Cloudfoundry Service Team
>>>>>>>> 10F, KIC III, No. 333 Songhu Road, Yangpu District. Shanghai 200433
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Frank(mingfan) Lu
>>>>>>
>>>>>>
>>>>>> Ext. 8004
>>>>>>
>>>>>> Tel: 86-21-60349004
>>>>>>
>>>>>> VMware Cloudfoundry Service Team
>>>>>> 10F, KIC III, No. 333 Songhu Road, Yangpu District. Shanghai 200433
>>>>>>
>>>>>>
>>>>>>
>>>>
>>
>>
>> --
>> Nick
>> phone +1.206.293.5186 *·* skype nicholaskushmerick
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-cloud/attachments/20120903/90796f7d/attachment-0001.html>


More information about the Ubuntu-cloud mailing list