1 | initial version |
Hello,
Q1: For the moment, cloudbase-init does not support multiple metadata sources at the same time. It checks if a metadata provider is available, and if available, it will not check for the existence of another one. The default order is configurable though. Here you have an example of a configuration file, with configuration option "metadata_services": http://cloudbase-init.readthedocs.org/en/latest/tutorial.html#config . An example configuration:
metadata_services=cloudbaseinit.metadata.services.configdrive.ConfigDriveService,
cloudbaseinit.metadata.services.httpservice.HttpService,
cloudbaseinit.metadata.services.ec2service.EC2Service,
cloudbaseinit.metadata.services.maasservice.MaaSHttpService
Q2: There is an option to set the admin pass using horizon. Here is blog post on the matter: https://kimizhang.wordpress.com/2014/03/18/how-to-inject-filemetassh-keyroot-passworduserdataconfig-drive-to-a-vm-during-nova-boot/. In Horizon's local_settings, you can set the following key
OPENSTACK_HYPERVISOR_FEATURES = {
…
"can_set_password": True,
}
Q3. Although is not recommended due to security issues, you can use the Administrator user instead of the Admin user. In the link of the example configuration file, you can find an example of where to change the default user name that cloudbase-init will use
username=Admin
groups=Administrators
2 | No.2 Revision |
Hello,
Q1: For the moment, cloudbase-init does not support multiple metadata sources at the same time. It checks if a metadata provider is available, and if available, it will not check for the existence of another one. The default order is configurable though. Here you have an example of a configuration file, with configuration option "metadata_services": http://cloudbase-init.readthedocs.org/en/latest/tutorial.html#config . An example configuration:
metadata_services=cloudbaseinit.metadata.services.configdrive.ConfigDriveService,
cloudbaseinit.metadata.services.httpservice.HttpService,
cloudbaseinit.metadata.services.ec2service.EC2Service,
cloudbaseinit.metadata.services.maasservice.MaaSHttpService
Q2: There is an option to set the admin pass using horizon. Here is blog post on the matter: https://kimizhang.wordpress.com/2014/03/18/how-to-inject-filemetassh-keyroot-passworduserdataconfig-drive-to-a-vm-during-nova-boot/. In Horizon's local_settings, you can set the following key
OPENSTACK_HYPERVISOR_FEATURES = {
…
"can_set_password": True,
}
Q3. Although is not recommended due to security issues, you can use the Administrator user instead of the Admin user. In the link of the example configuration file, you can find an example of where to change the default user name that cloudbase-init will use
username=Admin
groups=Administrators
Thanks, Adrian.
3 | No.3 Revision |
Hello,
Q1: For the moment, cloudbase-init does not support multiple metadata sources at the same time. It checks if a metadata provider is available, and if available, it will not check for the existence of another one. The default order is configurable though. Here you have an example of a configuration file, with configuration option "metadata_services": http://cloudbase-init.readthedocs.org/en/latest/tutorial.html#config . An example configuration:
metadata_services=cloudbaseinit.metadata.services.configdrive.ConfigDriveService,
cloudbaseinit.metadata.services.httpservice.HttpService,
cloudbaseinit.metadata.services.ec2service.EC2Service,
cloudbaseinit.metadata.services.maasservice.MaaSHttpService
Q2: There is an option to set the admin pass using horizon. Here is blog post on the matter: https://kimizhang.wordpress.com/2014/03/18/how-to-inject-filemetassh-keyroot-passworduserdataconfig-drive-to-a-vm-during-nova-boot/. An example of localsettings configuration: https://github.com/openstack/horizon/blob/stable/kilo/openstackdashboard/local/localsettings.py.example . In Horizon's local_settings, localsettings, you can set the following key
OPENSTACK_HYPERVISOR_FEATURES = {
…
"can_set_password": True,
}
Q3. Although is not recommended due to security issues, you can use the Administrator user instead of the Admin user. In the link of the example configuration file, you can find an example of where to change the default user name that cloudbase-init will use
username=Admin
groups=Administrators
Thanks, Adrian.