pmorillon / xp5k-openstack

Openstack deployment on Grid'5000
2 stars 5 forks source link

rabbitmq-server package installation error #9

Open pmorillon opened 8 years ago

pmorillon commented 8 years ago

The rabbitmq-server package installation failed during the Puppet configuration :

Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install rabbitmq-server' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter
  erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic
  erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
  erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
  erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
  erlang-webtool erlang-xmerl libltdl7 libodbc1 libsctp1 lksctp-tools socat
Suggested packages:
  erlang erlang-manpages erlang-doc xsltproc fop erlang-ic-java
  erlang-observer libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
  erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter
  erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic
  erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
  erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
  erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
  erlang-webtool erlang-xmerl libltdl7 libodbc1 libsctp1 lksctp-tools
  rabbitmq-server socat
0 upgraded, 32 newly installed, 0 to remove and 197 not upgraded.
Need to get 24.2 MB of archives.
After this operation, 42.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  rabbitmq-server
E: There are problems and -y was used without --force-yes
Error: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install rabbitmq-server' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter
  erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic
  erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
  erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
  erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
  erlang-webtool erlang-xmerl libltdl7 libodbc1 libsctp1 lksctp-tools socat
Suggested packages:
  erlang erlang-manpages erlang-doc xsltproc fop erlang-ic-java
  erlang-observer libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
  erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter
  erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic
  erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
  erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
  erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
  erlang-webtool erlang-xmerl libltdl7 libodbc1 libsctp1 lksctp-tools
  rabbitmq-server socat
0 upgraded, 32 newly installed, 0 to remove and 197 not upgraded.
Need to get 24.2 MB of archives.
After this operation, 42.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  rabbitmq-server
E: There are problems and -y was used without --force-yes
Notice: /Stage[main]/Rabbitmq::Config/File[/etc/rabbitmq]: Dependency Package[rabbitmq-server] has failures: true
Warning: /Stage[main]/Rabbitmq::Config/File[/etc/rabbitmq]: Skipping because of failed dependencies
pmorillon commented 8 years ago

The reason : https://groups.google.com/forum/#!topic/rabbitmq-users/BO5cmEsdEhc

pmorillon commented 8 years ago

A quick and dirty fix is available. Update repository and remove directory : scenarios/liberty_starter_kit/puppet/modules-openstack (or scenarios/liberty_multinodes/puppet/modules-openstack)

pmorillon commented 8 years ago

Waiting for a bug fix on puppetlabs-rabbitmq module : https://tickets.puppetlabs.com/browse/MODULES-3418

pmorillon commented 8 years ago

A pull request is opened : https://github.com/puppetlabs/puppetlabs-rabbitmq/pull/481