Hi Gerard Sorry that I may brought some confusion here: VIRT_NUMBER is set to 5 by default and should be set to 2 explicitly when using noha scenario. I will log in hpe32 to finish the deploy and update your steps on auto wiki.
Regards Harry 发件人: gerard.d...@wipro.com [mailto:gerard.d...@wipro.com] 发送时间: 2018年8月1日 8:07 收件人: opnfv-tech-discuss@lists.opnfv.org 抄送: huangxiangyu <huangxiang...@huawei.com> 主题: RE: [opnfv-tech-discuss] [compass4nfv][auto] Compass4nfv on LaaS x86 server Thanks for pointing out that other possible issue. The instructions I use as a reference: https://docs.opnfv.org/en/latest/submodules/compass4nfv/docs/release/installation/index.html My spelled out version/script for these instructions (case of virtual deployment on Ubuntu): https://wiki.opnfv.org/display/AUTO/Script%3A+Compass4nfv I did 3 more attempts on hpe32, and unfortunately they also failed: 1) tarball 6.2, stable/fraser branch, noha scenario, set VIRT_NUMBER to 5, deploy.sh 2) quickstart.sh (i.e. in master branch, build.sh, ha scenario, deploy.sh) 3) master branch, build.sh, noha scenario, set VIRT_NUMBER to 5, deploy.sh I got twice with the get_ansible_print error, and once a get_installing_progress error. (details below) At this point, probably the most efficient next step would be for you to try yourself on a LaaS server, write down exactly the sequence of commands you used, so as to find out the missing commands. Then I'll updates my notes, and the compass4nfv docs may also be updated. Best regards, Gerard 1) tarball 6.2, stable/fraser branch, noha scenario, set VIRT_NUMBER to 5, deploy.sh downloaded 6.2 tarball, checked out to stable/fraser, added these lines in deploy.sh (and with noha scenario): export VIRT_NUMBER=5 export VIRT_CPUS=4 export VIRT_MEM=16384 export VIRT_DISK=200G error: Traceback (most recent call last): File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1127, in <module> main() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1122, in main deploy() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1076, in deploy ansible_print = client.get_ansible_print() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 968, in get_ansible_print raise RuntimeError("OS installation timeout") RuntimeError: OS installation timeout + RET=1 + sleep 25 + [[ 1 -eq 0 ]] + /bin/false + exit 1 2) quickstart.sh (i.e. in master branch, build.sh, ha scenario, deploy.sh) error: 2018-07-31 21:57:59,756 p=130 u=root | hostname: host2 2018-07-31 21:57:59,782 p=130 u=root | host=compass-deck,url=/api/clusterhosts/2/state,body={"state": "ERROR"},headers={'Content-type': 'application/json', 'Accept': '*/*', 'X-Auth-Token': '$1$UohR2peC$xirMX8ctPjiZv5d1amTDf/'} 2018-07-31 21:57:59,817 p=130 u=root | notify host status success!!! status=200, body={ "severity": "INFO", "created_at": "2018-07-31 21:37:19", "updated_at": "2018-07-31 21:57:59", "id": 2, "state": "ERROR", "ready": false, "percentage": 0.0, "message": "" } 2018-07-31 21:57:59,818 p=130 u=root | hostname: host1 2018-07-31 21:57:59,845 p=130 u=root | host=compass-deck,url=/api/clusterhosts/1/state,body={"state": "ERROR"},headers={'Content-type': 'application/json', 'Accept': '*/*', 'X-Auth-Token': '$1$F7YoEKlk$1/6TRpRf7crU2U6t8S0lE1'} 2018-07-31 21:57:59,892 p=130 u=root | notify host status success!!! status=200, body={ "severity": "INFO", "created_at": "2018-07-31 21:37:19", "updated_at": "2018-07-31 21:57:59", "id": 1, "state": "ERROR", "ready": false, "percentage": 0.0, "message": "" } Traceback (most recent call last): File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1136, in <module> main() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1131, in main deploy() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1086, in deploy client.get_installing_progress(cluster_id, ansible_print) File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1029, in get_installing_progress _get_installing_progress() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1015, in _get_installing_progress (cluster_id, status, cluster_state) RuntimeError: ('get cluster %s state status %s: %s, error', (1, 200, {u'status': {u'completed_hosts': 0, u'total_hosts': 5, u'installing_hosts': 0, u'failed_hosts': 5}, u'severity': u'ERROR', u'created_at': u'2018-07-31 21:37:19', u'message': u'total 5, installing 0, completed: 0, error 5', u'updated_at': u'2018-07-31 21:57:59', u'state': u'ERROR', u'ready': False, u'percentage': 0.0, u'id': 1})) + RET=1 + sleep 25 + [[ 1 -eq 0 ]] + /bin/false + exit 1 3) master branch, build.sh, noha scenario, set VIRT_NUMBER to 5, deploy.sh error: Traceback (most recent call last): File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1136, in <module> main() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1131, in main deploy() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 1085, in deploy ansible_print = client.get_ansible_print() File "/opt/opnfv-compass/compass4nfv/deploy/client.py", line 977, in get_ansible_print raise RuntimeError("OS installation timeout") RuntimeError: OS installation timeout + RET=1 + sleep 25 + [[ 1 -eq 0 ]] + /bin/false + exit 1 From: huangxiangyu [mailto:huangxiang...@huawei.com] Sent: Tuesday, July 31, 2018 2:05 AM To: Gerard Damm (Product Engineering Service) <gerard.d...@wipro.com<mailto:gerard.d...@wipro.com>>; opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> Subject: 答复: [opnfv-tech-discuss] [compass4nfv][auto] Compass4nfv on LaaS x86 server ** This mail has been sent from an external source ** Hi Gerard This Error comes from the missing of variable VIRT_NUMBER. Because in the script, you are using noha scenario (os-nosdn-nofeature-noha.yml<https://clicktime.symantec.com/a/1/_wUSDYYV1Nr8kM4w2nOFbc-gmeYqHsjbIzghOhft92Y=?d=sYLww7Yv_EL_j2sYh7yv-P9dVtgBMdanEb2dErQ_79Q5A8qxBCHAl-mDxJCjDlBRTLNlf8fwaXOVEHv6HIsbP-iF7nNnIeNNzqCmmadksojd9KCMeRZNfZsAPM_qndinKqrC_sYBQuf4FgqL_FN9wN0_GpebbiSfKZ4uz9xirsrc-ss6XKcGFPrvnfxilXzoUey15-deTh_0Wz_ysRnnK5_6wCpnBU-QSq8COS3L3SjpZWO_FNhSuObah5siS8OApZ8rsbGKSqmJ0NpY_nBT25KleYHLOfFJb_LgaBWBhtqBww7J6N0i-k0g2hAg7MoQTSfGoc5BewaTmAc8qw_uWMTKmGgtL6XprgqoMkBaMDN-LAtuahW9NJCXvTRQkEeG-i8bOK9ZTUwrdcpf511UXez_6OSrr8lAu1jzFOTqWE7nuhFSNN-pod5n5HDP483ZIA9LXHikRvCNGOz8MoYBT5oixuhBsoJp--eJBatn6ltq9HIvHmEKwKBy&u=https%3A%2F%2Fwiki.opnfv.org%2Fdisplay%2FAUTO%2Fos-nosdn-nofeature-noha.yml>) which contains only one controller and one compute. Compass will expect five virtual machines for virtual deploy and user need to export VIRT_NUMBER to specify the number if it’s not 5. BTW, which doc do you follow when testing the compass installer? I will add this operation if there isn’t. Regards Harry The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com<http://www.wipro.com> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21674): https://lists.opnfv.org/g/opnfv-tech-discuss/message/21674 Mute This Topic: https://lists.opnfv.org/mt/24003889/21656 Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-