Comment 0 for bug 1606181

Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote : deploy master node failed due to [Errno 256] No more mirrors to try

Detailed bug description:
 bootstrap_admin_node.sh failed.
 Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install ami-creator' returned 1: Error downloading packages:
  pykickstart-1.99.66.6-1.el7.noarch: [Errno 256] No more mirrors to try.
  dosfstools-3.0.20-9.el7.x86_64: [Errno 256] No more mirrors to try.
  system-config-keyboard-1.4.0-4.el7.noarch: [Errno 256] No more mirrors to try.
  system-config-keyboard-base-1.4.0-4.el7.noarch: [Errno 256] No more mirrors to try.
  squashfs-tools-4.3-0.21.gitaae0aff4.el7.x86_64: [Errno 256] No more mirrors to try.
  ami-creator-0.3-1.el7~mos1.noarch: [Errno 256] No more mirrors to try.
  1:python-imgcreate-13.4.5-2.el7~mos1.x86_64: [Errno 256] No more mirrors to try.
Error: /Stage[main]/Main/Package[ami-creator]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install ami-creator' returned 1: Error downloading packages:
  pykickstart-1.99.66.6-1.el7.noarch: [Errno 256] No more mirrors to try.
  dosfstools-3.0.20-9.el7.x86_64: [Errno 256] No more mirrors to try.
  system-config-keyboard-1.4.0-4.el7.noarch: [Errno 256] No more mirrors to try.
  system-config-keyboard-base-1.4.0-4.el7.noarch: [Errno 256] No more mirrors to try.
  squashfs-tools-4.3-0.21.gitaae0aff4.el7.x86_64: [Errno 256] No more mirrors to try.
  ami-creator-0.3-1.el7~mos1.noarch: [Errno 256] No more mirrors to try.
  1:python-imgcreate-13.4.5-2.el7~mos1.x86_64: [Errno 256] No more mirrors to try.
Debug: Class[Main]: The container Stage[main] will propagate my refresh event
Debug: Exec[initialize atop_current](provider=posix): Executing '/etc/cron.daily/atop_retention'
Debug: Executing '/etc/cron.daily/atop_retention'
Notice: /Stage[main]/Osnailyfacter::Atop/Exec[initialize atop_current]: Triggered 'refresh' from 1 events
Debug: /Stage[main]/Osnailyfacter::Atop/Exec[initialize atop_current]: The container Class[Osnailyfacter::Atop] will propagate my refresh event
Debug: Class[Osnailyfacter::Atop]: The container Stage[main] will propagate my refresh event
Debug: Finishing transaction 23018440
Debug: Storing state
Debug: Stored state in 0.04 seconds
Notice: Finished catalog run in 73.16 seconds
Debug: Using settings: adding file resource 'rrddir': 'File[/var/lib/puppet/rrd]{:path=>"/var/lib/puppet/rrd", :mode=>"750", :owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'
Debug: /File[/var/lib/puppet/rrd]/seluser: Found seluser default 'system_u' for /var/lib/puppet/rrd
Debug: /File[/var/lib/puppet/rrd]/selrole: Found selrole default 'object_r' for /var/lib/puppet/rrd
Debug: /File[/var/lib/puppet/rrd]/seltype: Found seltype default 'puppet_var_lib_t' for /var/lib/puppet/rrd
Debug: /File[/var/lib/puppet/rrd]/selrange: Found selrange default 's0' for /var/lib/puppet/rrd
Debug: Finishing transaction 45576300
Debug: Received report to process from nailgun.test.domain.local
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: Processing report from nailgun.test.domain.local with processor Puppet::Reports::Store
The were failures while running task: host with exit code: 6
ERROR: Fuel node deployment FAILED! Check /var/log/puppet/bootstrap_admin_node.log for details

Steps to reproduce:
 1) Deploy master node using Centos node, fuel-release - http://mirror.fuel-infra.org/mos-repos/centos/mos-master-centos7/os/x86_64/Packages/fuel-release-10.0~b1-2.el7~mos1.noarch.rpm

 2) provide additional mos repo
    [root@nailgun ~]# cat /etc/yum.repos.d/custom.repo
    [mos]
    name=mos
    baseurl=http://mirror.fuel-infra.org/mos-repos/centos/mos-master-centos7/os/x86_64/
    enabled=1
    gpgcheck=0
    priority=10
    skip_if_unavailable=1

 3) provide additional deb repo using
    [root@nailgun ~]# cat /root/default_deb_repos.yaml
---
- name: "mos"
  uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/master
  suite: mos-master
  section: "main restricted"
  type: "deb"
  priority: 1000

 4) yum install -y fuel-release-10.0~b1-2.el7~mos1.noarch.rpm
 5) yum install -y fuel-setup

 6) run bootstrap_admin_node.sh

Expected results:
 Fuel services installed successfully

Actual result:
 The were failures while running task: host with exit code: 6
ERROR: Fuel node deployment FAILED! Check /var/log/puppet/bootstrap_admin_node.log for details

Reproducibility:
 every time
Workaround:
 -----
Impact:

 Fuel-qa must be able to run BVT, Swarm not using ISO

Description of the environment:

1)(venv-nailgun-tests-3.0) agrechanichenko@cz7322:~$ pip freeze |grep fuel-devops
fuel-devops==3.0.0

 2)[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_release:
 10.0
cat /etc/fuel_openstack_version:
 newton-10.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-misc-10.0~b1-1.noarch
 fuel-10.0~b1-2.el7~mos1.noarch
 fuel-bootstrap-cli-10.0~b1-1.el7~mos4.noarch
 fuel-setup-10.0~b1-2.el7~mos1.noarch
 fuel-notify-10.0~b1-1.noarch
 fuel-library10.0-10.0~b1-1.noarch
 network-checker-10.0~b1-1.el7~mos0.noarch
 shotgun-10.0~b1-1.el7~mos0.noarch
 fuel-agent-10.0~b1-1.el7~mos4.noarch
 fuel-openstack-metadata-10.0~b1-1.el7~mos6.noarch
 fuel-ui-10.0~b1-1.el7~mos10.noarch
 fuel-migrate-10.0~b1-1.noarch
 fuel-release-10.0~b1-2.el7~mos1.noarch
 python-fuelclient-10.0.0~b1-1.el7~mos2.noarch
 fuelmenu-10.0~b1-1.el7~mos0.noarch
 fuel-utils-10.0~b1-1.noarch