← Back to team overview

cf-charmers team mailing list archive

CF with logging

 

Hi guys,

Now we have working CF with logrouter(trafficcontroller) and loggregator.

My environment: 

JUJU bootstrapped on Ubuntu trusty host.

environments.yaml:

    local:
        type: local  
        network-bridge: virbr0
        # thx to Kapil! It really helps!
        apt-http-proxy: "http://192.168.122.1:8000”; 

1. bootstrap local environment
2. go to directory with bundle. Update it by tag v003
3. delete trusty folder if it exists.
4. deploy CF using 'juju deployer -w 120 -dWvc bundle_v003_local.yaml’ 
5. go to an app folder
6. push an application
7. get logs using ‘cf logs app’ (I’m using modified application from Manuel. just added ‘p “hi from app!”’ to see it in logs)

FYI: From time to time I see that ‘xip.io’ resolving fails:
Creating space myspace in org my-org as admin...
FAILED
Error performing request: Post http://api.192.168.122.199.xip.io/v2/spaces?async=true&inline-relations-depth=1: dial tcp: lookup api.192.168.122.199.xip.io: no such host

I added tag v003 to all repos. v003 - logging implemented
Do not forget to undefine KVM VM (domain) after destroying environment. "juju destroy-environment” doesn’t affect on KVM

Now running CATS. At least quota fails..


-Alexander Prismakov