Hi Jose Have you checked the console output of controller node and compute node ? Usually the problem is result from “INSTALL_NIC” and we don't recommend users to add vlan tag to mgmt network. You should check if INSTALL_NIC can PXE boot hosts correctly.
Regards Harry 发件人: opnfv-users@lists.opnfv.org [mailto:opnfv-users@lists.opnfv.org] 代表 José Ernesto 发送时间: 2018年9月18日 21:16 收件人: opnfv-users@lists.opnfv.org 主题: [opnfv-users] OPNFV deploy timeout error with compass4nfv Hello, I'm trying to install OPNFV with Compass4nfv, the deploying is being done in a baremetal environment of 3 nodes: 1 jumphost, 1 computer and 1 controller. I'm following the instructions at this doc. <https://docs.opnfv.org/en/stable-fraser/submodules/compass4nfv/docs/release/installation/index.html> But during the deployment I got the following error: 1 + reboot_hosts 2 + '[' -z /home/stelzer/compass4nfv/work/deploy/script/ipmitool.sh ']' 3 + /home/stelzer/compass4nfv/work/deploy/script/ipmitool.sh 4 set pxe and reset 10.3.77.97 successsully 5 set pxe and reset 10.3.77.98 successsully 6 Traceback (most recent call last): 7 File "/home/stelzer/compass4nfv/deploy/client.py", line 1127, in <module> main() 8 File "/home/stelzer/compass4nfv/deploy/client.py", line 1122, in main deploy() 9 File "/home/stelzer/compass4nfv/deploy/client.py", line 1076, in deploy ansible_print = client.get_ansible_print() 10 File "/home/stelzer/compass4nfv/deploy/client.py", line 968, in get_ansible_print raise RuntimeError("OS installation timeout") 11 RuntimeError: OS installation timeout 12 + RET=1 13 + sleep 25 14 + [[ 1 -eq 0 ]] 15 + /bin/false 16 + exit 1 I'm using the deploy.sh script from stable/fraser and the image (opnfv-6.2) was obtained from the OPNFV site. The error at lines 6-16 appear 30' or more after the successful message of the ipmi reset of the nodes. My config files are as follow: DHA: 1 ############################################################################## 2 # Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. 3 # 4 # All rights reserved. This program and the accompanying materials 5 # are made available under the terms of the Apache License, Version 2.0 6 # which accompanies this distribution, and is available at 7 # http://www.apache.org/licenses/LICENSE-2.0 8 ############################################################################## 9 10 --- 11 TYPE: baremetal 12 FLAVOR: cluster 13 POWER_TOOL: ipmitool 14 15 ipmiUser: root 16 ipmiVer: '2.0' 17 18 plugins: 19 - opendaylight: "Enable" 20 21 hosts: 22 - name: palas 23 mac: 'D0:94:66:A3:FD:A7' 24 interfaces: 25 - eno1: 'D0:94:66:A3:FD:A7' 26 - eno2: 'D0:94:66:A3:FD:A8' 27 ipmiIp: 10.3.77.97 28 ipmiPass: **** 29 roles: 30 - controller 31 - ha 32 33 - name: perseus 34 mac: 'D0:94:66:A4:00:0F' 35 interfaces: 36 - eno1: 'D0:94:66:A4:00:0F' 37 - eno2: 'D0:94:66:A4:00:10' 38 ipmiIp: 10.3.77.98 39 ipmiPass: **** 40 roles: 41 - compute Network: 1 ############################################################################## 2 # Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. 3 # 4 # All rights reserved. This program and the accompanying materials 5 # are made available under the terms of the Apache License, Version 2.0 6 # which accompanies this distribution, and is available at 7 # http://www.apache.org/licenses/LICENSE-2.0 8 ############################################################################## 9 10 --- 11 nic_mappings: [] 12 bond_mappings: [] 13 14 provider_net_mappings: 15 - name: br-provider 16 network: physnet 17 interface: eth1 18 type: ovs 19 role: 20 - controller 21 22 sys_intf_mappings: 23 - name: mgmt 24 interface: eno2 25 type: normal 26 vlan_tag: 100 27 role: 28 - controller 29 - compute 30 31 - name: tenant 32 interface: eno2 33 type: normal 34 vlan_tag: 101 35 role: 36 - controller 37 - compute 38 39 - name: storage 40 interface: eno2 41 type: normal 42 vlan_tag: 102 43 role: 44 - controller 45 - compute 46 47 - name: external 48 interface: eno2 49 type: normal 50 vlan_tag: 103 51 role: 52 - controller 53 - compute 54 55 ip_settings: 56 - name: mgmt 57 ip_ranges: 58 - - "10.1.0.50" 59 - "10.1.0.100" 60 dhcp_ranges: 61 - - "10.1.0.2" 62 - "10.1.0.49" 63 cidr: "10.1.0.0/24" 64 gw: "10.1.0.1" 65 role: 66 - controller 67 - compute 68 69 - name: tenant 70 ip_ranges: 71 - - "172.16.1.1" 72 - "172.16.1.50" 73 cidr: "172.16.1.0/24" 74 role: 75 - controller 76 - compute 77 78 - name: storage 79 ip_ranges: 80 - - "172.16.2.1" 81 - "172.16.2.50" 82 cidr: "172.16.2.0/24" 83 role: 84 - controller 85 - compute 86 87 - name: external 88 ip_ranges: 89 - - "192.168.1.10" 90 - "192.168.1.50" 91 cidr: "192.168.1.0/24" 92 gw: "192.168.1.1" 93 role: 94 - controller 95 - compute 96 97 internal_vip: 98 ip: 10.1.0.222 99 netmask: "24" 100 interface: mgmt 101 102 public_vip: 103 ip: 192.168.1.222 104 netmask: "24" 105 interface: external 106 107 onos_nic: eth2 108 tenant_net_info: 109 type: vxlan 110 range: "1:1000" 111 provider_network: None 112 113 public_net_info: 114 enable: "True" 115 network: ext-net 116 type: flat 117 segment_id: 10 118 subnet: ext-subnet 119 provider_network: physnet 120 router: router-ext 121 enable_dhcp: "False" 122 no_gateway: "False" 123 external_gw: "192.168.10.1" 124 floating_ip_cidr: "192.168.10.0/24" 125 floating_ip_start: "192.168.10.100" 126 floating_ip_end: "192.168.10.200" If any more information is necessary, just let me know. Best regards, José Ernesto -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1187): https://lists.opnfv.org/g/opnfv-users/message/1187 Mute This Topic: https://lists.opnfv.org/mt/25753616/21656 Group Owner: opnfv-users+ow...@lists.opnfv.org Unsubscribe: https://lists.opnfv.org/g/opnfv-users/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-