Last modified: 2014-08-03 21:11:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65823, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63823 - Puppet is stuck due to openjdk-7-jre-headless
Puppet is stuck due to openjdk-7-jre-headless
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-11 16:03 UTC by Tim Landscheidt
Modified: 2014-08-03 21:11 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Landscheidt 2014-04-11 16:03:46 UTC
Puppet is stuck on all exec nodes (inter alia tools-exec-* and tools-webgrid-*):

| err: /Stage[main]/Toollabs::Exec_environ/Package[openjdk-7-jre-headless]/ensure: change from 7u51-2.4.4-0ubuntu0.12.04.2 to 7u25-2.3.10-1ubuntu0.12.04.2 failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install openjdk-7-jre-headless' returned 100: Reading package lists...
| Building dependency tree...
| Reading state information...
| The following packages were automatically installed and are no longer required:
|   python-mailer python-pyparsing
| Use 'apt-get autoremove' to remove them.
| The following extra packages will be installed:
|   openjdk-7-jre-lib
| Suggested packages:
|   libnss-mdns sun-java6-fonts ttf-dejavu-extra fonts-ipafont-mincho
| Recommended packages:
|   icedtea-7-jre-jamvm
| The following NEW packages will be installed:
|   openjdk-7-jre-lib
| The following packages will be DOWNGRADED:
|   openjdk-7-jre-headless
| 0 upgraded, 1 newly installed, 1 downgraded, 0 to remove and 19 not upgraded.
| Need to get 41.0 MB of archives.
| After this operation, 1362 kB disk space will be freed.
| E: There are problems and -y was used without --force-yes
|  at /etc/puppet/modules/toollabs/manifests/exec_environ.pp:256
Comment 1 Daniel Zahn 2014-05-09 21:26:57 UTC
just confirmed on tools-exec-03, i was about to create this as a duplicate, fortunately Bugzilla is smart :)

it's still an issue, but the puppet run continues anyways, so it was possible to install new unrelated packages. the problem remains though on every puppet run

The following NEW packages will be installed:
  openjdk-7-jre-lib
The following packages will be DOWNGRADED:
  openjdk-7-jre-headless
Comment 2 Daniel Zahn 2014-05-09 21:32:08 UTC
circular dependency! baah


openjdk-7-jre-headless 
Depends: openjdk-7-jre-lib 

openjdk-7-jre-lib
Depends: openjdk-7-jre-headless

this must be https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641049
Comment 3 Daniel Zahn 2014-05-09 21:42:04 UTC
i think i could just fix it manually, but didn't want to just mess with it before another proper attempt via a puppet change (try to install -lib instead of -headless?)
Comment 4 Tim Landscheidt 2014-05-10 15:50:18 UTC
Thanks for tracking this down.  Assuming this is that bug, it needs to be fixed upstream.

IIRC the reason why we chose -headless is that otherwise X is pulled in, but I may be confusing this with something else.
Comment 5 Tim Landscheidt 2014-08-03 21:11:43 UTC
I don't think this got resolved intentionally, but Puppet runs clean at the moment, so closing for now (and hopefully not reopening it any time soon :-)).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links