Closed Bug 871537 Opened 11 years ago Closed 11 years ago

aws base image fails to puppetize properly

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bhearsum, Unassigned)

References

Details

I tried to puppetize the servo buildbot master and it failed with:
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: Execution of '/bin/rpm -e ssmtp-2.61-15.el6.x86_64' returned 1: error: Failed dependencies:
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: #011/usr/bin/mailq is needed by (installed) nagios-plugins-mailq-1.4.15-2.el6.x86_64
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: #011/usr/sbin/sendmail is needed by (installed) cronie-1.4.4-7.el6.x86_64
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Packages::Postfix/Package[ssmtp]/ensure) change from 2.61-15.el6 to absent failed: Execution of '/bin/rpm -e ssmtp-2.61-15.el6.x86_64' returned 1: error: Failed dependencies:
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Packages::Postfix/Package[ssmtp]/ensure) #011/usr/bin/mailq is needed by (installed) nagios-plugins-mailq-1.4.15-2.el6.x86_64
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Packages::Postfix/Package[ssmtp]/ensure) #011/usr/sbin/sendmail is needed by (installed) cronie-1.4.4-7.el6.x86_64
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Packages::Postfix/Package[postfix]) Dependency Package[ssmtp] has failures: true
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Packages::Postfix/Package[postfix]) Skipping because of failed dependencies
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Packages::Postfix/Exec[update-mta-alternatives]) Dependency Package[ssmtp] has failures: true
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Packages::Postfix/Exec[update-mta-alternatives]) Skipping because of failed dependencies
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Install/Anchor[smarthost::install::end]) Dependency Package[ssmtp] has failures: true
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Install/Anchor[smarthost::install::end]) Skipping because of failed dependencies
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Setup/File[/etc/aliases]) Dependency Package[ssmtp] has failures: true
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Setup/File[/etc/aliases]) Skipping because of failed dependencies
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Setup/File[/etc/postfix/main.cf]) Dependency Package[ssmtp] has failures: true
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Setup/File[/etc/postfix/main.cf]) Skipping because of failed dependencies
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Setup/Exec[newaliases]) Dependency Package[ssmtp] has failures: true
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Setup/Exec[newaliases]) Skipping because of failed dependencies
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Daemon/Service[postfix]) Dependency Package[ssmtp] has failures: true
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost::Daemon/Service[postfix]) Skipping because of failed dependencies
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost/Anchor[smarthost::end]) Dependency Package[ssmtp] has failures: true
May 13 10:03:04 ip-10-134-82-21 puppet-agent[25636]: (/Stage[main]/Smarthost/Anchor[smarthost::end]) Skipping because of failed dependencies


I also had some issues around ssmtp while trying to bring up the servo puppet master on Friday.

10:04 < dustin> yeah, I bet that's going to be the same for every host you puppetize 
                wiht that AMI :(
10:05 < dustin> yeah, I think the fix there is to build a CentOS-6.2 Base-only AMI 
                (even better if it has puppet and puppetize.sh installed)
To fix, I:
* Removed ssmtp by hand (which also removed some other packages, see below).
* Install postfix and other packages:
yum install nagios-plugins-all nagios-plugins-mailq sysstat cronie cronie-anacron crontabs postfix
Component: Release Engineering → Release Engineering: Platform Support
QA Contact: coop
Blocks: 867583
Product: mozilla.org → Release Engineering
This got fixed a while ago.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.