New Question
0

is a metadata service required?

asked 2021-01-09 02:56:53 +0300

vthyng gravatar image

updated 2021-01-09 02:58:42 +0300

If all I want cloudbase-init to do is expand the partition size, can I just disable metadataservices with: metadataservices=

Or if at least 1 metadata service is required or some meta data is required for ExtendVolumesPlugin, what would be required? I am using salt-cloud to provision a VM from template in my on premise vCenter. The provisioning is working just fine, but I get lots of errors during the metadata service steps since I have not established any metadata, and don't understand what that would be. And also my volume is not getting expanded to the size of the drive that was successfully provisioned larger (300GB).

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2021-01-15 13:23:18 +0300

avladu gravatar image

Hello,

There is a special metadata service, called EmptyMetadataService, which was created for this exact purpose: https://cloudbase-init.readthedocs.io... .

To use it, set in cloudbase-init configuration file:

metadata_services=cloudbaseinit.metadata.services.base.EmptyMetadataService

Note that you can only use plugins that are metadata independent, like the ExtendVolumes, NTPPlugin. Also, any plugin will be executed at each boot.

Thank you,
Adrian Vladu

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: 2021-01-09 02:56:53 +0300

Seen: 1,061 times

Last updated: Jan 15 '21