Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-11529

[Azure] fail to collect the vm serial log with ‘gather bootstrap’

    XMLWordPrintable

Details

    • No
    • Sprint 234, Sprint 235
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when installing a {product-title} cluster on Azure using managed storage, the `openshift-install gather bootstrap` command could fail to retrieve the bootstrap serial log files. With this update, the installation program correctly identifies the location of log files in managed storage and gathers them. (link:https://issues.redhat.com/browse/OCPBUGS-11529[*OCPBUGS-11529*])
      Show
      * Previously, when installing a {product-title} cluster on Azure using managed storage, the `openshift-install gather bootstrap` command could fail to retrieve the bootstrap serial log files. With this update, the installation program correctly identifies the location of log files in managed storage and gathers them. (link: https://issues.redhat.com/browse/OCPBUGS-11529 [* OCPBUGS-11529 *])

    Description

      This is a clone of issue OCPBUGS-10478. The following is the description of the original issue:

      Description of problem:

      Fail to collect the vm serial log with ‘openshift-install gather bootstrap’

      Version-Release number of selected component (if applicable):

       4.13.0-0.nightly-2023-03-14-053612

      How reproducible:

      Always

      Steps to Reproduce:

      1.IPI install a private cluster, Once bootstrap node boot up, before it is terminated,
      2. ssh to the bastion, then try to get bootstrap log 
      $openshift-install gather bootstrap --key openshift-qe.pem --bootstrap 10.0.0.5 --master 10.0.0.7 –loglevel debug
      3.
      

      Actual results:

      Fail to get the vm serial logs, in the output:
      …
      DEBUG Gather remote logs                           
      DEBUG Collecting info from 10.0.0.6                
      DEBUG scp: ./installer-masters-gather.sh: Permission denied 
       EBUG Warning: Permanently added '10.0.0.6' (ECDSA) to the list of known hosts.…DEBUG Waiting for logs ...                         
      DEBUG Log bundle written to /var/home/core/log-bundle-20230317033401.tar.gz 
      WARNING Unable to stat /var/home/core/serial-log-bundle-20230317033401.tar.gz, skipping 
      INFO Bootstrap gather logs captured here "/var/home/core/log-bundle-20230317033401.tar.gz"

      Expected results:

      Get the vm serial log and in the log has not the above “WARNING  Unable to stat…”

      Additional info:

      IPI install on local install, has the same issue.
      INFO Pulling VM console logs                     
      DEBUG attemping to download                       
      …                       
      INFO Failed to gather VM console logs: unable to download file: /root/temp/4.13.0-0.nightly-2023-03-14-053612/ipi/serial-log-bundle-20230317042338

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              openshift-crt-jira-prow OpenShift Prow Bot
              May Xu May Xu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: