Ask Your Question

Error deploying MOS 7.0 with Zabbix 2.0 plugin

asked 2015-11-16 13:25:45 -0500

carlosedp gravatar image

I recently deployed a MOS 7.0 fuel instance and created a new environment but the Zabbix 2.0.0 plugin gives me an error that the package php5-mysql could not be found.

2015-11-16 18:53:15 +0000 /Stage[main]/Plugin_zabbix::Frontend/Package[php5-mysql] (info): Starting to evaluate the resource
2015-11-16 18:53:15 +0000 Puppet (debug): Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' php5-mysql'
2015-11-16 18:53:15 +0000 Puppet (debug): Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-mysql'
2015-11-16 18:53:15 +0000 Puppet (err): Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-mysql' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Package php5-mysql is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-mysql' has no installation candidate

/usr/lib/ruby/vendor_ruby/puppet/util/execution.rb:188:in `execute'
/usr/lib/ruby/vendor_ruby/puppet/provider/command.rb:23:in `execute'
/usr/lib/ruby/vendor_ruby/puppet/provider.rb:237:in `block in has_command'
/usr/lib/ruby/vendor_ruby/puppet/provider.rb:444:in `block in create_class_and_instance_method'
/usr/lib/ruby/vendor_ruby/puppet/provider/package/apt.rb:68:in `install'
/usr/lib/ruby/vendor_ruby/puppet/type/package.rb:67:in `block (3 levels) in <module:Puppet>'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:498:in `set'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:191:in `sync'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `perform_changes'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
/usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
/usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:164:in `block in apply'
/usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
/usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:108:in `as_logging_destination'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:163:in `apply'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:125:in `block in apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
/usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-17 06:28:14 -0500

carlosedp gravatar image

There is a problem deploying Zabbix 2.0.0 having mirrored the reopsitories locally.

The problem has been fixed on the 2.5.0 version that can be built from git source:

yum install createrepo rpm rpm-build dpkg-devel
easy_install pip
pip install fuel-plugin-builder
git clone 
fpb --check ./fuel-plugin-external-zabbix
fpb --build ./fuel-plugin-external-zabbix
fuel plugins --install fuel-plugin-external-zabbix/zabbix_monitoring-2.5-2.5.0-1.noarch.rpm
edit flag offensive delete link more



I'm also trying to deploy plugin, but it always fail in provisioning phase, i suspect plugin will require the internet access, but all my nodes is behind proxy, do you know how to let fuel using proxy during deployment? thanks in advance.

Maple Wang gravatar imageMaple Wang ( 2015-11-25 04:42:28 -0500 )edit

You can mirror the repositories into your fuel node (with internet access) and them deploy the packages locally without internet access to all the nodes. Take a look into fuel-createmirror --help

carlosedp gravatar imagecarlosedp ( 2015-11-25 05:53:16 -0500 )edit

it's working for installing openstack only, if i tried to deploy some plugins, it's not working, it always try to access internet.

Maple Wang gravatar imageMaple Wang ( 2015-11-25 21:16:46 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2015-11-16 13:25:45 -0500

Seen: 282 times

Last updated: Nov 17 '15