New Question
0

ConfigDrive with symlink inside breaks cloudbase-init

asked 2019-09-23 19:41:05 +0200

updated 2019-09-23 20:01:59 +0200

Hi guys,

I just ran into an issue, I'm using ConfigDrive as MetaData service, the ISO was detected but cloudbase-init was not able to extract it (cf. [1]).

The reason is that my ConfigDrive had a symlink 2015-10-15 pointing to latest and it seems to not be very appreciated on Windows (my Windows knowledge is very poor). After removing the symlink, cloudbase-init was running as expected.

There are two solutions (IMHO):

  1. Let's cloudbase-init detects symlinks and handle them properly
  2. Add a note into the documentation saying that there should be no symlinks into the ConfigDrive

Hope it helps.

edit retag flag offensive close merge delete

Comments

Can you please post a cloudbase-init log on http://paste.openstack.org or similar service and link it here? Thanks

alexpilotti gravatar imagealexpilotti ( 2019-09-23 19:45:08 +0200 )edit

I updated my initial post with a link.

goldyfruit gravatar imagegoldyfruit ( 2019-09-23 20:04:19 +0200 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2019-09-23 20:13:55 +0200

avladu gravatar image

Hello,

To make it easier to debug, it would be great if you could give some more information on your setup.

From the logs, I see that you are using something similar to Ironic?

Thank you,
Adrian Vladu

edit flag offensive delete link more
0

answered 2019-09-23 22:48:27 +0200

updated 2019-09-23 22:51:29 +0200

Adrian,

Yeah I'm running Bifrost (Ironic standalone), ConfigDrive ISO are generated manually with genisoimage.

For some compatibility reason with cloud-init I need to have 2015-10-15 version in the ConfigDrive which is pointing as a link to latest (to avoid data duplication).

Just to be clear, I solved my issue by duplicate data (which is not the best but acceptable for now). I opened this question as KB for people who have the same issue.

Let me know if you need more information.

Thank you,

Gaëtan

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-23 19:41:05 +0200

Seen: 200 times

Last updated: Sep 23 '19