miguno/wirbelsturm

Storm Supervisor provisioning broken?

msolujic opened this issue · 2 comments

Hi,

I've pulled latest source, destroyed old VMs (zookeeper, nimbus, supervisor and kafka) and tried provisioning them from scratch. Provisioning got stuck with supervisor machine with this output error message:

Stderr from the command:

Warning: Could not retrieve fact fqdn
Warning: Host is missing hostname and/or domain: supervisor1
Error: Could not prefetch package provider 'yum': Execution of '/usr/bin/python /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py' returned 1: Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.zarhi.com
 * extras: mirror.zarhi.com
 * updates: mirror.zarhi.com
 * wirbelsturm-epel-6: mirror.pmf.kg.ac.rs
Traceback (most recent call last):
  File "/usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py", line 115, in <module>
    ypl = pkg_lists(my)
  File "/usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py", line 40, in pkg_lists
    my.doTsSetup()
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 84, in doTsSetup
    return self._getTs()
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in _getTs
    self._getTsInfo(remove_only)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110, in _getTsInfo
    pkgSack = self.pkgSack
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 887, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 669, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.6/site-packages/yum/repos.py", line 308, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 165, in populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in _check_db_version
    return repo._check_db_version(mdtype)
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1256, in _check_db_version
    repoXML = self.repoXML
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1455, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1451, in _getRepoXML
    raise Errors.RepoError, msg
yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: miguno. Please verify its path and try again

Error: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y downgrade puppet-3.3.1-1.el6' returned 1: 

Error Downloading Packages:
  puppet-3.3.1-1.el6.noarch: failure: puppet-3.3.1-1.el6.noarch.rpm from puppetlabs-products: [Errno 256] No more mirrors to try.


Error: /Stage[main]/Wirbelsturm_common::Install/Package[puppet]/ensure: change from 3.4.2-1.el6 to 3.3.1-1.el6 failed: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y downgrade puppet-3.3.1-1.el6' returned 1: 

Error Downloading Packages:
  puppet-3.3.1-1.el6.noarch: failure: puppet-3.3.1-1.el6.noarch.rpm from puppetlabs-products: [Errno 256] No more mirrors to try.


Warning: /Stage[main]/Wirbelsturm_common::Config/Sysctl::Value[net.ipv6.conf.default.disable_ipv6]/Sysctl[net.ipv6.conf.default.disable_ipv6]: Skipping because of failed dependencies
Warning: /Stage[main]/Wirbelsturm_common::Config/Sysctl::Value[net.ipv6.conf.default.disable_ipv6]/Exec[exec_sysctl_net.ipv6.conf.default.disable_ipv6]: Skipping because of failed dependencies
Warning: /Stage[main]/Wirbelsturm_common::Config/Sysctl::Value[net.ipv6.conf.all.disable_ipv6]/Sysctl[net.ipv6.conf.all.disable_ipv6]: Skipping because of failed dependencies
Warning: /Stage[main]/Wirbelsturm_common::Config/Sysctl::Value[net.ipv6.conf.all.disable_ipv6]/Exec[exec_sysctl_net.ipv6.conf.all.disable_ipv6]: Skipping because of failed dependencies
Warning: /Stage[main]/Wirbelsturm_common/Anchor[wirbelsturm_common::end]: Skipping because of failed dependencies

How this problem can be fixed?

Do you have a networking issue on your host machine and/or VMs?

Also, this error message looks suspicious:

Error: Could not prefetch package provider 'yum': Execution of '/usr/bin/python /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py' returned 1: Loaded plugins: fastestmirror

Hi Michael.

May be that some kind of temporary networking issue was causing this.

Strange thing was that two machines were created just fine, and supervisor provisioning didn't worked.

I retried creating machines just now, and it worked. So you can close this one.

Thanks.