Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th September 2009, 20:10
kimmo kimmo is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen Cluster Management With Ganeti On Debian Lenny

I'm following Falko 's "Xen Cluster Management With Ganeti On Debian Lenny" and run to kinda simple problem but cannot resolve it.

At the point "7 Adding node2.example.com To The Cluster" :

---------------------------------------------------------------
vili3:~# gnt-node add vili4.domain.fi
-- WARNING --
Performing this operation is going to replace the ssh daemon keypair
on the target machine (vili4.domain.fi) with the ones of the current one
and grant full intra-cluster ssh root access to/from it

Failure: command execution error:
Node 'vili4.domain.fi' claims it has a different hostname than the one the resolver gives: hostname mismatch, got vili4. Please fix and re-run this command.
vili3:~#
---------------------------------------------------------------

I have 2 nodes installed from scratch with same hardware. Reverse dns names are correct in nameservers, and /etc/hosts also.

"ssh root@vili4.domain.fi" works ok also. Any ideas ?
Reply With Quote
Sponsored Links
  #2  
Old 23rd October 2009, 15:18
angeloalfa angeloalfa is offline
Junior Member
 
Join Date: Sep 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have your same problem...
Reply With Quote
  #3  
Old 23rd October 2009, 16:16
angeloalfa angeloalfa is offline
Junior Member
 
Join Date: Sep 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Era necessario

I have resolved:
Was necessary also, the file /etc/hostname which configures the hostname of the system should contain node1.example.com and not just node1.
Hello
Reply With Quote
  #4  
Old 17th January 2011, 18:28
emotioneu emotioneu is offline
Junior Member
 
Join Date: Jan 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

followed the how-to and just can't figure out why the command gnt-cluster verify gives me following output:

* Verifying global settings
* Gathering data (1 nodes)
* Verifying node emotion1.EMOTION
- ERROR: ssh communication with node 'emotion1.EMOTION': hostname mismatch, got emotion1
* Verifying orphan volumes
...

more than this - if i add an instance it just "seems" to work, but is in ERROR_down state if i try to connect.

tia for any help

emo
Reply With Quote
  #5  
Old 18th January 2011, 16:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Quote:
Originally Posted by emotioneu View Post
- ERROR: ssh communication with node 'emotion1.EMOTION': hostname mismatch, got emotion1
What does
Code:
uname -n
show on that node? It should be emotion1.EMOTION.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 18th January 2011, 18:14
emotioneu emotioneu is offline
Junior Member
 
Join Date: Jan 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

hell yes ... hostname / uname -n was emotion1 although it should have been emotion.EMOTION ... i'm so

had tripple checked that but didn't realize it

big thx for that

anyway - now that the cluster is up and running - i can't add an instance.

gnt-instance add -t drbd -n emotion1.EMOTION:emotion2.EMOTION -o debootstrap -s 2500 --swap-size 256 -m 64 --kernel /boot/vmlinuz-2.6.26-1-xen-686 --ip 192.168.1.111 inst1.EMOTION

the * creating instance disks... part takes years (*g*) and than finally fails and exits.

i looked at the lvm (with lvdisplay) and can see that those two disks are being created at node2 (emotion2) but nothing happens on node1 (emotion1).

seems strage to me - has anyone a clue of what i'm missing ...

error - (gnt-instance add)
##########
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/twisted/spread/pb.py", line 526, in expressionReceived
method(*sexp[1:])
File "/usr/lib/python2.5/site-packages/twisted/spread/pb.py", line 895, in proto_answer
d.callback(self.unserialize(netResult))
File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 243, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/var/lib/python-support/python2.5/ganeti/rpc.py", line 94, in cb_done
tb))
ganeti.errors.RemoteError: Remote procedure error calling blockdev_create on emotion2.EMOTION:
Traceback (most recent call last):
File "/usr/sbin/ganeti-noded", line 87, in perspectiveMessageReceived
state = method(*args, **kw)
File "/usr/sbin/ganeti-noded", line 104, in perspective_blockdev_create
return backend.CreateBlockDevice(bdev, size, owner, on_primary, info)
File "/var/lib/python-support/python2.5/ganeti/backend.py", line 839, in CreateBlockDevice
" daemon logs" % errorstring)
BlockDeviceError: Can't assemble device after creation, very unusual event - check the node daemon logs

failed to create volume sda (<DRBD8(hosts=emotion1.EMOTION-emotion2.EMOTION, port=11006, configured as 192.168.1.101:11006 192.168.1.100:11006, backend=<LogicalVolume(/dev/xenvg/76cd733a-2b01-4c5c-a60b-49beabd04ad1.sda_data, not visible, size=2500m)>, metadev=<LogicalVolume(/dev/xenvg/49369ca3-930f-426f-b023-8e408afd744e.sda_meta, not visible, size=128m)>, visible as /dev/sda, size=2500m)>) on secondary node emotion2.EMOTION!
Failure: command execution error:
Device creation failed, reverting...
##########
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 19:20
Perfect XEN Setup on Debian Lenny - Live Migration Issues AlexKent HOWTO-Related Questions 8 25th April 2009 12:57
Network (bridge?) issue after following: Xen Cluster Management With Ganeti On Debian nux HOWTO-Related Questions 2 27th March 2008 18:14
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 07:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.