Uploaded image for project: 'Red Hat Container Development Kit'
  1. Red Hat Container Development Kit
  2. CDK-105

Can't start CDK after IP change

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0-beta.3
    • Fix Version/s: 3.4.0
    • Component/s: openshift
    • Labels:
      None

      Description

      If the IP change from one run to the other, then minishift start will fail.
      The error is the following:

      > minishift start --username jmaury@redhat.com --password mysecret           
      Starting local OpenShift cluster using 'virtualbox' hypervisor...               
      Registering machine using subscription-manager                                  
      E0327 16:11:51.269442   22536 start.go:162] Error starting the VM: Error registe
      ring the VM: ssh command error:                                                 
      command : sudo -E subscription-manager register --auto-attach --username jmaury@
      redhat.com --password robpaulugo9                                               
      err     : exit status 70                                                        
      output  : Unable to verify server's identity: timed out                         
      Registering to: subscription.rhsm.redhat.com:443/subscription                   
      The system has been registered with ID: 7ff19d19-b62f-4d6a-b1ac-202612da24cf    
      . Retrying.                                                                     
      Registering machine using subscription-manager                                  
      Provisioning OpenShift via 'C:\Users\JeffMAURY\.minishift\cache\oc\v3.4.1.2\oc.e
      xe [cluster up --use-existing-config --host-config-dir /var/lib/minishift/opensh
      ift.local.config --host-data-dir /var/lib/minishift/hostdata --host-volumes-dir 
      /var/lib/minishift/openshift.local.volumes --routing-suffix 192.168.99.100.nip.i
      o]'                                                                             
      -- Checking OpenShift client ... OK                                             
      -- Checking Docker client ... OK                                                
      -- Checking Docker version ... OK                                               
      -- Checking for existing OpenShift container ...                                
         Deleted existing OpenShift container                                         
      -- Checking for registry.access.redhat.com/openshift3/ose:v3.4.1.2 image ... OK 
      -- Checking Docker daemon configuration ... OK                                  
      -- Checking for available ports ... OK                                          
      -- Checking type of volume mount ...                                            
         Using nsenter mounter for OpenShift volumes                                  
      -- Creating host directories ... OK                                             
      -- Finding server IP ...                                                        
         Using 192.168.99.100 as the server IP                                        
      -- Starting OpenShift container ... FAIL                                        
         Error: Docker run error rc=2                                                 
         Details:                                                                     
           Image: registry.access.redhat.com/openshift3/ose:v3.4.1.2                  
           Entrypoint: [/bin/bash]                                                    
           Command: [-c for name in 192.168.99.100 minishift; do ls /var/lib/origin/op
      enshift.local.config/node-$name &> /dev/null && echo $name && break; done]      
      E0327 16:12:24.051889   22536 start.go:370] Error starting the cluster:  exit st
      atus 1                                                                          
                                                                                      

        Attachments

          Activity

            People

            Assignee:
            gbraad Gerard Braad (Inactive)
            Reporter:
            jeffmaury Jeff MAURY
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: