Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi nodes ECS installtion failed @step1 via the way of ova & no internet connection #348

Closed
mssh2001 opened this issue Sep 1, 2017 · 4 comments
Assignees

Comments

@mssh2001
Copy link

mssh2001 commented Sep 1, 2017

Expected Behavior

  1. multi nodes ECS installation via the way of ova & no internet connection
  2. it happens when running the "step1" and failed at this shell
    "yum -y -t -e0 -C --nogpgcheck --exclude epel-release-7-9.noarch install $(find /var/cache/y um -type f -name "*.rpm") || yum -y -t -e0 -C --nogpgcheck update";
    actually no any rpm under any directories of /var/cache/yum
  3. if there are not these rpms in ova image originally, hope to
    know what are these rpms so that I can download them and copy into these directories manually to make this "step1" continue to complete ;

Actual Behavior

failed in step1 @ TASK [CentOS_7_baseline_install : CentOS 7 | Install all packages in the cache]

Steps to Reproduce Behavior

  1. multi nodes ECS installation via the way of ova & no internet connection;
  2. running "step1" by "admin";

Output

[admin@ms00 ECS-CommunityEdition]$ videploy
[sudo] password for admin:
[admin@ms00 ECS-CommunityEdition]$ step1
ecs-install> Initializing data container, one moment ... OK
ecs-install> Applying deploy.yml

Do you accept the license? ["yes" or "no"]: yes
Great, thanks for helping us keep the lawyers happy!

PLAY [Installer | Setup access between ecs-install and install node] ***********

TASK [setup] *******************************************************************
ok: [172.26.7.26]

TASK [group_by] ****************************************************************
ok: [172.26.7.26]

PLAY [Installer | Create SSH keys] *********************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [installer_generate_ssh_keys : Installer | Check RSA Keypair] *************
ok: [localhost]

TASK [installer_generate_ssh_keys : Installer | Generate RSA Keypair] **********
changed: [localhost]

TASK [installer_generate_ssh_keys : Installer | Check ed25519 Keypair] *********

TASK [installer_generate_ssh_keys : Installer | Generate ed25519 Keypair] ******

TASK [installer_generate_ssh_keys : Installer | Fail when no crypto selected] **

TASK [installer_generate_ssh_keys : Installer | Ensure directory permissions on ssh keystore] ***
ok: [localhost] => (item={'value': {u'owner': u'root', u'state': u'file', u'group': u'root', u'mode': 600}, 'key': u'/opt/ssh/id_rsa'})
ok: [localhost] => (item={'value': {u'owner': u'root', u'state': u'directory', u'group': u'root', u'mode': 700}, 'key': u'/opt/ssh'})

PLAY [CentOS 7 | Setup SSH on install node] ************************************

TASK [CentOS_7_configure_ssh : CentOS 7 | Distribute ed25519 ssh key] **********

TASK [CentOS_7_configure_ssh : CentOS 7 | Distribute rsa ssh key] **************
changed: [172.26.7.26]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable SSH UseDNS] ******************
changed: [172.26.7.26]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable requiretty] ******************
ok: [172.26.7.26]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable sudo password reverification for admin group] ***
changed: [172.26.7.26]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable sudo password reverification for wheel group] ***
changed: [172.26.7.26]

RUNNING HANDLER [CentOS_7_configure_ssh : CentOS 7 | Restart sshd] *************
changed: [172.26.7.26]

PLAY RECAP *********************************************************************
172.26.7.26 : ok=8 changed=5 unreachable=0 failed=0
localhost : ok=4 changed=1 unreachable=0 failed=0

Playbook run took 0 days, 0 hours, 0 minutes, 25 seconds

PLAY [Common | Ping data nodes before doing anything else] *********************

TASK [ping] ********************************************************************
ok: [172.26.7.26]
ok: [172.26.7.29]
ok: [172.26.7.27]
ok: [172.26.7.28]

PLAY [Installer | Gather facts and slice into OS groups] ***********************

TASK [setup] *******************************************************************
ok: [172.26.7.29]
ok: [172.26.7.28]
ok: [172.26.7.27]

TASK [group_by] ****************************************************************
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.28]
ok: [172.26.7.29]

PLAY [CentOS 7 | Configure access] *********************************************

TASK [CentOS_7_configure_ssh : CentOS 7 | Distribute ed25519 ssh key] **********

TASK [CentOS_7_configure_ssh : CentOS 7 | Distribute rsa ssh key] **************
ok: [172.26.7.26]
changed: [172.26.7.29]
changed: [172.26.7.27]
changed: [172.26.7.28]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable SSH UseDNS] ******************
ok: [172.26.7.26]
changed: [172.26.7.29]
changed: [172.26.7.27]
changed: [172.26.7.28]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable requiretty] ******************
ok: [172.26.7.26]
ok: [172.26.7.29]
ok: [172.26.7.27]
ok: [172.26.7.28]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable sudo password reverification for admin group] ***
ok: [172.26.7.26]
changed: [172.26.7.27]
changed: [172.26.7.28]
changed: [172.26.7.29]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable sudo password reverification for wheel group] ***
ok: [172.26.7.26]
changed: [172.26.7.27]
changed: [172.26.7.29]
changed: [172.26.7.28]

TASK [firewalld_configure_access : Firewalld | Ensure service is started] ******
ok: [172.26.7.29]
ok: [172.26.7.26]
ok: [172.26.7.28]
ok: [172.26.7.27]

TASK [firewalld_configure_access : Firewalld | Add install node to firewalld trusted zone] ***
changed: [172.26.7.29]
changed: [172.26.7.26]
changed: [172.26.7.28]
changed: [172.26.7.27]

TASK [firewalld_configure_access : Firewalld | Add all data nodes to firewalld trusted zone] ***
changed: [172.26.7.26] => (item=172.17.0.1)
changed: [172.26.7.27] => (item=172.17.0.1)
changed: [172.26.7.28] => (item=172.17.0.1)
changed: [172.26.7.29] => (item=172.17.0.1)
ok: [172.26.7.26] => (item=172.26.7.26)
ok: [172.26.7.29] => (item=172.26.7.26)
ok: [172.26.7.27] => (item=172.26.7.26)
ok: [172.26.7.28] => (item=172.26.7.26)
ok: [172.26.7.29] => (item=172.17.0.1)
ok: [172.26.7.28] => (item=172.17.0.1)
ok: [172.26.7.27] => (item=172.17.0.1)
ok: [172.26.7.26] => (item=172.17.0.1)
changed: [172.26.7.29] => (item=172.26.7.27)
changed: [172.26.7.27] => (item=172.26.7.27)
changed: [172.26.7.28] => (item=172.26.7.27)
changed: [172.26.7.26] => (item=172.26.7.27)
ok: [172.26.7.29] => (item=172.17.0.1)
ok: [172.26.7.27] => (item=172.17.0.1)
ok: [172.26.7.28] => (item=172.17.0.1)
ok: [172.26.7.26] => (item=172.17.0.1)
changed: [172.26.7.29] => (item=172.26.7.28)
changed: [172.26.7.27] => (item=172.26.7.28)
changed: [172.26.7.28] => (item=172.26.7.28)
changed: [172.26.7.26] => (item=172.26.7.28)
ok: [172.26.7.29] => (item=172.17.0.1)
ok: [172.26.7.27] => (item=172.17.0.1)
ok: [172.26.7.28] => (item=172.17.0.1)
ok: [172.26.7.26] => (item=172.17.0.1)
changed: [172.26.7.29] => (item=172.26.7.29)
changed: [172.26.7.27] => (item=172.26.7.29)
changed: [172.26.7.28] => (item=172.26.7.29)
changed: [172.26.7.26] => (item=172.26.7.29)

TASK [firewalld_configure_access : Firewalld | Whitelist management prefixes] **
changed: [172.26.7.26] => (item=0.0.0.0/0)
changed: [172.26.7.28] => (item=0.0.0.0/0)
changed: [172.26.7.29] => (item=0.0.0.0/0)
changed: [172.26.7.27] => (item=0.0.0.0/0)

TASK [firewalld_configure_access : Firewalld | Add all public service ports to firewalld public zone] ***
changed: [172.26.7.29] => (item=3218/tcp)
changed: [172.26.7.26] => (item=3218/tcp)
changed: [172.26.7.28] => (item=3218/tcp)
changed: [172.26.7.27] => (item=3218/tcp)
changed: [172.26.7.29] => (item=9020-9025/tcp)
changed: [172.26.7.27] => (item=9020-9025/tcp)
changed: [172.26.7.26] => (item=9020-9025/tcp)
changed: [172.26.7.28] => (item=9020-9025/tcp)
changed: [172.26.7.29] => (item=9040/tcp)
changed: [172.26.7.27] => (item=9040/tcp)
changed: [172.26.7.28] => (item=9040/tcp)
changed: [172.26.7.26] => (item=9040/tcp)

TASK [firewalld_configure_access : Firewalld | Ensure service is started] ******
changed: [172.26.7.28]
changed: [172.26.7.29]
changed: [172.26.7.27]
changed: [172.26.7.26]

RUNNING HANDLER [CentOS_7_configure_ssh : CentOS 7 | Restart sshd] *************
changed: [172.26.7.29]
changed: [172.26.7.28]
changed: [172.26.7.27]

PLAY [Common | Configure hostnames] ********************************************

TASK [common_set_hostname : include_vars] **************************************
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.28]
ok: [172.26.7.29]

TASK [common_set_hostname : Common | Find node hostname] ***********************
ok: [172.26.7.26] => (item=(0, u'172.26.7.26'))
ok: [172.26.7.27] => (item=(1, u'172.26.7.27'))
ok: [172.26.7.28] => (item=(2, u'172.26.7.28'))
ok: [172.26.7.29] => (item=(3, u'172.26.7.29'))

TASK [common_set_hostname : Common | Set node hostname] ************************
changed: [172.26.7.29]
changed: [172.26.7.26]
changed: [172.26.7.28]
changed: [172.26.7.27]

PLAY [Common | Configure /etc/hosts] *******************************************

TASK [common_etc_hosts : Common | Add install node to /etc/hosts] **************
changed: [172.26.7.28] => (item=172.26.7.26)
changed: [172.26.7.29] => (item=172.26.7.26)
changed: [172.26.7.26] => (item=172.26.7.26)
changed: [172.26.7.27] => (item=172.26.7.26)

TASK [common_etc_hosts : Common | Add data nodes to /etc/hosts] ****************
ok: [172.26.7.26] => (item=172.26.7.26)
ok: [172.26.7.27] => (item=172.26.7.26)
ok: [172.26.7.28] => (item=172.26.7.26)
ok: [172.26.7.29] => (item=172.26.7.26)
changed: [172.26.7.29] => (item=172.26.7.27)
changed: [172.26.7.28] => (item=172.26.7.27)
changed: [172.26.7.27] => (item=172.26.7.27)
changed: [172.26.7.26] => (item=172.26.7.27)
changed: [172.26.7.27] => (item=172.26.7.28)
changed: [172.26.7.29] => (item=172.26.7.28)
changed: [172.26.7.26] => (item=172.26.7.28)
changed: [172.26.7.28] => (item=172.26.7.28)
changed: [172.26.7.29] => (item=172.26.7.29)
changed: [172.26.7.28] => (item=172.26.7.29)
changed: [172.26.7.27] => (item=172.26.7.29)
changed: [172.26.7.26] => (item=172.26.7.29)

PLAY [Common | Test inter-node access] *****************************************

TASK [common_access_test : Common | Check node connectivity by IP] *************
ok: [172.26.7.26] => (item=172.17.0.1)
ok: [172.26.7.27] => (item=172.17.0.1)
ok: [172.26.7.28] => (item=172.17.0.1)
ok: [172.26.7.29] => (item=172.17.0.1)
ok: [172.26.7.27] => (item=172.26.7.26)
ok: [172.26.7.29] => (item=172.26.7.26)
ok: [172.26.7.28] => (item=172.26.7.26)
ok: [172.26.7.26] => (item=172.26.7.26)
ok: [172.26.7.29] => (item=172.17.0.1)
ok: [172.26.7.26] => (item=172.17.0.1)
ok: [172.26.7.28] => (item=172.17.0.1)
ok: [172.26.7.27] => (item=172.17.0.1)
ok: [172.26.7.29] => (item=172.26.7.27)
ok: [172.26.7.28] => (item=172.26.7.27)
ok: [172.26.7.26] => (item=172.26.7.27)
ok: [172.26.7.27] => (item=172.26.7.27)
ok: [172.26.7.29] => (item=172.17.0.1)
ok: [172.26.7.28] => (item=172.17.0.1)
ok: [172.26.7.26] => (item=172.17.0.1)
ok: [172.26.7.27] => (item=172.17.0.1)
ok: [172.26.7.29] => (item=172.26.7.28)
ok: [172.26.7.28] => (item=172.26.7.28)
ok: [172.26.7.27] => (item=172.26.7.28)
ok: [172.26.7.26] => (item=172.26.7.28)
ok: [172.26.7.29] => (item=172.17.0.1)
ok: [172.26.7.28] => (item=172.17.0.1)
ok: [172.26.7.26] => (item=172.17.0.1)
ok: [172.26.7.27] => (item=172.17.0.1)
ok: [172.26.7.29] => (item=172.26.7.29)
ok: [172.26.7.28] => (item=172.26.7.29)
ok: [172.26.7.26] => (item=172.26.7.29)
ok: [172.26.7.27] => (item=172.26.7.29)

TASK [common_access_test : Common | Check node connectivity by short name] *****
ok: [172.26.7.28] => (item=luna)
ok: [172.26.7.29] => (item=luna)
ok: [172.26.7.26] => (item=luna)
ok: [172.26.7.27] => (item=luna)
ok: [172.26.7.27] => (item=phobos)
ok: [172.26.7.28] => (item=phobos)
ok: [172.26.7.26] => (item=phobos)
ok: [172.26.7.29] => (item=phobos)
ok: [172.26.7.29] => (item=deimos)
ok: [172.26.7.27] => (item=deimos)
ok: [172.26.7.28] => (item=deimos)
ok: [172.26.7.26] => (item=deimos)
ok: [172.26.7.29] => (item=io)
ok: [172.26.7.27] => (item=io)
ok: [172.26.7.28] => (item=io)
ok: [172.26.7.26] => (item=io)

TASK [common_access_test : Common | Check node connectivity by fqdn] ***********
ok: [172.26.7.27] => (item=luna)
ok: [172.26.7.28] => (item=luna)
ok: [172.26.7.26] => (item=luna)
ok: [172.26.7.29] => (item=luna)
ok: [172.26.7.27] => (item=phobos)
ok: [172.26.7.29] => (item=phobos)
ok: [172.26.7.28] => (item=phobos)
ok: [172.26.7.26] => (item=phobos)
ok: [172.26.7.27] => (item=deimos)
ok: [172.26.7.29] => (item=deimos)
ok: [172.26.7.28] => (item=deimos)
ok: [172.26.7.26] => (item=deimos)
ok: [172.26.7.27] => (item=io)
ok: [172.26.7.29] => (item=io)
ok: [172.26.7.28] => (item=io)
ok: [172.26.7.26] => (item=io)

PLAY RECAP *********************************************************************
172.26.7.26 : ok=21 changed=8 unreachable=0 failed=0
172.26.7.27 : ok=23 changed=13 unreachable=0 failed=0
172.26.7.28 : ok=23 changed=13 unreachable=0 failed=0
172.26.7.29 : ok=23 changed=13 unreachable=0 failed=0

Playbook run took 0 days, 0 hours, 0 minutes, 12 seconds

PLAY [Common | Ping data nodes before doing anything else] *********************

TASK [ping] ********************************************************************
ok: [172.26.7.29]
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.28]

PLAY [Installer | Slice nodes into OS groups] **********************************

TASK [group_by] ****************************************************************
ok: [172.26.7.27]
ok: [172.26.7.28]
ok: [172.26.7.26]
ok: [172.26.7.29]

PLAY [Installer | Perform preflight check] *************************************

TASK [common_collect_facts : Common | Create custom facts directory] ***********
changed: [172.26.7.29]
changed: [172.26.7.27]
changed: [172.26.7.28]
changed: [172.26.7.26]

TASK [common_collect_facts : Common | Insert data_node.fact file] **************
changed: [172.26.7.29]
changed: [172.26.7.28]
changed: [172.26.7.27]
changed: [172.26.7.26]

TASK [common_collect_facts : Common | Reload facts to pick up new items] *******
ok: [172.26.7.29]
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.28]

TASK [common_baseline_check : include_vars] ************************************
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.28]
ok: [172.26.7.29]

TASK [common_baseline_check : Common | Check RAM size] *************************

