Ubuntu 12.04 support

723 views
Skip to first unread message

benmccann

unread,
May 30, 2012, 7:41:05 PM5/30/12
to vcap...@cloudfoundry.org
Hi,

I've submitted some code for review to make vcap work on Ubuntu 12.04 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

Matt Reider

unread,
May 30, 2012, 7:49:04 PM5/30/12
to vcap...@cloudfoundry.org
Thanks Ben,

Your CLA has been approved and saved away for posterity. I'll let an engineer comment on the bits.

M

benmccann

unread,
Jun 4, 2012, 3:53:32 PM6/4/12
to vcap...@cloudfoundry.org
Thanks.  I'll submit as soon as I get an approval.  Hopefully a review will happen fairly soon:

benmccann

unread,
Jun 6, 2012, 2:48:18 PM6/6/12
to vcap...@cloudfoundry.org
ping.  can anyone review?

thanks!

benmccann

unread,
Jun 7, 2012, 5:32:09 PM6/7/12
to vcap...@cloudfoundry.org
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

Patrick Bozeman

unread,
Jun 7, 2012, 6:07:02 PM6/7/12
to vcap...@cloudfoundry.org
+2d.

Thanks

Armand Parris

unread,
Jul 16, 2012, 5:51:08 AM7/16/12
to vcap...@cloudfoundry.org
Hi,

Is there any progress on this?
We also like to use ubuntu 12.

Thanks,
Armand

Ben McCann

unread,
Jul 16, 2012, 11:07:09 AM7/16/12
to vcap...@cloudfoundry.org
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.

Nicholas Kushmerick

unread,
Jul 16, 2012, 2:09:19 PM7/16/12
to vcap...@cloudfoundry.org
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/cloudfoundry/vcap/blob/master/dev_setup/README#L102

-- Nick
--
Nick
phone +1.206.293.5186 · skype nicholaskushmerick

tiger yang

unread,
Jul 26, 2012, 6:33:49 AM7/26/12
to vcap...@cloudfoundry.org
i have use 

export CLOUD_FOUNDRY_EXCLUDED_COMPONENT="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?

Frank Lu

unread,
Jul 26, 2012, 10:20:38 AM7/26/12
to vcap...@cloudfoundry.org
You could try to change this line 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.
--

Frank(mingfan) Lu


Ext. 8004

Tel: 86-21-60349004

VMware Cloudfoundry Service Team
10F, KIC III, No. 333 Songhu Road, Yangpu District. Shanghai 200433



tiger yang

unread,
Jul 26, 2012, 9:32:27 PM7/26/12
to vcap...@cloudfoundry.org
I tried to, but doesn't work.
the same error as above.

3q.

Frank Lu

unread,
Jul 26, 2012, 9:41:14 PM7/26/12
to vcap...@cloudfoundry.org
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://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 

tiger yang

unread,
Jul 26, 2012, 9:52:53 PM7/26/12
to vcap...@cloudfoundry.org
i can install postgresql-client-9.1,but need to install postgresql-client-9.0. 
i have change this line 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

Ben McCann

unread,
Jul 26, 2012, 9:55:46 PM7/26/12
to vcap...@cloudfoundry.org
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.

benmccann

unread,
Aug 2, 2012, 3:20:16 AM8/2/12
to vcap...@cloudfoundry.org
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?

Nicholas Kushmerick

unread,
Aug 2, 2012, 10:33:47 AM8/2/12
to vcap...@cloudfoundry.org
postgresql 9.1 (and bumps to redis, rabbit, mysql) are in progress and coming ASAP.

Ben McCann

unread,
Aug 2, 2012, 11:56:27 AM8/2/12
to vcap...@cloudfoundry.org

Awesome. Thanks

benmccann

unread,
Sep 2, 2012, 7:07:02 PM9/2/12
to vcap...@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

Toriq Pria Digfora

unread,
Sep 2, 2012, 7:49:00 PM9/2/12
to vcap...@cloudfoundry.org
I have a same problem with u , i used an apt-get method for fix it . 
--
Thanks,
Toriq Pria Dhigfora
Meruvian System Integrator
High Performance Computing / Cloud Computing (HPC/CC)

Blog : http://blogs.mervpolis.com/roller/toriq354
Profil : http://facebook.com/toriq354
FB: http://www.facebook.com/meruvian
TW: http://www.twitter.com/meruvian  
Website: http://www.meruvian.org

Harshawardhan Gadgil

unread,
Sep 3, 2012, 1:14:29 PM9/3/12
to vcap...@cloudfoundry.org
Ben,
 
I'll move xulrunner to couchdb soon...Not sure about libpq for postgresql.. somebody else more familiar with libpq/pstgresql can comment on this.
Thanks,

On Sun, Sep 2, 2012 at 4:07 PM, benmccann <benjamin...@gmail.com> wrote:

Ben McCann

unread,
Sep 3, 2012, 1:19:40 PM9/3/12
to vcap...@cloudfoundry.org
Great!  Thank you so much!  (btw, a quick Google of libpq makes it pretty clear that it's a posgresql-only library)

Ben McCann

unread,
Sep 11, 2012, 3:28:48 PM9/11/12
to vcap...@cloudfoundry.org
Hey Harshawardhan.  Any progress on moving xulrunner to couchdb?

Thanks,
Ben

Harshawardhan Gadgil

unread,
Sep 11, 2012, 3:49:39 PM9/11/12
to vcap...@cloudfoundry.org
No sorry, I'll work on this today....

Ben McCann

unread,
Sep 11, 2012, 3:50:14 PM9/11/12
to vcap...@cloudfoundry.org
That's awesome!  Thank you!
--
about.me/benmccann

benmccann

unread,
Sep 21, 2012, 3:55:46 AM9/21/12
to vcap...@cloudfoundry.org
Thanks for fixing this Harshawardhan!
Reply all
Reply to author
Forward
0 new messages