On Mon, Mar 14, 2016 at 8:59 AM, Sandro Bonazzola <[email protected]> wrote: > > > On Thu, Feb 25, 2016 at 7:58 AM, Wee Sritippho <[email protected]> wrote: >> >> Hi, >> >> I'm trying to deploy a 2nd host to my hosted-engine environment, but the >> 1st host doesn't have a root password - it only has a sudo account. > > > this kind of configuration is not supported by Hosted Engine. > Please open a RFE for supporting this setup. > > > >> >> I can temporarily set a password and enable ssh for the root account, but >> I'm curious whether there is proper way to do this without messing with the >> user accounts? for example: >> >> - Locating the answer file that was copied from the 1st host manually (I >> already tried 'hosted-engine --deploy >> --config-append=answers-XXXXXXXXXXXXXX.conf' but the setup thought that I'm >> going to deploy my 1st host)
IMO it should have passed this point. Use the answer file in /etc/ovirt-hosted-engine, not in /var . If all goes well they should be identical, otherwise /etc will have the "last known good" one and /var will have all. But it might fail later during host-deploy. That stage requires ssh from the engine to the host as root (currently, there's an open RFE about this). But it does not require a password, because we add the engine's public key to the host's /root/.ssh/authorized_keys. So if you allow ssh as root with public key auth, it should work. Please check/post setup logs to try and understand why it was identified as 1st host. >> - scp from an account other than 'root' Not difficult in principle, currently not supported. As Sandro said, you can open an RFE. Best, >> >> Regards, >> Wee >> >> >> --- >> ซอฟต์แวร์ Avast แอนตี้ไวรัสตรวจสอบหาไวรัสจากอีเมลนี้แล้ว >> https://www.avast.com/antivirus >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.ovirt.org/mailman/listinfo/users >> > > > > -- > Sandro Bonazzola > Better technology. Faster innovation. Powered by community collaboration. > See how it works at redhat.com > > _______________________________________________ > Users mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/users > -- Didi _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

