New Question

jetole's profile - activity

2016-07-11 07:51:23 +0200 received badge  Famous Question (source)
2015-06-17 02:07:09 +0200 received badge  Notable Question (source)
2015-04-19 01:57:44 +0200 received badge  Popular Question (source)
2015-04-01 22:25:45 +0200 received badge  Editor (source)
2015-04-01 22:11:44 +0200 asked a question Issues with meta, activate, serial and hdd-extend

I'm currently in the process of creating a instance locally on kvm-qemu before uploading to OpenStack. The instance is Windows Server 2008R2 x86_64. The requirements are fairly simple so far and they are:

  • Does not need to pull data from meta data server.
  • Does not need to create users or set passwords.
  • Does need to activate the instance with Microsoft.
  • Does need to expand the partitions and file system to fill the disk size.

Right now, the logs show that we are querying the meta data server even though I have not specified any configuration options for it to do so. The instance is not being activated with Microsoft but it does have a valid MAK key (volume licensing) installed and if I click on activate, it activates fine. The partitions and file systems are not being extended to the size of the disks. The serial port does not seem to be displaying any data. I have verified that the "Cloud Initialization Service" is running.

The contents of "C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-init\conf\cloudbase-init.conf" are:

[DEFAULT]
config_drive_raw_hhd=true
config_drive_cdrom=true
config_drive_vfat=true
bsdtar_path=C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\bin\bsdtar.exe
mtools_path=C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\bin\
verbose=true
debug=true
logdir=C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\log\
logfile=cloudbase-init.log
default_log_levels=comtypes=INFO,suds=INFO,iso8601=WARN
logging_serial_port_settings=COM1,115200,N,8
mtu_use_dhcp_config=true
ntp_use_dhcp_config=true
local_scripts_path=C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\LocalScripts\
plugins=cloudbaseinit.plugins.windows.sethostname.SetHostNamePlugin,cloudbaseinit.plugins.windows.networkconfig.NetworkConfigPlugin,cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin,cloudbaseinit.plugins.windows.licensing.WindowsLicensingPlugin,cloudbaseinit.plugins.windows.mtu.MTUPlugin
activate_windows=true
network_adapter=
mtu_use_dhcp_config=true

The contents of "C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-init\log\cloudbase-init.log" are:

The contents of "C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-init\log\cloudbase-init.log" are:
2015-04-01 14:22:54.907 1644 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-04-01 14:22:56.622 1644 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.httpservice.HttpService' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-04-01 14:22:56.763 1644 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-04-01 14:22:56.779 1644 DEBUG cloudbaseinit.utils.network [-] Testing url: http://169.254.169.254/ check_url C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\network.py:31

There is no cloudbase-init-unattend.log.

UPDATE:

I don't know if cloudbase-init-unattend.conf should have been used. These systems are sysprep'd with the generalize / OOBE. I'm pasting the cloudbase-init-unattend here as well but it's the default.

[DEFAULT]
username=Admin
groups=Administrators
inject_user_password=false
config_drive_raw_hhd=true
config_drive_cdrom=true
config_drive_vfat=true
bsdtar_path=C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\bin\bsdtar.exe ...
(more)