uec-query-builds: error: unable to open /etc/cloud/build.info

Bug #641651 reported by Mike Conigliaro
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cloud-utils (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: cloud-utils

The cron job at /etc/cron.d/cloudinit-updates contains a line like this:

28 21 * * * root uec-query-builds --system-suite --config /etc/cloud/build.info --output /var/lib/cloud/data/available.build is-update-available

However, /etc/cloud/build.info does not exist, resulting in annoying emails from cron every day:

Usage: uec-query-builds [options]

uec-query-builds: error: unable to open /etc/cloud/build.info

Revision history for this message
Scott Moser (smoser) wrote :

Thank you for your bug report.
The easy work around is to disable the cronjob (sudo rm -f /etc/cron.d/cloudinit-updates)

I don't see this as important enough to SRU to lucid or push through the final freeze, but I will get to into Natty.
In a re-bundle for maverick (0.5.14+) you can configure which cloud-config jobs should run in /etc/cloud/cloud.cfg . See an example of yaml syntax to do so in doc/examples/cloud-config.txt

For example if you had the following in /etc/cloud/cloud.cfg, the 'updates-check' job would never run, and thus not write the cronjob.

cloud_config_modules:
 - mounts
 - ssh-import-id
 - ssh
 - grub-dpkg
 - apt-update-upgrade
 - puppet
 - disable-ec2-metadata
 - runcmd
 - byobu

Changed in cloud-utils (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Scott Moser (smoser) wrote :

we no logner use that cron job.

Changed in cloud-utils (Ubuntu):
status: Triaged → Fix Released
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.