Regarding the issue with the setup for RHEV 3.0 Beta
Kindly update if you need any other logs for the same as we are doing the POC and would request for the response at the earliest.
Responses
Can you verify this is resolvable from the RHEL 6 host you are trying to add?
IE from the host you are trying yo install please ping the RHEV Manager address an do nslookup on it.
If it does not exist, please add it to your DNS or /etc/hosts
Replace my rhevm address with yours.
wget http://rhevm.demo.redhat.com:8080/rhevm.ssh.key.txt
--2011-12-22 15:09:23-- http://rhevm.demo.redhat.com:8080/rhevm.ssh.key.txt
Resolving rhevm.demo.redhat.com... 23.2.2.10
Connecting to rhevm.demo.redhat.com|23.2.2.10|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: 219 [text/plain]
Saving to: “rhevm.ssh.key.txt”
That is fails here:
if fReturn:
try:
import selinux
os.chmod(P_ROOT_AUTH_KEYS, 0644)
selinux.restorecon(P_ROOT_AUTH_KEYS)
except:
fReturn = False
logging.debug("handleSSHKey: failed to chmod authorized_keys",
exc_info=True)
Can it be that selinux is disabled on your host?
The reason that I'm asking is because it looks it did pass the previous stage
if fReturn:
try:
addSSHKey(P_ROOT_AUTH_KEYS, strKey)
except:
fReturn = False
logging.debug("handleSSHKey: failed to write authorized_keys!",
exc_info=True)
So the key was created however it fails when trying to apply SELinux rules.
Yes, can you please turn SELinux on, and reset it to defaults? Then try to add the host again.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
