New Question

how to run cloudbase-init manaully?

asked 2015-04-10 20:46:39 +0300

celina-yang gravatar image


Is it possible to run the cloudbase-init manually so I can debug my userdata without launching a new windows instance? ANd how? Thanks a lot

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2015-04-10 21:10:50 +0300

alexpilotti gravatar image


Just delete this registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cloudbase Solutions\Cloudbase-Init

And restart cloudbase-init

Restart-Service cloudbase-init
edit flag offensive delete link more


are you still just getting the userdata from metadata service ( Is there a way to provide the userdata manually to test images before launching them in openstack, such as storing a #cloud-config file in a local directory and pointing at it?

smastrorocco gravatar imagesmastrorocco ( 2015-11-10 22:15:21 +0300 )edit

In OpenStack, you also have the option to provide a configdrive (iso / vhd / vhdx) to your instances. You can force attaching a configdrive to your instances by setting the force_config_drive=True option in the compute node's nova.conf file (and restarting the nova-compute service).

Claudiu Belu gravatar imageClaudiu Belu ( 2016-11-09 21:15:40 +0300 )edit

answered 2015-04-10 22:03:13 +0300

celina-yang gravatar image

Thanks a lot

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


Asked: 2015-04-10 20:46:39 +0300

Seen: 328 times

Last updated: Apr 10 '15