← Back to team overview

cf-charmers team mailing list archive

Re: Cloud Foundry charm

 

Hi Ben,

What I understood was the IBM charmers team was trying out the cloudfoundry
charm for evaluation purposes.  I don't know of any money behind this
request.  They were simply trying out a charm and emailed me about it.  I
encouraged them to email the list , and they said they tried to email the
maintainer (cf-charmers@xxxxxxxxxxxxxxxxxxx) but never got a response.

As Kevin pointed out we don't know why they are interested in cloudfoundry
when they have softlayer, but perhaps the team does not have the same
access to softlayer.

I didn't know this charm was not supported any more.  If that is the case
perhaps we should start the process to pull this from the store, or update
the readme with unsupported details.  Someone in the community tried to use
it and it didn't work so that is a poor experience on our part.

Thoughts?


   - Matt Bruzek <matthew.bruzek@xxxxxxxxxxxxx>

On Thu, Oct 29, 2015 at 12:54 PM, Benjamin Saller <
benjamin.saller@xxxxxxxxxxxxx> wrote:

> I am sure there is quite a bit of bitrot after a year of not touching
> things here. There is so much that could possibly be wrong. Are they aware
> that things are unmaintained? They know there isn't going to be support on
> this deployment from us or Pivotal? Is there money behind this? What is the
> motivation, did BOSH fail them as its failed so many others?
>
> -Ben
>
>
> On Thu, Oct 29, 2015 at 7:32 AM Matt Bruzek <matthew.bruzek@xxxxxxxxxxxxx>
> wrote:
>
>> Cory and Ben,
>>
>> IBM is trying to use the Cloud Foundry charm and was not able to get it
>> running.  Can someone give them some assistance on getting this charm
>> working?
>>
>> In a reply please copy me, Kevin and suchvenu@xxxxxxxxxx because we will
>> talk about this at the next ibm charmer meeting.
>>
>>    - Matt Bruzek <matthew.bruzek@xxxxxxxxxxxxx>
>>
>> ---------- Forwarded message ----------
>> From: Sasikumar R Vayyat <savayyat@xxxxxxxxxx>
>> Date: Wed, Oct 21, 2015 at 8:31 AM
>> Subject: Cloud Foundry charm
>> To: antonio.rosales@xxxxxxxxxxxxx, Geetha S1 <geethas1@xxxxxxxxxx>,
>> kevin.monroe@xxxxxxxxxxxxx, matthew.bruzek@xxxxxxxxxxxxx
>> Cc: Suchitra Venugopal1 <suchvenu@xxxxxxxxxx>
>>
>>
>> Hi,
>>
>> I have run into a problem with deploying the Cloud Foundry(CF) charm with
>> the various CF components not being deployed. I sent out a note on juju
>> list as well as the CF charm contact but yet to receive a response. Any one
>> who could help on this?
>>
>> [image: Inactive hide details for Here are the details:]Here are the
>> details:
>> Here are the details:
>> I branched  Cloudfoundry charm from
>> lp:~cf-charmers/charms/trusty/cloudfoundry/trunk on Ubuntu Trusty server.
>>
>> Set admin_password  and admin_secret in config.yaml
>>
>> Ran cfdeploy <cf admin password> -  this I tried with a local (LXC) as
>> well as on the Amazon cloud.
>>
>> In both cases the deployment is stuck:
>> Setting up virutalenv.
>> Bootstrapping |...                             | 10.0% 0:00:00[sudo]
>> password for charm:
>> Waiting for CloudFoundry API endpoint |......................          |
>> 70.0% 5:38:23]
>>
>>
>> ' juju status' shows that cloudfoundry charm is deployed and there is no
>> error in it's deployment status. No other CF charms have been deployed.
>>
>> The tail of the cfdeploy log:
>>
>> process: juju switch (0)
>> amazon
>> process: juju switch (0)
>> Added charm "local:trusty/cloudfoundry-212" to the environment.
>> process: juju deploy --config=/tmp/tmpvOsuAl.yaml
>> --repository=/tmp/tmpTnJ0NE local:trusty/cloudfoundry (0)
>> process: juju expose cloudfoundry (0)
>> (process:20238): GLib-CRITICAL **: g_slice_set_config: assertion
>> 'sys_page_size == 0' failed
>> (firefox:20238): GLib-GObject-WARNING **: Attempt to add property
>> GnomeProgram::sm-connect after class was initialised
>> (firefox:20238): GLib-GObject-WARNING **: Attempt to add property
>> GnomeProgram::show-crash-dialog after class was initialised
>> (firefox:20238): GLib-GObject-WARNING **: Attempt to add property
>> GnomeProgram::display after class was initialised
>> (firefox:20238): GLib-GObject-WARNING **: Attempt to add property
>> GnomeProgram::default-icon after class was initialised
>> process: xdg-open http://<IP ADDR>:8888/ <http://%3cip%20addr%3e:8888/>
>> (0)
>>
>> Note that I closed the browser that opened with the above command.
>>
>> On the cloudfoundry/0 container:
>> A build directory has been created  in the deployed charm directory which
>> contains bundles.yaml and all the cloud foundry charms files -
>> unit-cloudfoundry-0/charm/build/19
>>
>> The cloudfoundry/0 juju log file tail:
>>
>> 2015-10-08 04:40:55 INFO config-changed Fetched 175 kB in 0s (1411 kB/s)
>> 2015-10-08 04:40:55 INFO config-changed Selecting previously unselected
>> package python-markupsafe.
>> 2015-10-08 04:40:55 INFO config-changed (Reading database ... 32265 files
>> and directories currently installed.)
>> 2015-10-08 04:40:55 INFO config-changed Preparing to unpack
>> .../python-markupsafe_0.18-1build2_amd64.deb ...
>> 2015-10-08 04:40:55 INFO config-changed Unpacking python-markupsafe
>> (0.18-1build2) ...
>> 2015-10-08 04:40:55 INFO config-changed Selecting previously unselected
>> package python-jinja2.
>> 2015-10-08 04:40:55 INFO config-changed Preparing to unpack
>> .../python-jinja2_2.7.2-2_all.deb ...
>> 2015-10-08 04:40:55 INFO config-changed Unpacking python-jinja2 (2.7.2-2)
>> ...
>> 2015-10-08 04:40:55 INFO config-changed Setting up python-markupsafe
>> (0.18-1build2) ...
>> 2015-10-08 04:40:55 INFO config-changed Setting up python-jinja2
>> (2.7.2-2) ...
>> 2015-10-08 04:40:56 INFO juju-log Making dir /etc/init root:root 555
>> 2015-10-08 04:40:56 INFO juju-log Writing file /etc/init/reconciler.conf
>> root:root 444
>> 2015-10-08 04:40:56 INFO juju-log Making dir /etc/juju-deployer root:root
>> 555
>> 2015-10-08 04:40:56 INFO juju-log Writing file
>> /etc/juju-deployer/server.conf root:root 444
>> 2015-10-08 04:40:56 INFO config-changed reconciler start/running, process
>> 16227
>> 2015-10-08 04:40:56 INFO juju-log Restarting service: bundle
>> 2015-10-08 04:41:00 INFO juju-log {"services": {"haproxy": {"expose":
>> true, "charm": "cs:~cf-charmers/trusty/haproxy-v1", "constraints":
>> "arch=amd64 instance-type=m3.medium"}, "cc-clock": {"to": ["cc"], "charm":
>> "cs:~cf-charmers/trusty/cloud-controller-clock-v3", "constraints":
>> "arch=amd64 root-disk=10G"}, "cc-worker": {"to": ["cc"], "charm":
>> "cs:~cf-charmers/trusty/cloud-controller-worker-v3", "constraints":
>> "arch=amd64 root-disk=10G"}, "nats": {"to": ["router"], "charm":
>> "cs:~cf-charmers/trusty/nats-v1", "constraints": "arch=amd64
>> instance-type=m3.medium"}, "loggregator-trafficcontrol": {"charm":
>> "cs:~cf-charmers/trusty/loggregator-trafficcontroller-v3", "constraints":
>> "arch=amd64 instance-type=m3.medium"}, "router": {"charm":
>> "cs:~cf-charmers/trusty/router-v3", "constraints": "arch=amd64
>> instance-type=m3.medium"}, "cloudfoundry": {"expose": true, "charm":
>> "cs:~cf-charmers/trusty/cloudfoundry"}, "cc": {"charm":
>> "cs:~cf-charmers/trusty/cloud-controller-v3", "constraints": "arch=amd64
>> root-disk=12G mem=12G"}, "hm": {"to": ["dea"], "charm":
>> "cs:~cf-charmers/trusty/hm9000-v2", "constraints": "arch=amd64
>> instance-type=m3.medium"}, "doppler": {"to":
>> ["loggregator-trafficcontrol"], "charm":
>> "cs:~cf-charmers/trusty/doppler-v1", "constraints": "arch=amd64
>> instance-type=m3.medium"}, "etcd": {"to": ["dea"], "charm":
>> "cs:~hazmat/trusty/etcd", "constraints": "arch=amd64
>> instance-type=m3.medium"}, "mysql": {"to": ["login"], "charm":
>> "cs:trusty/mysql", "constraints": "arch=amd64 instance-type=m3.medium"},
>> "uaa": {"to": ["login"], "charm": "cs:~cf-charmers/trusty/uaa-v1",
>> "constraints": "arch=amd64 instance-type=m3.medium"}, "nats-sf": {"to":
>> ["router"], "charm": "cs:~cf-charmers/trusty/nats-stream-forwarder-v1",
>> "constraints": "arch=amd64 instance-type=m3.medium"}, "login": {"charm":
>> "cs:~cf-charmers/trusty/login-v1", "constraints": "arch=amd64
>> instance-type=m3.medium"}, "webadmin": {"expose": true, "charm":
>> "cs:~cf-charmers/trusty/cf-webadmin"}, "collector": {"to": ["haproxy"],
>> "charm": "cs:~cf-charmers/trusty/collector-v1", "constraints": "arch=amd64
>> instance-type=m3.medium"}, "dea": {"charm":
>> "cs:~cf-charmers/trusty/dea-v3", "constraints": "arch=amd64 mem=5G"}},
>> "series": "trusty", "relations": [["hm:dea", ["dea:dea"]],
>> ["cc-clock:orchestrator", ["cloudfoundry:orchestrator"]], ["login:uaa",
>> ["uaa:uaa"]], ["cc-clock:ccdb", ["cc:ccdb"]],
>> ["loggregator-trafficcontrol:cc", ["cc:cc"]], ["etcd:client",
>> ["cc-clock:etcd", "cc-worker:etcd", "router:etcd", "doppler:etcd",
>> "cc:etcd", "hm:etcd", "dea:etcd", "loggregator-trafficcontrol:etcd"]],
>> ["nats:orchestrator", ["cloudfoundry:orchestrator"]], ["cc-worker:ltc",
>> ["loggregator-trafficcontrol:ltc"]], ["haproxy:orchestrator",
>> ["cloudfoundry:orchestrator"]], ["hm:orchestrator",
>> ["cloudfoundry:orchestrator"]], ["cc-worker:ccdb", ["cc:ccdb"]],
>> ["collector:orchestrator", ["cloudfoundry:orchestrator"]],
>> ["cc-clock:doppler", ["doppler:doppler"]],
>> ["loggregator-trafficcontrol:nats", ["nats:nats"]], ["nats-sf:nats",
>> ["nats:nats"]], ["cc-clock:uaa", ["uaa:uaa"]], ["dea:orchestrator",
>> ["cloudfoundry:orchestrator"]], ["dea:nats", ["nats:nats"]],
>> ["haproxy:router", ["router:router"]], ["uaa:nats", ["nats:nats"]],
>> ["router:nats", ["nats:nats"]], ["login:nats", ["nats:nats"]],
>> ["cc-clock:nats", ["nats:nats"]], ["cc-worker:cc", ["cc:cc"]], ["cc:ltc",
>> ["loggregator-trafficcontrol:ltc"]], ["cc:orchestrator",
>> ["cloudfoundry:orchestrator"]], ["cc-worker:nats", ["nats:nats"]],
>> ["cc:doppler", ["doppler:doppler"]], ["cc:nats", ["nats:nats"]],
>> ["cc-worker:doppler", ["doppler:doppler"]], ["doppler:nats",
>> ["nats:nats"]], ["uaa:orchestrator", ["cloudfoundry:orchestrator"]],
>> ["cc:dea", ["dea:dea"]], ["hm:cc", ["cc:cc"]], ["cc-clock:ltc",
>> ["loggregator-trafficcontrol:ltc"]], ["dea:router", ["router:router"]],
>> ["cc:uaa", ["uaa:uaa"]], ["cc-worker:orchestrator",
>> ["cloudfoundry:orchestrator"]], ["nats-sf:orchestrator",
>> ["cloudfoundry:orchestrator"]], ["cc-worker:uaa", ["uaa:uaa"]],
>> ["router:orchestrator", ["cloudfoundry:orchestrator"]], ["hm:nats",
>> ["nats:nats"]], ["dea:doppler", ["doppler:doppler"]], ["cc-clock:cc",
>> ["cc:cc"]], ["login:orchestrator", ["cloudfoundry:orchestrator"]],
>> ["loggregator-trafficcontrol:doppler", ["doppler:doppler"]], ["dea:ltc",
>> ["loggregator-trafficcontrol:ltc"]], ["doppler:ltc",
>> ["loggregator-trafficcontrol:ltc"]], ["router:ltc",
>> ["loggregator-trafficcontrol:ltc"]], ["doppler:orchestrator",
>> ["cloudfoundry:orchestrator"]], ["collector:nats", ["nats:nats"]],
>> ["uaa:credentials", ["cloudfoundry:credentials"]],
>> ["loggregator-trafficcontrol:orchestrator", ["cloudfoundry:orchestrator"]],
>> ["router:doppler", ["doppler:doppler"]], ["mysql:db", ["uaa:db", "cc:db"]],
>> ["webadmin:db", ["mysql:db"]], ["webadmin:uaa", ["uaa:uaa"]],
>> ["webadmin:uaadb", ["uaa:uaadb"]], ["webadmin:ccdb", ["cc:ccdb"]],
>> ["webadmin:nats", ["nats:nats"]], ["webadmin:orchestrator",
>> ["cloudfoundry:orchestrator"]]]}
>> 2015-10-08 04:41:01 INFO juju-log Skipping service restart: reconciler
>> 2015-10-08 04:41:01 INFO juju-log Skipping service restart: bundle
>>
>> The /etc/juju-deployer/server.conf file contents:
>>
>> {
>>     "juju": {
>>         "api_address": "wss://10.0.3.1:17070",
>>         "environment": "",
>>         "environment_uuid": "379......................7a9"
>>     },
>>     "credentials": {
>>         "user": "user-admin",
>>         "password": "9a0...........................d91"
>>     },
>>     "server": {
>>         "address": "0.0.0.0",
>>         "port": 8888,
>>         "repository": "build"
>>     },
>>     "runtime": {
>>         "observe": true,
>>         "modify": true,
>>         "poll_interval": 20
>>     }
>> }
>>
>> The reconciler is running:
>> # ps -ef | grep reconciler/
>> root     16227     1  1 10:10 ?        00:06:10 python reconciler/app.py
>>
>> I am able to ping xip.io from the container.
>>
>> Not sure as why the Cloudfoundry packages (dea, router etc) are not
>> setup. Anything to be done for this to happen?
>>
>>
>>
>>
>>
>>
>> Regards,
>> Sasi
>>
>> Platform Technology Center, ISL, SWG
>> Seat EGLC-6F-B102,
>> 6th Floor, Embassy Golf Link, C Block
>> Off Koramangala Indiranagar Ring Road, Bangalore, 560 071
>> Phone: +91-80-49493602
>> Email: savayyat@xxxxxxxxxx
>>
>>

GIF image


Follow ups

References