Uploaded image for project: 'Integrated Cloud Native NFV'
  1. Integrated Cloud Native NFV
  2. ICN-315

Akraino ICN installation issue on barametal server #ICN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None

      From Rajeev:

      I tried ICN baremetal installation as per wiki link on three server( one jump host server and two compute node) but it failed, facing these three issues as listed below. Please look into this and provide your feedback to resolve this issue.

       

      https://wiki.akraino.org/display/AK/ICN+Installation+Guide  

       

      List of Issues:

       

      1. As per wiki network topology export BS_DHCP_INTERFACE, export BS_DHCP_INTERFACE_IP details are not mentioned in user_config.sh. 

      - In topology there are three networks mentioned in jump server Net A- Baremetal , Net B-Provisioning and Net C-IPMI network, as setting file user_config.sh in wiki example is showing both Net B and Net C interface and IP and for Net A mentioned only gateway and DNS details but no interface and IP, so which is network used for BS_DHCP_INTERFACE, export BS_DHCP_INTERFACE_IP - Please clarify?

       

      user_config.sh

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      #!/bin/bash
       
      #Local controller - Bootstrap cluster DHCP connection
      #BS_DHCP_INTERFACE defines the interfaces, to which ICN DHCP deployment will bind
      #e.g. export BS_DHCP_INTERFACE="ens513f0"
      export BS_DHCP_INTERFACE=
       
      #BS_DHCP_INTERFACE_IP defines the IPAM for the ICN DHCP to be managed.
      #e.g. export BS_DHCP_INTERFACE_IP="172.31.1.1/24"
      export BS_DHCP_INTERFACE_IP=
       
      #Edge Location Provider Network configuration
      #Net A - Provider Network
      #If provider having specific Gateway and DNS server details in the edge location
      #export PROVIDER_NETWORK_GATEWAY="10.10.110.1"
      export PROVIDER_NETWORK_GATEWAY=
      #export PROVIDER_NETWORK_DNS="8.8.8.8"
      export PROVIDER_NETWORK_DNS=
       
      #Ironic Metal3 settings for provisioning network
      #Interface to which Ironic provision network to be connected
      #Net B - Provisioning Network
      #e.g. export IRONIC_INTERFACE="enp4s0f1"
      export IRONIC_INTERFACE=
       
      #Ironic Metal3 setting for IPMI LAN Network
      #Interface to which Ironic IPMI LAN should bind
      #Net C - IPMI LAN Network
      #e.g. export IRONIC_IPMI_INTERFACE="enp4s0f0"
      export IRONIC_IPMI_INTERFACE=
       
      #Interface IP for the IPMI LAN, ICN verfiy the LAN Connection is active or not
      #e.g. export IRONIC_IPMI_INTERFACE_IP="10.10.110.20"
      #Net C - IPMI LAN Network
      export IRONIC_IPMI_INTERFACE_IP=

       

      1. When installation fails during make install and after trying to clean up with uninstall CLI make clean_all but it is not happening and throwing below error.

       

        1. make clean_all*

      error: the server doesn't have a resource type "baremetalhost"
      error: the server doesn't have a resource type "baremetalhost"
      Try 1 iteration : Wait for 60 seconds to check all bmh state
      Baremetal state: 1 means deprovisioned & 0 means not yet deprovisioned
      error: the server doesn't have a resource type "baremetalhosts"
      Baremetal host metal3 state - edge01-node01 :
      ./03_verify_deprovisioning.sh: line 22: [: ==: unary operator expected
      Baremetal edge01-node01     current_host_state : 0
      Previous Baremetals prev_host_state    : 0

      error: the server doesn't have a resource type "baremetalhosts" 

       

       

      1. Kustomize installation failed during make install and throwing below error also manual installation not going through as trying for workaround.

       

      make[1]: Entering directory '/root/go/src/github.com/metal3-io/baremetal-operator'
      cd deploy && kustomize edit set namespace metal3 && cd ..
      /bin/sh: 1: kustomize: not found
      Makefile:129: recipe for target 'deploy' failed
      make[1]: *** [deploy] Error 127
      make[1]: Leaving directory '/root/go/src/github.com/metal3-io/baremetal-operator'
      /home/ubuntu1/icn/deploy/metal3/scripts
      Error from server (NotFound): error when creating "edge01-node01-user-data-credential.yaml": namespaces "metal3" not found
      Error from server (NotFound): error when creating "edge01-node01-bm-node.yaml": namespaces "metal3" not found
      unable to recognize "edge01-node01-bm-node.yaml": no matches for kind "BareMetalHost" in version "metal3.io/v1alpha1"
      Error from server (NotFound): error when creating "edge01-node02-user-data-credential.yaml": namespaces "metal3" not found
      Error from server (NotFound): error when creating "edge01-node02-bm-node.yaml": namespaces "metal3" not found
      unable to recognize "edge01-node02-bm-node.yaml": no matches for kind "BareMetalHost" in version "metal3.io/v1alpha1"
      Try 1 iteration : Wait for 60 seconds to check all bmh state
      Baremetal state: 1 means provisioned & 0 means not yet provisioned
      error: the server doesn't have a resource type "baremetalhosts"
      Baremetal host metal3 state - edge01-node01 :
      ./02_verify.sh: line 22: [: ==: unary operator expected
      Baremetal edge01-node01     current_host_state : 0
      Previous Baremetals prev_host_state    : 0
      error: the server doesn't have a resource type "baremetalhosts"
      Baremetal host metal3 state - edge01-node02 :
      ./02_verify.sh: line 22: [: ==: unary operator expected
      Baremetal edge01-node02     current_host_state : 0
      Previous Baremetals prev_host_state    : 0
      All Baremetal hosts aggregated state - prev_host_state:0
      Try 2 iteration : Wait for 60 seconds to check all bmh state
      Baremetal state: 1 means provisioned & 0 means not yet provisioned
      error: the server doesn't have a resource type "baremetalhosts"
      Baremetal host metal3 state - edge01-node01 :  

            r.kuralamudhan Kuralamudhan Ramakrishnan
            r.kuralamudhan Kuralamudhan Ramakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: