top of page

Unable to generate vRSLCM log bundle through UI


 

There was a recent scenario where vRSLCM log generation was not happening through UI


So let's take a minute to see what happens when you generate a log bundle and then we can inspect what could have gone wrong this the previous case where it wasn't generating one.




 

When I click on generate log bundle ....




It generates a request , upgrade planner spec and then the engine request . What's important here is the downloadUrl is pointing to the previously generated log bundle.




2022-07-27 09:25:15.649 INFO  [http-nio-8080-exec-6] c.v.v.l.l.c.SettingsController -  -- Dynamic Setting data required for setting : logbundledownload
2022-07-27 09:25:15.660 INFO  [http-nio-8080-exec-4] c.v.v.l.l.c.SettingsController -  -- Dynamic Setting data required for setting : loginsightsetting

2022-07-27 09:25:53.795 INFO  [http-nio-8080-exec-9] c.v.v.l.l.c.SettingsController -  -- Validation result for Setting :logbundledownload result true
2022-07-27 09:25:53.846 INFO  [http-nio-8080-exec-9] c.v.v.l.l.c.SettingsController -  -- Setting Value before save: "{\n  \"downloadUrl\" : \"https://lcm.cap.org/repo/logBundleRepo/vrlcm/logbundle/vlcmsupport-2022-01-25_01-33-57.44075.zip\"\n}"
2022-07-27 09:25:53.926 INFO  [http-nio-8080-exec-9] c.v.v.l.l.u.RequestSubmissionUtil -  -- ++++++++++++++++++ Creating request to Request_Service :::>>> {
  "vmid" : "2d03775b-9f49-4982-879b-26195ed74cac",
  "transactionId" : null,
  "tenant" : "default",
  "requestName" : "lcmsupportbundle",
  "requestReason" : "Get vRSLCM Support Bundle",
  "requestType" : "lcmsupportbundle",
  "requestSource" : null,
  "requestSourceType" : "user",
  "inputMap" : {
    "downloadUrl" : "https://lcm.cap.org/repo/logBundleRepo/vrlcm/logbundle/vlcmsupport-2022-01-25_01-33-57.44075.zip"
  },
  "outputMap" : { },
  "state" : "CREATED",
  "executionId" : null,
  "executionPath" : null,
  "executionStatus" : null,
  "errorCause" : null,
  "resultSet" : null,
  "isCancelEnabled" : null,
  "lastUpdatedOn" : 1658913953925,
  "createdBy" : null
}

2022-07-27 09:25:54.021 INFO  [scheduling-1] c.v.v.l.r.c.p.GenericEnvironmentPlanner -  -- Generic Planner SPEC :: {
  "vmid" : "117d667d-f8d6-4602-9d97-874f7b4fd39d",
  "tenant" : "default",
  "originalRequest" : null,
  "enhancedRequest" : null,
  "symbolicName" : "90e136b4-4d83-4c61-ab81-7378fdf324ae",
  "acceptEula" : true,
  "variables" : { },
  "products" : [ {
    "symbolicName" : "lcmsupportbundle",
    "displayName" : null,
    "productVersion" : null,
    "priority" : 0,
    "dependsOn" : [ ],
    "components" : [ {
      "component" : {
        "symbolicName" : "lcmsupportbundle",
        "type" : null,
        "componentVersion" : null,
        "properties" : {
          "downloadUrl" : "https://lcm.cap.org/repo/logBundleRepo/vrlcm/logbundle/vlcmsupport-2022-01-25_01-33-57.44075.zip",
          "isVcfUser" : "false"
        }
      },
      "priority" : 0
    } ]
  } ]
}

2022-07-27 09:25:54.027 INFO  [scheduling-1] c.v.v.l.r.c.RequestProcessor -  -- ENGINE REQUEST :: {
  "vmid" : "117d667d-f8d6-4602-9d97-874f7b4fd39d",
  "tenant" : "default",
  "originalRequest" : null,
  "enhancedRequest" : null,
  "symbolicName" : "90e136b4-4d83-4c61-ab81-7378fdf324ae",
  "acceptEula" : true,
  "variables" : { },
  "products" : [ {
    "symbolicName" : "lcmsupportbundle",
    "displayName" : null,
    "productVersion" : null,
    "priority" : 0,
    "dependsOn" : [ ],
    "components" : [ {
      "component" : {
        "symbolicName" : "lcmsupportbundle",
        "type" : null,
        "componentVersion" : null,
        "properties" : {
          "downloadUrl" : "https://lcm.cap.org/repo/logBundleRepo/vrlcm/logbundle/vlcmsupport-2022-01-25_01-33-57.44075.zip",
          "isVcfUser" : "false"
        }
      },
      "priority" : 0
    } ]
  } ]
}






The actual or current log bundle generation starts




2022-07-27 09:25:55.157 INFO  [scheduling-1] c.v.v.l.a.c.FlowProcessor -  -- Injected OnStart Edge for the Machine ID :: lcmsupportbundle
2022-07-27 09:25:55.201 INFO  [scheduling-1] c.v.v.l.a.c.EventProcessor -  -- INITIALIZING NEW EVENT :: {
  "vmid" : "2036f6ef-a34c-4c66-a414-671a403057f0",
  "transactionId" : null,
  "tenant" : "default",
  "createdBy" : "root",
  "lastModifiedBy" : "root",
  "createdOn" : 1658913955155,
  "lastUpdatedOn" : 1658913955182,
  "version" : "8.1.0.0",
  "vrn" : null,
  "eventName" : "OnStart",
  "currentState" : null,
  "eventArgument" : "{\"productSpec\":{\"name\":\"productSpec\",\"type\":\"com.vmware.vrealize.lcm.domain.ProductSpecification\",\"value\":\"{\\\"symbolicName\\\":\\\"lcmsupportbundle\\\",\\\"displayName\\\":null,\\\"productVersion\\\":null,\\\"priority\\\":0,\\\"dependsOn\\\":[],\\\"components\\\":[{\\\"component\\\":{\\\"symbolicName\\\":\\\"lcmsupportbundle\\\",\\\"type\\\":null,\\\"componentVersion\\\":null,\\\"properties\\\":{\\\"downloadUrl\\\":\\\"https://lcm.cap.org/repo/logBundleRepo/vrlcm/logbundle/vlcmsupport-2022-01-25_01-33-57.44075.zip\\\",\\\"isVcfUser\\\":\\\"false\\\"}},\\\"priority\\\":0}]}\"}}",
  "status" : "CREATED",
  "stateMachineInstance" : "9b69126f-58e7-47de-afa7-3bf907dd6756",
  "errorCause" : null,
  "sequence" : 560741,
  "eventLock" : 1,
  "engineNodeId" : "lcm.cap.org"
}

