Date
1 - 6 of 6
no more stdout in app files since upgrade to 214
ramonskie
okay so no problem there
the only thing now is that there is no streaming logs with the cf logs command from my APP only RTS any ideas there? -- View this message in context: http://cf-dev.70369.x6.nabble.com/no-more-stdout-in-app-files-since-upgrade-to-214-tp1197p1217.html Sent from the CF Dev mailing list archive at Nabble.com. |
|
James Bayer
here are some things that should help us troubleshoot:
toggle quoted message
Show quoted text
does "cf logs APPNAME --recent" show anything different? how did you create your deployment manifest? how many availability zones do you have in your deployment? how many traffic controllers and doppler instances do you have? is the dea_logging_agent co-located with the DEAs and your "runner" VMs configured with jobs something like this [0]? with our installations, we typically use the affectance tests (CATS) [1] to cover platform functionality. there is also a set of acceptance tests just for loggregator [2]. [0] https://github.com/cloudfoundry/cf-release/blob/master/example_manifests/minimal-aws.yml#L229-L239 [1] https://github.com/cloudfoundry/cf-acceptance-tests [2] https://github.com/cloudfoundry/loggregator/tree/develop/bosh/jobs/loggregator-acceptance-tests On Mon, Aug 17, 2015 at 1:11 AM, ramonskie <ramon.makkelie(a)klm.com> wrote:
okay so no problem there --
Thank you, James Bayer |
|
ramonskie
- cf logs APPNAME --recent does not show any difference
- i created my deployment manually because spiff templates do not work with openstack without neutron so i i update my deployment manifest with the template changes that are reported in the release notes and i check it with the templates in teh templates folder of cf-release - only one availability zone - 1 loggregator_traffic 2 doppler instances see manifest --- <% director_uuid = "1a14da86-ea9b-4e56-9831-362151952889" protocol = "http" cf_release = "214" cf_services_release = "0.3-dev" ip_address = "172.21.42.135" cc_api_url = "http://api.cf.eden.klm.com" common_password = "SECRET" root_domain = "cf.eden.com" deployment_name = "cloudfoundry" ip_mysql_node = "172.21.42.137" %> name: <%= deployment_name %> director_uuid: <%= director_uuid %> releases: - name: cf version: <%= cf_release %> - name: cf-services version: <%= cf_services_release %> - name: cf-services-contrib version: 4.1-dev - name: cf-mysql version: 6 compilation: workers: 4 network: default reuse_compilation_vms: true cloud_properties: instance_type: m1.small update: canaries: 1 canary_watch_time: 30000-300000 update_watch_time: 30000-300000 max_in_flight: 2 networks: - name: floating type: vip cloud_properties: security_groups: - open - name: default type: dynamic cloud_properties: security_groups: - open resource_pools: - name: small network: default size: 6 stemcell: name: bosh-openstack-kvm-ubuntu-trusty-go_agent version: 3031 cloud_properties: instance_type: m1.small - name: medium network: default size: 8 stemcell: name: bosh-openstack-kvm-ubuntu-trusty-go_agent version: 3031 cloud_properties: instance_type: m1.medium - name: dea network: default size: 9 stemcell: name: bosh-openstack-kvm-ubuntu-trusty-go_agent version: 3031 cloud_properties: instance_type: dea availability_zone: z210 - name: services network: default size: 2 stemcell: name: bosh-openstack-kvm-ubuntu-lucid-go_agent version: 2641 cloud_properties: instance_type: m1.small - name: services-contrib network: default size: 4 stemcell: name: bosh-openstack-kvm-ubuntu-lucid-go_agent version: 2641 cloud_properties: instance_type: m1.small jobs: - name: ha_proxy_z1 release: cf templates: - name: haproxy - name: metron_agent instances: 1 resource_pool: medium networks: - name: default default: [dns, gateway] - name: floating static_ips: <%= ip_address %> properties: ha_proxy: ssl_pem: false disable_http: false networks: z1: apps: default management: default router: port: 80 servers: z1: - 172.21.42.190 z2: - 172.21.42.157 metron_agent: zone: z1 - name: database templates: - name: postgres - name: metron_agent release: cf instances: 1 resource_pool: small persistent_disk: 32786 networks: - name: default default: [dns, gateway] - name: floating static_ips: - 172.21.42.138 properties: db: databases metron_agent: zone: z1 - name: common2 templates: - name: nats - name: uaa - name: collector - name: metron_agent release: cf instances: 1 resource_pool: medium persistent_disk: 16384 networks: - name: default default: [dns, gateway] - name: floating static_ips: - 172.21.42.136 properties: metron_agent: zone: z1 - name: dea templates: - name: dea_next - name: dea_logging_agent - name: metron_agent release: cf instances: 9 resource_pool: dea networks: - name: default default: [dns, gateway] properties: dea_next: zone: z1 metron_agent: zone: z1 networks: apps: default update: max_in_flight: 1 - name: etcd_z1 release: cf templates: - name: etcd release: cf - name: etcd_metrics_server release: cf - name: metron_agent release: cf instances: 1 persistent_disk: 10024 resource_pool: small networks: - name: default default: [dns, gateway] - name: floating static_ips: - 172.21.42.189 properties: metron_agent: zone: z1 - name: hm9000_z1 release: cf templates: - name: hm9000 - name: metron_agent instances: 1 resource_pool: small networks: - name: default default: [dns, gateway] properties: etcd_ips: - 172.21.42.189 metron_agent: zone: z1 - name: controller_z1 templates: - name: cloud_controller_ng - name: metron_agent release: cf instances: 1 resource_pool: medium networks: - name: default default: [dns, gateway] properties: metron_agent: zone: z1 - name: controller_z2 templates: - name: cloud_controller_ng - name: metron_agent release: cf instances: 1 resource_pool: medium networks: - name: default default: [dns, gateway] properties: metron_agent: zone: z1 - name: controller_worker templates: - name: cloud_controller_worker - name: metron_agent release: cf instances: 1 resource_pool: small networks: - name: default default: [dns, gateway] properties: metron_agent: zone: z1 - name: controller_clock templates: - name: cloud_controller_clock - name: metron_agent release: cf instances: 1 resource_pool: small networks: - name: default default: [dns, gateway] properties: metron_agent: zone: z1 - name: doppler templates: - name: doppler - name: syslog_drain_binder - name: metron_agent release: cf instances: 2 # Scale out as necessary resource_pool: medium networks: - name: default default: [dns, gateway] properties: doppler: zone: z1 metron_agent: zone: z1 networks: apps: default - name: loggregator-trafficecontroller templates: - name: loggregator_trafficcontroller - name: metron_agent release: cf instances: 1 # Scale out as necessary resource_pool: small networks: - name: default default: [dns, gateway] properties: traffic_controller: zone: z1 metron_agent: zone: z1 networks: apps: default - name: router_z1 templates: - name: gorouter - name: metron_agent release: cf instances: 1 resource_pool: medium networks: - name: default default: [dns, gateway] - name: floating static_ips: 172.21.42.190 properties: metron_agent: zone: z1 - name: router_z2 templates: - name: gorouter - name: metron_agent release: cf instances: 1 resource_pool: medium networks: - name: default default: [dns, gateway] - name: floating static_ips: 172.21.42.157 properties: metron_agent: zone: z1 - name: mysql release: cf-mysql template: mysql instances: 1 resource_pool: services persistent_disk: 16384 networks: - name: default default: [dns, gateway] - name: floating static_ips: - <%= ip_mysql_node %> properties: admin_password: <%= common_password %> max_connections: 1500 max_user_connections: 40 - name: cf-mysql-broker release: cf-mysql template: cf-mysql-broker instances: 1 resource_pool: services networks: - name: default default: [dns, gateway] properties: max_user_connections_default: ~ auth_username: services auth_password: <%= common_password %> cc_api_url: <%= cc_api_url %> mysql_node: host: <%= ip_mysql_node %> admin_password: <%= common_password %> services: - name: p-mysql id: 44b26033-1f54-4087-b7bc-da9652c2a539 description: MySQL service for application development and testing tags: - mysql - relational max_db_per_node: 250 metadata: displayName: "Pivotal MySQL Dev" imageUrl: longDescription: "A MySQL relational database service for development and testing. The MySQL server is multi-tenant and is not replicated." providerDisplayName: "Pivotal Software" documentationUrl: supportUrl: "http://support.cloudfoundry.com/" plans: - name: default id: ab08f1bc-e6fc-4b56-a767-ee0fea6e3f20 description: Shared MySQL Server, 50MB persistent disk, 40 max concurrent connections max_storage_mb: 50 metadata: costs: - amount: usd: 0.0 unit: MONTHLY bullets: - Shared MySQL server - 50 MB storage - 40 concurrent connections - name: service_gateways release: cf-services-contrib templates: - name: postgresql_gateway_ng - name: mongodb_gateway - name: rabbit_gateway instances: 1 resource_pool: services-contrib networks: - name: default default: [dns, gateway] properties: uaa_client_id: cf uaa_endpoint: http://uaa.<%= root_domain %> uaa_client_auth_credentials: username: services password: <%= common_password %> - name: postgresql_service_node release: cf-services-contrib template: postgresql_node_ng instances: 1 resource_pool: services-contrib networks: - name: default default: [dns, gateway] persistent_disk: 10000 properties: postgresql_node: db_connect_timeout: 30 plan: default - name: mongodb_node template: mongodb_node_ng release: cf-services-contrib instances: 1 resource_pool: services-contrib persistent_disk: 16384 networks: - name: default default: [dns, gateway] properties: plan: default uaa_client_id: cf uaa_endpoint: http://uaa.<%= root_domain %> uaa_client_auth_credentials: username: services password: <%= common_password %> service_auth_tokens: mongodb_core: c1oudc0wc1oudc0w - name: rabbit_node template: rabbit_node_ng release: cf-services-contrib instances: 1 resource_pool: services-contrib persistent_disk: 16384 networks: - name: default default: [dns, gateway] properties: plan: default uaa_client_id: cf uaa_endpoint: http://uaa.<%= root_domain %> uaa_client_auth_credentials: username: services password: <%= common_password %> properties: domain: <%= root_domain %> system_domain: <%= root_domain %> system_domain_organization: "cf.eden.klm.com" app_domains: - <%= root_domain %> support_address: https://www9.klm.com/corporate/pse/confluence/display/EDN/Cloud+Foundry+v2 description: "Cloud Foundry v2 support by the KLM CCWD eDEn team" ssl: skip_cert_verify: true hm9000: url: <%= protocol %>://hm9000.<%= root_domain %> networks: apps: default management: default dropsonde: enabled: true loggregator: maxRetainedLogMessages: 100 debug: false blacklisted_syslog_ranges: ~ doppler: maxRetainedLogMessages: 100 debug: false blacklisted_syslog_ranges: ~ unmarshaller_count: 5 port: 4443 loggregator_endpoint: shared_secret: ilovesecrets logger_endpoint: use_ssl: false port: 80 doppler_endpoint: shared_secret: ilovesecrets metron_endpoint: shared_secret: ilovesecrets metron_agent: deployment: openstack nats: machines: - 172.21.42.136 address: 172.21.42.136 port: 4222 user: nats password: <%= common_password %> authorization_timeout: 10 use_gnatsd: true etcd: machines: - 172.21.42.189 etcd_ips: - 172.21.42.189 etcd_metrics_server: nats: machines: - 172.21.42.136 username: nats password: <%= common_password %> router: status: port: 8080 user: gorouter password: <%= common_password %> dea: &dea memory_mb: 6144 disk_mb: 26384 directory_server_protocol: <%= protocol %> memory_overcommit_factor: 3 disk_overcommit_factor: 1 default_health_check_timeout: 60 advertise_interval_in_seconds: 5 heartbeat_interval_in_seconds: 10 allow_host_access: true dea_next: *dea databases: &databases db_scheme: postgres address: 172.21.42.138 port: 5524 roles: - tag: admin name: ccadmin password: <%= common_password %> - tag: admin name: uaaadmin password: <%= common_password %> databases: - tag: cc name: ccdb citext: true - tag: uaa name: uaadb citext: true ccdb: address: 172.21.42.138 databases: - name: ccdb tag: cc db_scheme: postgres port: 5524 roles: - name: ccadmin tag: admin password: <%= common_password %> uaadb: db_scheme: postgresql address: 172.21.42.138 port: 5524 roles: - tag: admin name: uaaadmin password: <%= common_password %> databases: - tag: uaa name: uaadb citext: true serialization_data_server: port: 8080 logging_level: debug upload_token: 8f7COGvThwlmulIzAgOHxMXurBrG364k upload_timeout: 10 collector: deployment_name: cloudfoundry use_tsdb: false use_aws_cloudwatch: false use_datadog: true datadog: api_key: 5beac882c56fc547f0f960e1080b699e application_key: cloudfoundry service_lifecycle: serialization_data_server: - 172.21.42.136 service_plans: postgresql: default: unique_id: 'ef3d543c-0a1f-4db4-ad80-cc2a2f144e17' description: "Shared server, shared VM, 1MB memory, 10MB storage, 10 connections" free: true job_management: high_water: 1400 low_water: 100 configuration: lifecycle: enable: false warden: enable: false mongodb: default: unique_id: "2a42b2de-507a-4775-a23f-dd5303ed5903" description: "Developer, shared VM, 250MB storage, 20 connections" free: true job_management: high_water: 230 low_water: 20 configuration: capacity: 125 max_clients: 20 quota_files: 4 quota_data_size: 240 enable_journaling: true backup: enable: false lifecycle: enable: false serialization: enable snapshot: quota: 1 rabbit: default: unique_id: "56868d0c-00ec-4658-b757-28a6beb03ce0" description: "Developer, 250MB storage, 10 connections" free: true job_management: high_water: 230 low_water: 20 configuration: capacity: 125 max_clients: 10 quota_files: 4 quota_data_size: 240 enable_journaling: true bandwidth_quotas: per_second: 1 per_day: 10 time_window: 86400 backup: enable: false lifecycle: enable: false serialization: enable snapshot: quota: 1 postgresql_gateway: token: c1oudc0wc1oudc0w default_plan: default service_timeout: 30 node_timeout: 30 supported_versions: ["9.3"] version_aliases: current: "9.3" cc_api_version: v2 postgresql_node: supported_versions: ["9.3"] default_version: "9.3" max_tmp: 900 password: c1oudc0wc1oudc0w mongodb_gateway: token: c1oudc0wc1oudc0w default_plan: default supported_versions: ["2.2"] version_aliases: current: "2.2" cc_api_version: v2 mongodb_node: supported_versions: ["2.2"] default_version: "2.2" max_tmp: 900 m_actions: ["restart"] #restarts crashed Mongodb databases rabbit_gateway: token: c1oudc0wc1oudc0w default_plan: "default" supported_versions: ["3.0"] version_aliases: current: "3.0" cc_api_version: v2 rabbit_node: supported_versions: ["3.0"] default_version: "3.0" max_tmp: 900 m_actions: ["restart"] #restarts crashed rabbitMQ nodes cc_api_version: v2 cc: &cc allow_app_ssh_access: false logging_level: debug2 db_logging_level: debug2 srv_api_uri: <%= protocol %>://api.<%= root_domain %> cc_partition: default db_encryption_key: "b963127302433579" bootstrap_admin_email: "GRPAA927(a)klm.com" bulk_api_password: <%= common_password %> internal_api_user: "internal_user" internal_api_password: <%= common_password %> uaa_resource_id: cloud_controller staging_upload_user: uploaduser staging_upload_password: <%= common_password %> resource_pool: resource_directory_key: <%= root_domain %>-cc-resources-new fog_connection: provider: "AWS" host: "s3.eden.klm.com" scheme: "http" port: 80 aws_signature_version: "2" aws_access_key_id: "SECRET" aws_secret_access_key: "SECRET" packages: app_package_directory_key: <%= root_domain %>-cc-packages-new fog_connection: provider: "AWS" host: "s3.eden.com" scheme: "http" port: 80 aws_signature_version: "2" aws_access_key_id: "SECRET" aws_secret_access_key: "SECRET" droplets: droplet_directory_key: <%= root_domain %>-cc-droplets-new fog_connection: provider: "AWS" host: "s3.eden.com" scheme: "http" port: 80 aws_signature_version: "2" aws_access_key_id: "SECRET" aws_secret_access_key: "SECRET" buildpacks: buildpack_directory_key: <%= root_domain %>-cc-buildpacks-new fog_connection: provider: "AWS" host: "s3.eden.com" scheme: "http" port: 80 aws_signature_version: "2" aws_access_key_id: "SECRET" aws_secret_access_key: "SECRET" quota_definitions: free: non_basic_services_allowed: true total_services: 4 total_routes: 1000 memory_limit: 8192 paid: non_basic_services_allowed: true total_services: 32 total_routes: 1000 memory_limit: 204800 runaway: non_basic_services_allowed: true total_services: 500 total_routes: 1000 memory_limit: 204800 trial: non_basic_services_allowed: false total_services: 10 total_routes: 1000 memory_limit: 2048 trial_db_allowed: true default_quota_definition: free newrelic: license_key: 21ac88fa53748a364b20697645321a81853a0251 hm9000_noop: false system_buildpacks: - name: staticfile_buildpack package: buildpack_staticfile - name: java_buildpack package: buildpack_java - name: ruby_buildpack package: buildpack_ruby - name: nodejs_buildpack package: buildpack_nodejs - name: go_buildpack package: buildpack_go - name: python_buildpack package: buildpack_python - name: php_buildpack package: buildpack_php - name: binary_buildpack package: buildpack_binary default_buildpacks: - name: staticfile_buildpack package: buildpack_staticfile - name: java_buildpack package: buildpack_java - name: ruby_buildpack package: buildpack_ruby - name: nodejs_buildpack package: buildpack_nodejs - name: go_buildpack package: buildpack_go - name: python_buildpack package: buildpack_python - name: php_buildpack package: buildpack_php - name: binary_buildpack package: buildpack_binary install_buildpacks: - name: staticfile_buildpack package: buildpack_staticfile - name: java_buildpack package: buildpack_java - name: ruby_buildpack package: buildpack_ruby - name: nodejs_buildpack package: buildpack_nodejs - name: go_buildpack package: buildpack_go - name: python_buildpack package: buildpack_python - name: php_buildpack package: buildpack_php - name: binary_buildpack package: buildpack_binary security_group_definitions: - name: public_networks rules: - protocol: all destination: 0.0.0.0-9.255.255.255 - protocol: all destination: 11.0.0.0-169.253.255.255 - protocol: all destination: 169.255.0.0-172.15.255.255 - protocol: all destination: 172.32.0.0-192.167.255.255 - protocol: all destination: 192.169.0.0-255.255.255.255 - protocol: all destination: 171.0.0.0-171.255.255.255 - protocol: all destination: 172.0.0.0-175.255.255.255 - protocol: all destination: 10.0.0.0-11.255.255.255 - name: dns rules: - protocol: tcp destination: 0.0.0.0/0 ports: '53' - protocol: udp destination: 0.0.0.0/0 ports: '53' default_running_security_groups: ["public_networks", "dns"] default_staging_security_groups: ["public_networks", "dns"] ccng: *cc login: protocol: http links: home: http://console.<%= root_domain %> passwd: http://console.<%= root_domain %>/password_resets/new signup: http://console.<%= root_domain %>/register uaa: url: <%= protocol %>://uaa.<%= root_domain %> spring_profiles: postgresql no_ssl: <%= protocol == "http" %> catalina_opts: -Xmx768m -XX:MaxPermSize=256m resource_id: account_manager jwt: signing_key: | -----BEGIN RSA PRIVATE KEY----- MIICXAIBAAKBgQDHFr+KICms+tuT1OXJwhCUmR2dKVy7psa8xzElSyzqx7oJyfJ1 JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMXqHxf+ZH9BL1gk9Y6kCnbM5R6 -----END RSA PRIVATE KEY----- verification_key: | -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHFr+KICms+tuT1OXJwhCUmR2d -----END PUBLIC KEY----- cc: client_secret: <%= common_password %> admin: client_secret: <%= common_password %> batch: username: batchuser password: <%= common_password %> client: autoapprove: - cf - vmc - my - micro - support-signon - login - styx clients: login: override: true scope: openid authorities: oauth.login secret: c1oudc0w authorized-grant-types: authorization_code,client_credentials,refresh_token redirect-uri: http://login.<%= root_domain %> notifications: secret: <%= common_password %> authorities: cloud_controller.admin,scim.read authorized-grant-types: client_credentials servicesmgmt: override: true secret: serivcesmgmtsecret scope: openid,cloud_controller.read,cloud_controller.write authorities: uaa.resource,oauth.service,clients.read,clients.write,clients.secret authorized-grant-types: authorization_code,client_credentials,password,implicit redirect-uri: http://servicesmgmt.<%= root_domain %>/auth/cloudfoundry/callback autoapprove: true doppler: override: true authorities: uaa.resource secret: ilovesecrets cloud_controller_username_lookup: authorities: scim.userids secret: <%= common_password %> gorouter: authorities: clients.read,clients.write,clients.admin,route.admin,route.advertise authorized-grant-types: client_credentials,refresh_token scope: openid,cloud_controller_service_permissions.read secret: <%= common_password %> scim: userids_enabled: true users: - admin|<%= common_password %>|scim.write,scim.read,openid,cloud_controller.admin,uaa.admin,password.write - services|<%= common_password %>|scim.write,scim.read,openid,cloud_controller.admin - cloudfoundry|SECRET|scim.write,scim.read,openid,cloud_controller.admin -- View this message in context: http://cf-dev.70369.x6.nabble.com/no-more-stdout-in-app-files-since-upgrade-to-214-tp1197p1231.html Sent from the CF Dev mailing list archive at Nabble.com. |
|
CF Runtime
Hi,
toggle quoted message
Show quoted text
What version of the cf cli are you using? There was an update for logging in cf v208 that changed the endpoint. Thanks, Joseph & Dan, OSS Release Integration Team On Mon, Aug 17, 2015 at 7:26 AM, ramonskie <ramon.makkelie(a)klm.com> wrote:
- cf logs APPNAME --recent does not show any difference |
|
ramonskie
i use cf cli 6.12.2 (so the latest)
-- View this message in context: http://cf-dev.70369.x6.nabble.com/no-more-stdout-in-app-files-since-upgrade-to-214-tp1197p1275.html Sent from the CF Dev mailing list archive at Nabble.com. |
|
ramonskie
i removed the following
nats: authorization_timeout: 10 use_gnatsd: true changed dea: &dea to dea_next: and removed dea_next: *dea and it seems to log App/0 again please note that because of this change all dea's where reconfigured -- View this message in context: http://cf-dev.70369.x6.nabble.com/no-more-stdout-in-app-files-since-upgrade-to-214-tp1197p1294.html Sent from the CF Dev mailing list archive at Nabble.com. |
|