Fail deploy in LFS263 Exercise 4.1
I fail to deploy in LFS263 Exercise 4.1.
Assumptions:
vfgwcpirciyf-LFS263-labs_V2020-09-08.pdf
LFS263 Exercise 4.1
8page
The following command:
nohup sudo bash -x aio-centos-gcp-deploy.sh 4 &
Result:
No package matching 'erlang-22.1.3-1.el7.x86_64' found available
(10 out of 10 Fails)
nohup.out file:
TASK [rabbitmq_server : Register a fact for the installed RabbitMQ version] ****
skipping: [aio1_rabbit_mq_container-7aeeaf7f] => (item={'skipped': True, 'changed': False, 'skip_reason': u'Conditional result was False'})
ok: [aio1_rabbit_mq_container-7aeeaf7f] => (item={'stderr_lines': [], u'changed': True, u'end': u'2021-03-12 07:50:27.659404', u'stdout': u'', u'cmd':
u'rpm -qa | grep rabbitmq-server', u'failed': False, u'delta': u'0:00:00.259248', u'stderr': u'', u'rc': 1, u'msg': u'non-zero return code', 'stdout_li
nes': [], 'failed_when_result': False, u'start': u'2021-03-12 07:50:27.400156'})
TASK [rabbitmq_server : Compare installed version of RabbitMQ with new version variable] ***
TASK [rabbitmq_server : include_tasks] *****************************************
TASK [rabbitmq_server : include_tasks] *****************************************
included: /etc/ansible/roles/rabbitmq_server/tasks/install_yum.yml for aio1_rabbit_mq_container-7aeeaf7f
TASK [rabbitmq_server : Fail if installation method is not 'external_repo'] ****
TASK [rabbitmq_server : Configure repositories] ********************************
ok: [aio1_rabbit_mq_container-7aeeaf7f] => (item={u'description': u'RabbitMQ Erlang Packages from Bintray', u'name': u'rabbitmq_els-erlang', u'baseurl'
: u'https://packagecloud.io/rabbitmq/erlang/el/7/$basearch', u'filename': u'els-erlang'})
ok: [aio1_rabbit_mq_container-7aeeaf7f] => (item={u'description': u'RabbitMQ Server Rolling Repository', u'name': u'rabbitmq_rabbitmq-server', u'baseur
l': u'https://packagecloud.io/rabbitmq/rabbitmq-server/el/7/$basearch', u'filename': u'RabbitMQ'})
TASK [rabbitmq_server : Install RabbitMQ packages] *****************************
fatal: [aio1_rabbit_mq_container-7aeeaf7f]: FAILED! => {"changed": false, "msg": "No package matching 'erlang-22.1.3-1.el7.x86_64' found available, ins
talled or updated", "rc": 126, "results": ["No package matching 'erlang-22.1.3-1.el7.x86_64' found available, installed or updated"]}
PLAY RECAP *********************************************************************
aio1 : ok=31 changed=0 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0
aio1_galera_container-dc6e643a : ok=49 changed=0 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0
aio1_memcached_container-2568ac10 : ok=14 changed=0 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0
aio1_rabbit_mq_container-7aeeaf7f : ok=16 changed=1 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
aio1_repo_container-c0773ddc : ok=26 changed=0 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0
aio1_utility_container-e84bda78 : ok=44 changed=0 unreachable=0 failed=0 skipped=16 rescued=0 ignored=0
EXIT NOTICE [Playbook execution failure] **************************************
===============================================================================
+ grep -q 'Playbook execution success' setup-infrastructure.out
+ echo 'Failed to run the ansible playbook setup-infrastructure.yml'
Failed to run the ansible playbook setup-infrastructure.yml
+ sleep 1m
+ (( c++ ))
+ (( c<=4 ))
+ return 1
The procedure is as follows. I am an ONLINE USER.:
Step0. Quotas(CPUs & Local SSD) are no problem. And add port 5000 in "default-allow-https".
Step1. gcloud compute instances create openstack-01 --zone us-central1-f --custom-cpu 32 --custom-memory 72GB --min-cpu-platform "Intel Haswell" --image "https://www.googleapis.com/compute/v1/projects/onap-177920/global/images/aarna-aio-openstack-train-centos-7-08062020-00"
Step2. SSH connect to "openstack-01"
Step3. To run using the "aarna" account in GCP VM instance:
sudo usermod -aG wheel aarna
sudo passwd aarna
#set password
sudo su aarna
sudo ls
#try sudo
Step4. cd $HOME/onap-custom/setup-utils
nohup sudo bash -x aio-centos-gcp-deploy.sh 4 &
How can I deploy successfully?
Comments
-
Hi, we are looking into this issue. It seems like some dependency is broken in Openstack AIO installation recently. We will update here once we fix it, and also update the documentation.
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 769 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 5 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 14 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 3 System Administration Training
- 1 System Engineering Training
- 2 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 125 Mobile Computing
- 20 Android
- 90 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 396 Off Topic
- 121 Introductions
- 31 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 703 Software Development
- 1K Software
- 406 Applications
- 182 Command Line
- 5 Compiling/Installing
- 70 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)