SCVMM Error: Error adding host to SCVMM

Tags

, ,

When creating test setup, we almost always use our domain administrator credentials. The reason why we do it is because domain\administrator has far reaching powers, and setup or Test bed we are trying to create is usually for some other functional testing. Non administrator credentials are avoided unless test coverage needs to be for non-root non-superuser account.

 

Here I was trying to add Hyper-V host to test SCVMM setup, which was failing. Some forum posts searching revealed that,

1) SCVMM should not be setup using domain administrator privileges. The service account needs to be part of administrators, but not the “Domain\Administrator” 

2) Hyper-V setup should be created after the Windows server (Host) is already a domain member server.

 

 

Hope this helps :)

OpenStack Keystone service crash.

Tags

, , ,

Issue: Openstack keystone service crashes with

“WARNING keystone.common.wsgi [-] Authorization failed. The request you have made requires authentication. from 127.0.0.1″

If you try to start the keystone service after the keystone-manage db_sync, during openstack setup, the keystone service starts up and then disappers. A tailf on /var/log/keystone/keystone.log shows the above mentioned error.
 
Happens because keystone-all tries to use the auth_token in the keystone.conf and a mere parsing error due to extra white space causes the service to crash. your auth_token and the hex value you created as token should not have any white spaces on the line.
 
e.g. ‘<whitespace>admin_token = 6fb86a63ac5930b4873b’ does not work but ‘admin_token=6fb86a63ac5930b4873b’ does.
When you remove the ‘#’ before the line, don’t forget to delete the whitespace there.

W: GPG error: http://ubuntu-cloud.archive.canonical.com precise-updates/grizzly Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5EDB1B62EC4926EA

Tags

, , , ,

Why: Unable to install some cloud related packages from a Ubuntu repository even as we have specifically added the repository

#echo “deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main” >> /etc/apt/sources.list.d/cloud-archive.list

Simply adding the repo does not work, we must also have a valid public key available, for these packages to get installed. OS verifies the originality of the packages by using the public key.

SOlution: Install the key manually from the CLI as

#apt-get adv –recv-keys –keyserver keyserver.ubuntu.com 5EDB1B62EC4926EA

#apt-get update

 

Open SUSE LIVE CD not Bootable on Hyper-V: prog data error 8

Tags

Symptoms: 

Very peculiar indeed! So Open SUSE Live CD/ or any Open SUSE for that matter, having kernel version 3.1.X may not boot correctly. It is observed that Boot process works correctly till reading from the CD/ISO but fails to load the kernel when “Installation” option is selected. All it shows is two column table “data prog with error 8″.

Same ISO works great for VMWare ESX/ESXi platform but does not work on MS Hyper-V 2012.

Error shown on the screen when “Live” option is selected is:Image

Why it happens: Well I could not really find any useful information on the web related to this error. And NO Solution on any support forums.

Resolution: “data prog error 8″ issue seemed to stem out of kernel not getting loaded correctly in the memory, and something wrong with the chain loading. It probably is caused by option “Live System” passed to the kernel, which does not get displayed in graphical boot menu. The key is to intercept the boot process before it reaches the graphics stage.

1) Attach Live CD/ISO to disk drive on Hyper-V VM’s settings

2) Power on the VM and hit “Esc” button repeatedly to pause the booting sequence splash screen before it reaches the graphics menu.

3) proceed with first boot option, but without using “Live System” 

Image

 

Note: I am using a customized Live CD created using Open SUSE studio, which by the way is fantastic way to customize your Linux desktop ( or all of them in your organization). Issue however affects most live CD applications on Hyper-V. So it is kind of generic. Few links to forum discussions:

OpenSUSE forum: http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/478943-trouble-install-opensuse-hyper-v.html

StackOverFlow: http://stackoverflow.com/questions/12296042/suse-12-1-64-bit-installation-in-hyper-v

“could not find ParserDetails.ini”

Tags

, ,

Problem:

This file is referrred to by many installers/perl apps that use XML functionality. Your app or an install script may refer to this file to verify what modules are present.

Occurs when: 

ParserDetails.ini file is missing from /usr/perl/…/SAX. XML::SAX perl module is incorrectly installed or Not created at all by SAX module installation script.

 

Solution:

Run the following command as root to create the said file.

1) “perl -MXML::SAX -e “XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()”

2) Re-run your application/installation script

 

 
Follow

Get every new post delivered to your Inbox.