TASK [common_baseline_check : Common | Check CPU architecture] *****************

TASK [common_baseline_check : Common | Validate OS distribution] ***************

TASK [common_baseline_check : Common | (Optional) Check UTC Timezone] **********

TASK [common_baseline_check : Common | Make sure /data directory does not exist] ***
ok: [172.26.7.29]
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.28]

TASK [common_baseline_check : fail] ********************************************

TASK [common_baseline_check : Common | Make sure /host directory does not exist] ***
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.28]
ok: [172.26.7.29]

TASK [common_baseline_check : fail] ********************************************

TASK [common_baseline_check : Common | Make sure block device(s) exist on node]
ok: [172.26.7.26] => (item=/dev/sdb)
ok: [172.26.7.27] => (item=/dev/sdb)
ok: [172.26.7.29] => (item=/dev/sdb)
ok: [172.26.7.28] => (item=/dev/sdb)

TASK [common_baseline_check : fail] ********************************************

TASK [common_baseline_check : Common | Make sure block device(s) are at least 100GB] ***

TASK [common_baseline_check : Common | Make sure block device(s) are unpartitioned] ***
ok: [172.26.7.26] => (item=/dev/sdb)
ok: [172.26.7.27] => (item=/dev/sdb)
ok: [172.26.7.29] => (item=/dev/sdb)
ok: [172.26.7.28] => (item=/dev/sdb)

TASK [common_baseline_check : fail] ********************************************

TASK [common_baseline_check : Common | Check for listening layer 4 ports] ******
changed: [172.26.7.27]
changed: [172.26.7.29]
changed: [172.26.7.28]
changed: [172.26.7.26]

TASK [common_baseline_check : Common | Report any conflicts with published ECS ports] ***

TASK [common_baseline_check : Common | Report any conflicts with internal ECS ports] ***

PLAY RECAP *********************************************************************
172.26.7.26 : ok=11 changed=3 unreachable=0 failed=0
172.26.7.27 : ok=11 changed=3 unreachable=0 failed=0
172.26.7.28 : ok=11 changed=3 unreachable=0 failed=0
172.26.7.29 : ok=11 changed=3 unreachable=0 failed=0

Playbook run took 0 days, 0 hours, 0 minutes, 7 seconds

PLAY [Installer | Setup access between ecs-install and install node] ***********

TASK [group_by] ****************************************************************
ok: [172.26.7.26]

PLAY [Installer | Create SSH keys] *********************************************

TASK [installer_generate_ssh_keys : Installer | Check RSA Keypair] *************
ok: [localhost]

TASK [installer_generate_ssh_keys : Installer | Generate RSA Keypair] **********

TASK [installer_generate_ssh_keys : Installer | Check ed25519 Keypair] *********

TASK [installer_generate_ssh_keys : Installer | Generate ed25519 Keypair] ******

TASK [installer_generate_ssh_keys : Installer | Fail when no crypto selected] **

TASK [installer_generate_ssh_keys : Installer | Ensure directory permissions on ssh keystore] ***
ok: [localhost] => (item={'value': {u'owner': u'root', u'state': u'file', u'group': u'root', u'mode': 600}, 'key': u'/opt/ssh/id_rsa'})
ok: [localhost] => (item={'value': {u'owner': u'root', u'state': u'directory', u'group': u'root', u'mode': 700}, 'key': u'/opt/ssh'})

PLAY [CentOS 7 | Setup SSH on install node] ************************************

TASK [CentOS_7_configure_ssh : CentOS 7 | Distribute ed25519 ssh key] **********

TASK [CentOS_7_configure_ssh : CentOS 7 | Distribute rsa ssh key] **************
ok: [172.26.7.26]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable SSH UseDNS] ******************
ok: [172.26.7.26]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable requiretty] ******************
ok: [172.26.7.26]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable sudo password reverification for admin group] ***
ok: [172.26.7.26]

TASK [CentOS_7_configure_ssh : CentOS 7 | Disable sudo password reverification for wheel group] ***
ok: [172.26.7.26]

PLAY RECAP *********************************************************************
172.26.7.26 : ok=6 changed=0 unreachable=0 failed=0
localhost : ok=2 changed=0 unreachable=0 failed=0

Playbook run took 0 days, 0 hours, 0 minutes, 1 seconds

PLAY [Installer | Build the package cache] *************************************

TASK [installer_build_cache : include_vars] ************************************
ok: [localhost]

TASK [installer_build_cache : Installer | Create cache directories] ************
changed: [localhost] => (item=os_CentOS_7)
changed: [localhost] => (item=docker)

TASK [installer_build_cache : Installer | Create compressed cache files] *******
changed: [localhost -> 172.26.7.26] => (item={'value': {u'src': u'/var/cache/yum', u'dest': u'package_cache.tgz', u'pack_cmd': u'tar -c /var/cache/yum | pigz -c5 > package_cache.tgz', u'unpack_sem': u'cache_control.sem', u'applies_to': u'os_CentOS_7', u'unpack_cmd': u'tar -xzf package_cache.tgz'}, ' key': u'os_CentOS_7'})
changed: [localhost -> 172.26.7.26] => (item={'value': {u'src': u'emccorp/ecs-software:latest', u'dest': u'ecs-software.tgz', u'pack_cmd': u'docker sa ve emccorp/ecs-software:latest | pigz -c5 > ecs-software.tgz', u'unpack_sem': u'cache_control.sem', u'applies_to': u'data_node', u'unpack_cmd': u'pigz -dc ecs-software.tgz | docker load'}, 'key': u'docker'})

TASK [installer_build_cache : Installer | Create cache distribution torrent file] ***
changed: [localhost]

PLAY [Installer | Enable torrent ffx] ******************************************

TASK [file] ********************************************************************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost : ok=5 changed=4 unreachable=0 failed=0

Playbook run took 0 days, 0 hours, 0 minutes, 36 seconds

ecs-install> Init bittorrent ffx .. OK

PLAY [Common | Ping data nodes before doing anything else] *********************

TASK [ping] ********************************************************************
ok: [172.26.7.29]
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.28]

PLAY [Installer | Slice nodes into OS groups for package install] **************

TASK [group_by] ****************************************************************
ok: [172.26.7.27]
ok: [172.26.7.26]
ok: [172.26.7.28]
ok: [172.26.7.29]

PLAY [CentOS 7 | Synchronize cache] ********************************************

TASK [CentOS_7_sync_caches_prep : CentOS 7 | Fetch torrent package names] ******
changed: [172.26.7.27 -> 172.26.7.26]
changed: [172.26.7.26 -> 172.26.7.26]
changed: [172.26.7.29 -> 172.26.7.26]
changed: [172.26.7.28 -> 172.26.7.26]

TASK [CentOS_7_sync_caches_prep : CentOS 7 | Make yum cache paths for torrent packages] ***

TASK [CentOS_7_sync_caches_prep : CentOS 7 | Copy torrent packages to nodes] ***

TASK [CentOS_7_sync_caches_prep : CentOS 7 | Install torrent packages on nodes]

TASK [common_sync_caches_by_torrent : include_vars] ****************************
ok: [172.26.7.27]
ok: [172.26.7.29]
ok: [172.26.7.26]
ok: [172.26.7.28]

TASK [common_sync_caches_by_torrent : Selinux | Set selinux permissive] ********
changed: [172.26.7.29]
changed: [172.26.7.27]
changed: [172.26.7.28]
changed: [172.26.7.26]

TASK [common_sync_caches_by_torrent : Common | Create ecs-install host directory on nodes] ***
ok: [172.26.7.29]
ok: [172.26.7.27]
ok: [172.26.7.28]

TASK [common_sync_caches_by_torrent : Common | Create ecs-install cache directory on nodes] ***
changed: [172.26.7.29]
changed: [172.26.7.27]
changed: [172.26.7.28]

TASK [common_sync_caches_by_torrent : Common | Copy cache torrent digest to nodes] ***
changed: [172.26.7.29]
changed: [172.26.7.27]
changed: [172.26.7.28]

TASK [common_sync_caches_by_torrent : Common | Torrent sync caches with nodes] *
changed: [172.26.7.27]
changed: [172.26.7.29]
changed: [172.26.7.28]

PLAY [CentOS 7 | Install cached packages] **************************************

TASK [CentOS_7_baseline_install : include_vars] ********************************
ok: [172.26.7.26]
ok: [172.26.7.28]
ok: [172.26.7.27]
ok: [172.26.7.29]

