Thanks a lot Mark and Parker for the feedback ! OK about changing the NIC names. I followed your advice (replaced em1 with ens4f0 for a LaaS virtual server: this impacts the installer VMs in the admin and external networks), but still got the same Ansible playbook error.
Updated sequence of commands: https://wiki.opnfv.org/pages/viewpage.action?pageId=26837081 (between this one and Mark’s, maybe this material could be re-used in a future version of Apex docs) Is there a tear-down command or procedure for Apex, or is it OK to make several attempts on the same server (i.e., does the deploy script perform any necessary clean-up) ? Is it necessary to run "modprobe ip6_tables", or was that specific to storperf ? Best regards, Gerard From: Parker Berberian [mailto:pberber...@iol.unh.edu] Sent: Friday, July 27, 2018 10:37 AM To: Mark Beierl <mark.bei...@dell.com> Cc: Gerard Damm (Product Engineering Service) <gerard.d...@wipro.com>; opnfv-tech-discuss@lists.opnfv.org Subject: ** Newsletter/Marketing email** Re: [opnfv-tech-discuss] [apex][auto] Apex on LaaS x86 server ** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution** Hi, I'm not sure if it matters when doing a virtual install, but it seems that the script Gerard linked does not change interface names in the network settings file, while Mark's guide does. The HPE LaaS servers have uncommon NIC names, so you will probably have to set them in the config file because the default em1/eth1 will not match any interface on the host. -Parker On Fri, Jul 27, 2018 at 10:55 AM, Mark Beierl <mark.bei...@dell.com<mailto:mark.bei...@dell.com>> wrote: I’m not sure if this will help, but here are my notes for installing Apex on LaaS: https://wiki.opnfv.org/display/storperf/LaaS+Setup+For+Development#LaaSSetupForDevelopment-InstallOPNFVApex Note – this was tested only with the Fraser release. Regards, Mark Mark Beierl SW System Sr Principal Developer Dell EMC | Cloud & Communication Service Provider Solution mark.bei...@dell.com<mailto:mark.bei...@dell.com> From: <opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org>> on behalf of Gerard Damm <gerard.d...@wipro.com<mailto:gerard.d...@wipro.com>> Date: Thursday, July 26, 2018 at 18:21 To: "opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org>" <opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org>> Subject: [opnfv-tech-discuss] [apex][auto] Apex on LaaS x86 server Hello, I'm trying to use the Apex installer (basic virtual deployment) on a x86 UNH Pharos LaaS server (CentOS). This would be used later as one of the infrastructure options for the Auto project (e.g., to provide Openstack instances for VNFs and for ONAP). I've been using commands such as those listed in this simple test script to automate the Apex installation (for virtual deployment): https://wiki.opnfv.org/pages/viewpage.action?pageId=26837081 (based on https://docs.opnfv.org/en/stable-fraser/submodules/apex/docs/release/installation/virtual.html ) I'm getting an Ansible playbook error for the deploy command: sudo opnfv-deploy -v -n network_settings.yaml -d deploy_settings.yaml Details: 304 ERROR: Ansible playbook failed. See Ansible logs for details. Traceback (most recent call last): File "/bin/opnfv-deploy", line 10, in <module> sys.exit(main()) File "/usr/lib/python3.4/site-packages/apex/deploy.py", line 312, in main 'deploy_dependencies.yml')) File "/usr/lib/python3.4/site-packages/apex/common/utils.py", line 141, in run_ansible raise Exception(e) Exception: Ansible playbook failed. See Ansible logs for details. Was there anything missing or incorrect in the sequence of commands from the test script ? Also, would it be possible to make section 13.2 a bit more explicit (i.e., exactly which parts of the "Install Bare Metal Jump Host section" should be done ? Is it only section 11.1 ?). Or provide a sample complete installation script ? Are there any specific changes to be made to network_settings.yaml and/or deploy_settings.yaml ? (in the example, in deploy_settings.yaml, I replaced ha_enabled from true to false, and commented out "vim: 'openstack'" which was causing an error, and defaults to OpenStack anyway) Error with vim: 'openstack' : Traceback (most recent call last): File "/bin/opnfv-deploy", line 10, in <module> sys.exit(main()) File "/usr/lib/python3.4/site-packages/apex/deploy.py", line 243, in main deploy_settings = DeploySettings(args.deploy_settings_file) File "/usr/lib/python3.4/site-packages/apex/settings/deploy_settings.py", line 62, in __init__ self._validate_settings() File "/usr/lib/python3.4/site-packages/apex/settings/deploy_settings.py", line 94, in _validate_settings "specified".format(setting)) apex.settings.deploy_settings.DeploySettingsException: Invalid deploy_option vim specified Thanks in advance for your help, Gerard Auto home wiki page: https://wiki.opnfv.org/pages/viewpage.action?pageId=12389095 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> 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 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21637): https://lists.opnfv.org/g/opnfv-tech-discuss/message/21637 Mute This Topic: https://lists.opnfv.org/mt/23827274/21656 Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-