2022-07-27 09:25:55.209 INFO  [scheduling-1] c.v.v.l.a.c.MachineRegistry -  -- GETTING MACHINE FOR THE KEY :: lcmsupportbundle
2022-07-27 09:25:55.209 INFO  [scheduling-1] c.v.v.l.a.c.MachineRegistry -  -- QUERYING CONTENT :: SystemFlowInventory::flows::flow->lcmsupportbundle
2022-07-27 09:25:55.210 INFO  [scheduling-1] c.v.v.l.d.i.u.InventorySchemaQueryUtil -  -- GETTING ROOT NODE FOR :: SystemFlowInventory
2022-07-27 09:25:55.228 INFO  [scheduling-1] c.v.v.l.a.c.MachineRegistry -  -- URL :: /system/flow/lcmsupportbundle.vmfx
2022-07-27 09:25:55.229 INFO  [scheduling-1] c.v.v.l.c.c.ContentDownloadController -  -- INSIDE ContentDownloadControllerImpl
2022-07-27 09:25:55.229 INFO  [scheduling-1] c.v.v.l.c.c.ContentDownloadController -  -- REPO_NAME :: /systemflowrepo
2022-07-27 09:25:55.229 INFO  [scheduling-1] c.v.v.l.c.c.ContentDownloadController -  -- CONTENT_PATH :: /system/flow/lcmsupportbundle.vmfx
2022-07-27 09:25:55.229 INFO  [scheduling-1] c.v.v.l.c.c.ContentDownloadController -  -- URL :: /systemflowrepo/system/flow/lcmsupportbundle.vmfx
2022-07-27 09:25:55.229 INFO  [scheduling-1] c.v.v.l.c.c.ContentDownloadController -  -- Decoded URL :: /systemflowrepo/system/flow/lcmsupportbundle.vmfx
2022-07-27 09:25:55.230 INFO  [scheduling-1] c.v.v.l.c.c.ContentDownloadController -  -- ContentDTO{BaseDTO{vmid='lcmsupportbundle', version=8.1.0.0} -> repoName='systemflowrepo', contentState='PUBLISHED', url='/systemflowrepo/system/flow/lcmsupportbundle.vmfx'}
2022-07-27 09:25:55.231 INFO  [scheduling-1] c.v.v.l.a.c.EventProcessor -  -- State to find :: com.vmware.vrealize.lcm.plugin.lcmplugin.core.task.LcmSupportBundleTask
2022-07-27 09:25:55.235 INFO  [scheduling-1] c.v.v.l.a.c.EventProcessor -  -- Invoking Task :: com.vmware.vrealize.lcm.plugin.lcmplugin.core.task.LcmSupportBundleTask
2022-07-27 09:25:55.502 INFO  [scheduling-1] c.v.v.l.a.c.EventProcessor -  -- Injecting Bean :: contentRepositoryController
2022-07-27 09:25:55.504 INFO  [scheduling-1] c.v.v.l.a.c.EventProcessor -  -- Injecting Bean :: settingsController
2022-07-27 09:25:55.504 INFO  [scheduling-1] c.v.v.l.c.u.EventExecutionTelemetryUtil -  -- Start Instrumenting EventMetadata.
2022-07-27 09:25:55.506 INFO  [scheduling-1] c.v.v.l.c.u.EventExecutionTelemetryUtil -  -- Stop Instrumenting EventMetadata.
2022-07-27 09:25:55.511 INFO  [pool-3-thread-14] c.v.v.l.p.l.c.t.LcmSupportBundleTask -  -- Starting :: LCM VA support Bundle Task
2022-07-27 09:25:55.528 INFO  [pool-3-thread-14] c.v.v.l.u.ShellExecutor -  -- Executing shell command: /var/lib/vlcm-common/vlcm-support -w /data/lcm-logbundle
2022-07-27 09:25:55.530 INFO  [pool-3-thread-14] c.v.v.l.u.ProcessUtil -  -- Execute /var/lib/vlcm-common/vlcm-support
2022-07-27 09:25:58.091 INFO  [http-nio-8080-exec-6] c.v.v.l.l.c.SettingsController -  -- queryParams :  { }
2022-07-27 09:25:58.099 INFO  [http-nio-8080-exec-6] c.v.v.l.l.c.SettingsController -  -- Dynamic Setting data required for setting : logbundledownload
2022-07-27 09:26:02.098 INFO  [http-nio-8080-exec-10] c.v.v.l.l.c.SettingsController -  -- queryParams :  { }
2022-07-27 09:26:02.098 INFO  [http-nio-8080-exec-10] c.v.v.l.l.c.SettingsController -  -- Dynamic Setting data required for setting : logbundledownload
2022-07-27 09:26:06.092 INFO  [http-nio-8080-exec-2] c.v.v.l.l.c.SettingsController -  -- queryParams :  { }
2022-07-27 09:26:06.143 INFO  [http-nio-8080-exec-2] c.v.v.l.l.c.SettingsController -  -- Dynamic Setting data required for setting : logbundledownload
*
*
*
*
2022-07-27 09:26:10.097 INFO  [http-nio-8080-exec-1] c.v.v.l.l.c.SettingsController -  -- queryParams :  { }
2022-07-27 09:26:10.097 INFO  [http-nio-8080-exec-1] c.v.v.l.l.c.SettingsController -  -- Dynamic Setting data required for setting : logbundledownload
2022-07-27 09:26:14.101 INFO  [http-nio-8080-exec-4] c.v.v.l.l.c.SettingsController -  -- queryParams :  { }
2022-07-27 09:26:14.102 INFO  [http-nio-8080-exec-4] c.v.v.l.l.c.SettingsController -  -- Dynamic Setting data required for setting : logbundledownload
2022-07-27 09:26:18.105 INFO  [http-nio-8080-exec-3] c.v.v.l.l.c.SettingsController -  -- queryParams :  { }
2022-07-27 09:26:18.173 INFO  [http-nio-8080-exec-3] c.v.v.l.l.c.SettingsController -  -- Dynamic Setting data required for setting : logbundledownload
2022-07-27 09:26:22.096 INFO  [http-nio-8080-exec-7] c.v.v.l.l.c.SettingsController -  -- queryParams :  { }
2022-07-27 09:26:22.097 INFO  [http-nio-8080-exec-