TASK [CentOS_7_baseline_install : CentOS 7 | Set selinux permissive] ***********
ok: [172.26.7.26]
ok: [172.26.7.27]
ok: [172.26.7.29]
ok: [172.26.7.28]

TASK [CentOS_7_baseline_install : CentOS 7 | Add SSL proxy cert] ***************

TASK [CentOS_7_baseline_install : CentOS 7 | Stop and disable unused services] *
ok: [172.26.7.26] => (item=mta)
ok: [172.26.7.29] => (item=mta)
ok: [172.26.7.28] => (item=mta)
ok: [172.26.7.27] => (item=mta)

TASK [CentOS_7_baseline_install : CentOS 7 | Configure DNS] ********************
changed: [172.26.7.29]
changed: [172.26.7.27]
changed: [172.26.7.26]
changed: [172.26.7.28]

TASK [CentOS_7_baseline_install : CentOS 7 | Unpack package_cache.tgz] *********
ok: [172.26.7.29]
ok: [172.26.7.26]
ok: [172.26.7.28]
ok: [172.26.7.27]

TASK [CentOS_7_baseline_install : CentOS 7 | Install all packages in the cache]
fatal: [172.26.7.26]: FAILED! => {"changed": true, "cmd": "yum -y -t -e0 -C --nogpgcheck --exclude epel-release-7-9.noarch install $(find /var/cache/y um -type f -name ".rpm") || yum -y -t -e0 -C --nogpgcheck update", "delta": "0:00:00.657636", "end": "2017-09-01 01:59:36.582795", "failed": true, "rc": 1, "start": "2017-09-01 01:59:35.925159", "stderr": "Error: Need to pass a list of pkgs to install\n Mini usage:\n\ninstall PACKAGE...\n\nInstal l a package or packages on your system\n\naliases: install-n, install-na, install-nevra\n\n\n One of the configured repositories failed (Unknown),\n a nd yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work "fix" this: \n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to po int to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the reposito ry (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum --disablerepo= ...\n\n 4. Disable the repository permanently, so yum won't use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use --enablerepo for temporary usage:\n\n yum-config-manager --disa ble \n or\n subscription-manager repos --disable=\n\n 5. Configure the failing repository to be skipped, if it i s unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and t hus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-conf ig-manager --save --setopt=.skip_if_unavailable=true\n\nCannot find repomd.xml file for base/7/x86_64", "stdout": "Loaded plugins: fastestmirr or\nLoaded plugins: fastestmirror", "stdout_lines": ["Loaded plugins: fastestmirror", "Loaded plugins: fastestmirror"], "warnings": ["Consider using y um module rather than running yum"]}
fatal: [172.26.7.29]: FAILED! => {"changed": true, "cmd": "yum -y -t -e0 -C --nogpgcheck --exclude epel-release-7-9.noarch install $(find /var/cache/y um -type f -name "
.rpm") || yum -y -t -e0 -C --nogpgcheck update", "delta": "0:00:00.723765", "end": "2017-09-01 01:59:36.655062", "failed": true, "rc": 1, "start": "2017-09-01 01:59:35.931297", "stderr": "Error: Need to pass a list of pkgs to install\n Mini usage:\n\ninstall PACKAGE...\n\nInstal l a package or packages on your system\n\naliases: install-n, install-na, install-nevra\n\n\n One of the configured repositories failed (Unknown),\n a nd yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work "fix" this: \n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to po int to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the reposito ry (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum --disablerepo= ...\n\n 4. Disable the repository permanently, so yum won't use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use --enablerepo for temporary usage:\n\n yum-config-manager --disa ble \n or\n subscription-manager repos --disable=\n\n 5. Configure the failing repository to be skipped, if it i s unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and t hus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-conf ig-manager --save --setopt=.skip_if_unavailable=true\n\nCannot find repomd.xml file for base/7/x86_64", "stdout": "Loaded plugins: fastestmirr or\nLoaded plugins: fastestmirror", "stdout_lines": ["Loaded plugins: fastestmirror", "Loaded plugins: fastestmirror"], "warnings": ["Consider using y um module rather than running yum"]}
fatal: [172.26.7.28]: FAILED! => {"changed": true, "cmd": "yum -y -t -e0 -C --nogpgcheck --exclude epel-release-7-9.noarch install $(find /var/cache/y um -type f -name ".rpm") || yum -y -t -e0 -C --nogpgcheck update", "delta": "0:00:00.742396", "end": "2017-09-01 01:59:36.669864", "failed": true, "rc": 1, "start": "2017-09-01 01:59:35.927468", "stderr": "Error: Need to pass a list of pkgs to install\n Mini usage:\n\ninstall PACKAGE...\n\nInstal l a package or packages on your system\n\naliases: install-n, install-na, install-nevra\n\n\n One of the configured repositories failed (Unknown),\n a nd yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work "fix" this: \n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to po int to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the reposito ry (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum --disablerepo= ...\n\n 4. Disable the repository permanently, so yum won't use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use --enablerepo for temporary usage:\n\n yum-config-manager --disa ble \n or\n subscription-manager repos --disable=\n\n 5. Configure the failing repository to be skipped, if it i s unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and t hus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-conf ig-manager --save --setopt=.skip_if_unavailable=true\n\nCannot find repomd.xml file for base/7/x86_64", "stdout": "Loaded plugins: fastestmirr or\nLoaded plugins: fastestmirror", "stdout_lines": ["Loaded plugins: fastestmirror", "Loaded plugins: fastestmirror"], "warnings": ["Consider using y um module rather than running yum"]}
fatal: [172.26.7.27]: FAILED! => {"changed": true, "cmd": "yum -y -t -e0 -C --nogpgcheck --exclude epel-release-7-9.noarch install $(find /var/cache/y um -type f -name "
.rpm") || yum -y -t -e0 -C --nogpgcheck update", "delta": "0:00:01.297782", "end": "2017-09-01 01:59:37.215034", "failed": true, "rc": 1, "start": "2017-09-01 01:59:35.917252", "stderr": "Error: Need to pass a list of pkgs to install\n Mini usage:\n\ninstall PACKAGE...\n\nInstal l a package or packages on your system\n\naliases: install-n, install-na, install-nevra\n\n\n One of the configured repositories failed (Unknown),\n a nd yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work "fix" this: \n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to po int to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the reposito ry (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum --disablerepo= ...\n\n 4. Disable the repository permanently, so yum won't use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use --enablerepo for temporary usage:\n\n yum-config-manager --disa ble \n or\n subscription-manager repos --disable=\n\n 5. Configure the failing repository to be skipped, if it i s unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and t hus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-conf ig-manager --save --setopt=.skip_if_unavailable=true\n\nCannot find repomd.xml file for base/7/x86_64", "stdout": "Loaded plugins: fastestmirr or\nLoaded plugins: fastestmirror", "stdout_lines": ["Loaded plugins: fastestmirror", "Loaded plugins: fastestmirror"], "warnings": ["Consider using y um module rather than running yum"]}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
172.26.7.26 : ok=10 changed=3 unreachable=0 failed=1
172.26.7.27 : ok=14 changed=6 unreachable=0 failed=1
172.26.7.28 : ok=14 changed=6 unreachable=0 failed=1
172.26.7.29 : ok=14 changed=6 unreachable=0 failed=1

Playbook run took 0 days, 0 hours, 0 minutes, 32 seconds
Operation failed.

@mssh2001
Copy link
Author

mssh2001 commented Sep 1, 2017

ecs ova version is "dellemc-ecsce-3.0.0.2-install-node-2.4.0-vm0.ova"

@padthaitofuhot
Copy link
Contributor

This bug occurs because the OVA does not have any packages onboard and shouldn't be trying to install packages. This bug will be resolved once the global OVA flag is implemented. There is no simple work-around currently, but a fix should be released with the next update.

@mssh2001
Copy link
Author

mssh2001 commented Sep 2, 2017

i went to the role of "CentOS_7_baseline_install" and commented lines from 41 to 45 in its tasks/main.yml , which are those under the name of " Install all packages in the cache" , however that shell cmd still be run . failed to avoid these lines simple by editing that main.yml file .

@padthaitofuhot padthaitofuhot added this to Needs Review in Installer 2.x Sep 22, 2017
@padthaitofuhot
Copy link
Contributor

Closed by #349

@padthaitofuhot padthaitofuhot moved this from Needs Review to Done in Installer 2.x Nov 6, 2017
@padthaitofuhot padthaitofuhot removed this from Done in Installer 2.x Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants