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

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

    XMLWordPrintable

Details

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

      None

      Show
      None
    • Hide
      * When installing a {product-title} cluster on Azure Stack Hub using managed storage, the `openshift-install gather bootstrap` command fails to retrieve the bootstrap serial log files.
      There is no workaround for this issue. (link:https://issues.redhat.com/browse/OCPBUGS-10478[*OCPBUGS-10478*])
      Show
      * When installing a {product-title} cluster on Azure Stack Hub using managed storage, the `openshift-install gather bootstrap` command fails to retrieve the bootstrap serial log files. There is no workaround for this issue. (link: https://issues.redhat.com/browse/OCPBUGS-10478 [* OCPBUGS-10478 *])
    • Known Issue
    • Done

    Description

      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

              rdossant Rafael Fonseca dos Santos
              maxu@redhat.com May Xu
              May Xu May Xu
              Mike Pytlak Mike Pytlak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: