[SRU] network_data.json not found in openstack/2015-10-15/

Bug #1513267 reported by Mathieu Gagné
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
John Garbutt
Ubuntu Cloud Archive
Invalid
Undecided
Unassigned
Liberty
Fix Released
Undecided
Unassigned
nova (Ubuntu)
Invalid
Undecided
Unassigned
Wily
Fix Released
Medium
Corey Bryant

Bug Description

[Impact]
The file "network_data.json" is not found in the folder "openstack/2015-10-15/" of config drive.

The result is that network_data metadata doesn't work on Liberty.

[Testcase]
On liberty, launch an instance with a configuration drive:
e.g. nova boot --config-drive=true

The network_data.json will be available in the metadata.

Inside the instance, this should be expected to provide output:
  $ sudo isoinfo -i /dev/sr0 -R -J -l | grep network_data.json

Or
  $ mkdir mp; sudo mount /dev/sr0 mp; find mp | grep network_data.json

[Regression]
The regression potential is minimal. The fix has already landed in Mitaka and cherry-picked patch required no code changes for Liberty.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/241824

Changed in nova:
assignee: nobody → Mathieu Gagné (mgagne)
status: New → In Progress
melanie witt (melwitt)
Changed in nova:
importance: Undecided → Medium
Changed in nova:
assignee: Mathieu Gagné (mgagne) → John Garbutt (johngarbutt)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/241824
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=edea873565d07120141ae0f76199d6a3aee2959d
Submitter: Jenkins
Branch: master

commit edea873565d07120141ae0f76199d6a3aee2959d
Author: Mathieu Gagné <email address hidden>
Date: Wed Nov 4 19:04:40 2015 -0500

    Properly inject network_data.json in configdrive

    The file "network_data.json" is not currently found in the folder
    "openstack/2015-10-15/" of config drive, only in "openstack/latest/".
    The patch makes sure its found in both folders.

    Closes-bug: #1513267
    Change-Id: Ifcd4fadb91fcd360af5cf0988178992f2905190a

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/295982

Changed in nova (Ubuntu):
status: New → Invalid
Changed in nova (Ubuntu Wily):
status: New → In Progress
summary: - network_data.json not found in openstack/2015-10-15/
+ [SRU] network_data.json not found in openstack/2015-10-15/
Changed in nova (Ubuntu Wily):
assignee: nobody → Corey Bryant (corey.bryant)
importance: Undecided → Medium
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Scott Moser (smoser)
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Mathieu, or anyone else affected,

Accepted nova into wily-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nova/2:12.0.2-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nova (Ubuntu Wily):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
James Page (james-page) wrote :

Hello Mathieu, or anyone else affected,

Accepted nova into liberty-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:liberty-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-liberty-needed to verification-liberty-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-liberty-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-liberty-needed
Changed in cloud-archive:
status: New → Invalid
tags: added: verification-done verification-liberty-done
removed: verification-liberty-needed verification-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hi Chris and James,

Proposed testing has successfully completed for this against 2:12.0.2-0ubuntu1 (wily) and 2:12.0.2-0ubuntu1~cloud0 (trusty-liberty).

Thanks,
Corey

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 2:12.0.2-0ubuntu1

---------------
nova (2:12.0.2-0ubuntu1) wily; urgency=medium

  [ James Page ]
  * New upstream stable release (LP: #1559935).
    - d/rules: Drop use of proxy discard service, not required and
      causes unit test failures with this update.

  [ Corey Bryant ]
  * d/p/network-data-json-in-configdrive.patch: Cherry pick patch to properly
    inject network_data.json into the config drive (LP: #1513267).

 -- Corey Bryant <email address hidden> Tue, 22 Mar 2016 14:24:08 -0400

Changed in nova (Ubuntu Wily):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for nova has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
James Page (james-page) wrote :

The verification of the Stable Release Update for nova has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
James Page (james-page) wrote :

This bug was fixed in the package nova - 2:12.0.2-0ubuntu1~cloud0
---------------

 nova (2:12.0.2-0ubuntu1~cloud0) trusty-liberty; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 nova (2:12.0.2-0ubuntu1) wily; urgency=medium
 .
   [ James Page ]
   * New upstream stable release (LP: #1559935).
     - d/rules: Drop use of proxy discard service, not required and
       causes unit test failures with this update.
 .
   [ Corey Bryant ]
   * d/p/network-data-json-in-configdrive.patch: Cherry pick patch to properly
     inject network_data.json into the config drive (LP: #1513267).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/liberty)

Reviewed: https://review.openstack.org/295982
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=32cb410f493a9e53b60d578d5cf2237591d93e2a
Submitter: Jenkins
Branch: stable/liberty

commit 32cb410f493a9e53b60d578d5cf2237591d93e2a
Author: Mathieu Gagné <email address hidden>
Date: Wed Nov 4 19:04:40 2015 -0500

    Properly inject network_data.json in configdrive

    The file "network_data.json" is not currently found in the folder
    "openstack/2015-10-15/" of config drive, only in "openstack/latest/".
    The patch makes sure its found in both folders.

    Closes-bug: #1513267
    Change-Id: Ifcd4fadb91fcd360af5cf0988178992f2905190a
    (cherry picked from commit edea873565d07120141ae0f76199d6a3aee2959d)

tags: added: in-stable-liberty
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/nova 12.0.4

This issue was fixed in the openstack/nova 12.0.4 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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