[Openbook] v1.1.0 MOS 7.0 deploy failed in Tomcat7 intallation step

Bug #1588345 reported by Stepan Rogov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Plugins
New
Critical
Jeremy Fluhmann

Bug Description

It is because in the pre_build_hook there is downloading some versions of packages from ubuntu repos. At now some of these packages are outdated (i.e. tzdata). Fuel generates provisioning image (OS on fuel nodes) with latest ubuntu packages. But plugin's repo on fuel node has a higher priority than default ubuntu repos, so we have a downgrade request, that causes the next error:

2016-06-02 11:51:24 +0000 Puppet (debug): Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install tomcat7'
2016-06-02 11:51:24 +0000 Puppet (err): Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install tomcat7' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  authbind ca-certificates-java default-jre-headless fontconfig-config
  fonts-dejavu-core java-common libasyncns0 libavahi-client3
  libavahi-common-data libavahi-common3 libcommons-collections3-java
  libcommons-dbcp-java libcommons-pool-java libcups2 libecj-java libflac8
  libfontconfig1 libgeronimo-jta-1.1-spec-java libjpeg-turbo8 libjpeg8
  liblcms2-2 libnspr4 libnss3 libnss3-nssdb libogg0 libpcsclite1 libpulse0
  libsctp1 libservlet3.0-java libsndfile1 libtomcat7-java libvorbis0a
  libvorbisenc2 lksctp-tools openjdk-7-jre-headless tomcat7-common tzdata
  tzdata-java
Suggested packages:
  default-jre equivs libcommons-collections3-java-doc libcommons-dbcp-java-doc
  cups-common ecj ant libecj-java-gcj libgeronimo-jta-java-doc liblcms2-utils
  pcscd pulseaudio icedtea-7-jre-jamvm libnss-mdns sun-java6-fonts
  fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
  ttf-wqy-microhei ttf-wqy-zenhei ttf-indic-fonts-core ttf-telugu-fonts
  ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts tomcat7-docs
  tomcat7-admin tomcat7-examples tomcat7-user libtcnative-1
The following NEW packages will be installed:
  authbind ca-certificates-java default-jre-headless fontconfig-config
  fonts-dejavu-core java-common libasyncns0 libavahi-client3
  libavahi-common-data libavahi-common3 libcommons-collections3-java
  libcommons-dbcp-java libcommons-pool-java libcups2 libecj-java libflac8
  libfontconfig1 libgeronimo-jta-1.1-spec-java libjpeg-turbo8 libjpeg8
  liblcms2-2 libnspr4 libnss3 libnss3-nssdb libogg0 libpcsclite1 libpulse0
  libsctp1 libservlet3.0-java libsndfile1 libtomcat7-java libvorbis0a
  libvorbisenc2 lksctp-tools openjdk-7-jre-headless tomcat7 tomcat7-common
  tzdata-java
The following packages will be DOWNGRADED:
  tzdata
0 upgraded, 38 newly installed, 1 downgraded, 0 to remove and 2 not upgraded.
Need to get 49.9 MB of archives.
After this operation, 81.9 MB of additional disk space will be used.
E: There are problems and -y was used without --force-yes

I propose to remove downloading standard ubuntu packages from pre_build_hook, because its already present in ubuntu repos. If you want to install specific versions of packages please use the "ensure" attribute.

Tags: openbook
Stepan Rogov (srogov)
Changed in fuel-plugins:
importance: Undecided → Critical
milestone: none → 7.0
Changed in fuel-plugins:
assignee: nobody → Jeremy Fluhmann (fluhmann)
tags: added: openbook
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.