# ORAN INF ###### tags: `Construction` [Getting Start (verification on Dell R740) /Sample test process](https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=20877129) ### 1 Installation for the first server from the O-RAN INF ISO image #### 1.2 Install the first Dell-R740 server (controller-0) Reboot the target from the USB device. 問題1 ![](https://i.imgur.com/IKAgtLY.jpg) 解決: Disabled the UEFI boot mode from BIOS menu and change to legacy mode 參考: https://jira.o-ran-sc.org/projects/INF/issues/INF-187?filter=allissues https://jira.o-ran-sc.org/browse/INF-199 問題2 清除硬碟 Partition Table 解決: `dd if=/dev/zero of=/dev/sda bs=512 count=1 conv=notrunc` 參考: https://tkunlin.medium.com/linux-%E5%88%A9%E7%94%A8-linux-%E6%8C%87%E4%BB%A4%E6%B8%85%E9%99%A4%E7%A1%AC%E7%A2%9F-partition-table-c1de4961d72a ### 2 Configuration and initialize the bootstrap #### 2.5 Run the ansible bootstrap ![](https://i.imgur.com/A18G6cB.png) 問題1: ![](https://i.imgur.com/JAblHyM.jpg) MODULE FAILURE incorrect password attempt 解決:需使用root權限執行 `$sudo su root` 問題2: ![](https://i.imgur.com/1cibMIb.jpg) 無法找到localhost.yml內對ip與gateway相關的config 解決:將localhost.yml存到~ 問題3: Download images failed ![](https://i.imgur.com/RXqZetC.jpg) ![](https://i.imgur.com/Vo8Vzjo.jpg) 原因為ip與gateway設定有誤,導致無法連至internet下載所需之image 解決方法: 為配置正確之ip與gateway設定 問題4: Unable to install through ansible in stx 5.0 due to kubernetes helm being deleted 儘管成功連至internet但仍無法成功下載https://gcr.io/v2/kubernetes-helm/tiller/manifests/v2.16.1 此image,原因為此項目已被修改,導致無法尋獲 解決方法: 需更改 /usr/share/ansible/stx-ansible/playbooks/roles/common/load-images-information/vars/k8s-v1.18.1/system-images.yml 之目標下載檔案與checksum ``` --- # System images that are pre-pulled and pushed to local registry n3000_opae_img: docker.io/starlingx/n3000-opae:stx.4.0-v1.0.0 -tiller_img: gcr.io/kubernetes-helm/tiller:v2.16.9 +tiller_img: ghcr.io/helm/tiller:v2.16.9 armada_img: quay.io/airshipit/armada:7ef4b8643b5ec5216a8f6726841e156c0aa54a1a-ubuntu_bionic kubernetes_entrypoint_img: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 calico_cni_img: quay.io/calico/cni:v3.12.0 ``` 更改後需清除 system-images.yml~與.system-images.yml.un兩個檔案以免發生後續錯誤 ``` rm -rf system-images.yml~ && .system-images.yml.un ``` 以及更改 /usr/share/ansible/stx-ansible/playbooks/roles/common/armada-helm/templates/aramada-overrides.yml.j2 之目標下載檔案與checksum ``` tags: api: 'registry.local:9001/quay.io/airshipit/armada:7ef4b8643b5ec5216a8f6726841e156c0aa54a1a-ubuntu_bionic' dep_check: 'registry.local:9001/quay.io/stackanetes/kubernetes-entrypoint:v0.3.1' -tiller: 'registry.local:9001/gcr.io/kubernetes-helm/tiller:v2.16.9' +tiller: 'registry.local:9001/ghcr.io/helm/tiller:v2.16.9' labels: # Configure sane node labels values that work with armada node selector. # Helm v3 validation prevents null overrides. ``` 更改後需清除 aramada-overrides.yml.j2~ ``` rm -rf aramada-overrides.yml.j2~ ``` 完成後應顯示: ![](https://i.imgur.com/Ip5r0ct.png) 架設虛擬網卡 ![](https://i.imgur.com/Rtvv4D0.png) Interface not found ![](https://i.imgur.com/wfkCaWE.png) 外接usb轉RJ45 ![](https://i.imgur.com/WkXrpoO.png) 同樣為Interface not found ![](https://i.imgur.com/Oy2Os4g.png) 而電腦原始網卡enp0s25則能正常對其進行配置 ![](https://i.imgur.com/4c4xZIB.png) 將OAM_IF網卡改成電腦內wifi網卡即可成功