log bundle generated is missing several services logs for different namespaces - VCF Automation 9.1 / 9.1.1
search cancel

log bundle generated is missing several services logs for different namespaces - VCF Automation 9.1 / 9.1.1

book

Article ID: 463761

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

  • reviewing an extracted log bundle of VCF Automation 9.1.1 shows that several folder are missing in folder services-logs
    • the default folders in services-logs folders are equivalent to namespaces used for VCF Automation 9.1.1: kube-system, prelude, vcd-migrator, vmsp-platform, vmsp-policies
  • the existing folder in services-logs seem to miss logs for several services

  • reviewing the file debug/LogsCollector.status.json shows different stages in failure for example
        {
          "key": "StreamFromStorageErrors/support-bundle-########-####-####-####-###########1/services-logs",
          "phase": "Failure",
          "context": {
            "bucket": "support-bundle-########-####-####-####-###########1",
            "prefix": "services-logs"
          },
          "errors": [
            "failed to list objects in bucket support-bundle-########-####-####-####-###########1 with prefix services-logs: operation error S3: ListObjectsV2, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Get \"https://seaweedfs-s3.vmsp-platform.svc.cluster.local:8443/support-bundle-########-####-####-####-###########1?continuation-token=services-logs%2Fprelude%2Fhostnamej%2Fprovisioning-service-app%2Fprovisioning-service-app%2Ffile-log-########.log.gz&list-type=2&prefix=services-logs\": dial tcp ###.###.###.###:8443: connect: connection refused"
          ]
        },
        {
          "key": "StreamFromStorageErrors/support-bundle-########-####-####-####-##########2/services-logs",
          "phase": "Failure",
          "context": {
            "bucket": "support-bundle-########-####-####-####-##########2",
            "prefix": "services-logs"
          },
          "errors": [
            "failed to list objects in bucket support-bundle-########-####-####-####-##########2 with prefix services-logs: operation error S3: ListObjectsV2, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Get \"https://seaweedfs-s3.vmsp-platform.svc.cluster.local:8443/support-bundle-########-####-####-####-##########2?list-type=2&prefix=services-logs\": dial tcp ###.###.###.###:8443: connect: connection refused"
          ]
        },
    
  • the seaweedfs-filer container has crashed, to validate use this command on the VCFA appliance: 
    kubectl -n vmsp-platform get pod seaweedfs-filer-0 -w

Environment

  • VCF Automation 9.1 & 9.1.1

Resolution

The issue and resolution is currently in review and will be update once available.

 

Current workaround:

If a bundle looks incomplete, please check debug/LogsCollector.status.json and retry once the filer pod shows no new restarts (kubectl -n vmsp-platform get pod seaweedfs-filer-0).