Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance path in / if instance-id starts with '/' #2660

Closed
ubuntu-server-builder opened this issue May 10, 2023 · 3 comments
Closed

Instance path in / if instance-id starts with '/' #2660

ubuntu-server-builder opened this issue May 10, 2023 · 3 comments
Labels
launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #1575938

Launchpad details
affected_projects = ['cloud-init (Ubuntu)', 'cloud-init (Ubuntu Xenial)']
assignee = None
assignee_name = None
date_closed = 2019-12-23T14:57:29.043572+00:00
date_created = 2016-04-27T21:32:47.756373+00:00
date_fix_committed = 2019-01-25T02:57:15.805250+00:00
date_fix_released = 2019-12-23T14:57:29.043572+00:00
id = 1575938
importance = medium
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1575938
milestone = None
owner = rcj
owner_name = Robert C Jennings
private = False
status = fix_released
submitter = rcj
submitter_name = Robert C Jennings
tags = []
duplicates = []

Launchpad user Robert C Jennings(rcj) wrote on 2016-04-27T21:32:47.756373+00:00

A cloud using the Ec2 datasource has an instance-id metadata value in the form:

/Compute-$TENANT/$CLOUDUSERNAME/$UUID

The leading '/' causes /var/lib/cloud/instance to link to /Compute-$TENANT/$CLOUDUSERNAME/$UUID rather than /var/lib/cloud/instances/Compute-$TENANT/$CLOUDUSERNAME/$UUID

@ubuntu-server-builder ubuntu-server-builder added the launchpad Migrated from Launchpad label May 10, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Launchpad Janitor(janitor) wrote on 2016-04-29T18:14:40.673006+00:00

This bug was fixed in the package cloud-init - 0.7.7~bzr1215-0ubuntu1


cloud-init (0.7.7~bzr1215-0ubuntu1) yakkety; urgency=medium

  • debian/new-upstream-snapshot: minor change supporting revision
    passed in as an argument.
  • New upstream snapshot.
    • Paths: fix instance path if datasource's id has a '/'. (LP: #1575938)
    • Config Drive: fix check_instance_id signature. (LP: #1575055)
    • cloudstack: Only use DHCPv4 lease files as a datasource (LP: #1576273)

-- Scott Moser smoser@ubuntu.com Fri, 29 Apr 2016 12:37:48 -0400

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Scott Moser(smoser) wrote on 2016-06-23T19:05:14.378073+00:00

Hello,
An SRU upload of cloud-init for 16.04 that contains a fix for this bug has been made under bug 1595302. Please track that bug if you are interested.

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Scott Moser(smoser) wrote on 2016-07-11T15:59:53.337811+00:00

fix is now released to xenial under bug 1595302. daily cloud-images with this newer version of cloud-init should appear in the next few days. Any image with a serial number newer than 20160707 should have cloud-init at 0.7.7bzr1246-0ubuntu116.04.1 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

1 participant