cloud-images: /etc/cloud/build.info is emtpy

Bug #844164 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on EC2
Fix Released
High
Unassigned

Bug Description

This is from 20110907 build.

/etc/cloud/build.info is empty.

it should contain something like:
$ cat /etc/cloud/build.info
build_name: server
serial: 20110426

Scott Moser (smoser)
Changed in ubuntu:
assignee: nobody → Ben Howard (utlemming)
status: New → Confirmed
tags: added: cloud-images ec2-images regression-release uec-images
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Affects Oneiric images; Natty not affected.

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

------------------------------------------------------------
revno: 372
committer: Ben Howard <email address hidden>
branch nick: automated-ec2-builds
timestamp: Wed 2011-09-07 13:41:55 -0600
message:
  Fixed missing build.info
diff:
=== modified file 'build-lb-ec2-image'
--- build-lb-ec2-image 2011-08-29 22:42:44 +0000
+++ build-lb-ec2-image 2011-09-07 19:41:55 +0000
@@ -336,9 +336,9 @@
        rsync -a "${lb_config_src_loc}/${arch}/" "${conf_d}" || fail "failed to copy ${live_path}"

        # write build.info
- debug "build_name: ${build_type}" >> "${conf_d}/cloud_local-includes/etc/cloud/build.info" &&
- debug "serial: ${serial}" >> "${conf_d}/cloud_local-includes/etc/cloud/build.info" ||
- fail "Unable to write ${conf_d}/etc/cloud/build.info"
+ echo "build_name: ${build_type}" >> "${conf_d}/cloud_local-includes/etc/cloud/build.info" &&
+ echo "serial: ${serial}" >> "${conf_d}/cloud_local-includes/etc/cloud/build.info" ||
+ fail "Unable to write ${conf_d}/etc/cloud/build.info"

        # make the live-build dir
        rsync -a "${live_path}/" "${work_d}/live-build" ||

Regression for /etc/cloud/build.info was introduced at r355. Fixed and pushed. Will verify tomorrow that build includes the build.info.

tags: added: rls-mgr-o-tracking
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Fix confirmed.

Mathew Hodson (mhodson)
no longer affects: Ubuntu Oneiric
affects: ubuntu → ubuntu-on-ec2
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.