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> on behalf of Gerard Damm 
<gerard.d...@wipro.com>
Date: Thursday, July 26, 2018 at 18:21
To: "opnfv-tech-discuss@lists.opnfv.org" <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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21635): 
https://lists.opnfv.org/g/opnfv-tech-discuss/message/21635
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to