Hi, Fabian Thank you for your time.
> -----邮件原件----- > 发件人: Fabian Deutsch [mailto:[email protected]] > 发送时间: 2013年6月21日 15:33 > 收件人: Bohai (ricky) > 抄送: [email protected]; Luohao (A); Haofeng > 主题: Re: [node-devel] fix no key "OVIRT_BOOTPARAMS" problem occured in > ovirt-node's install > > Hey Bohai (or ricky?), > This is ricky :) > Am Freitag, den 21.06.2013, 06:37 +0000 schrieb Bohai (ricky): > > I found the "No key" exception occurred in overt-node's install progress. > > For the detail, please see the attached picture. > > The patch below looks quite okay, but could you also explain what you > did to run into this problem? The kernel arguments and installation > method would be interesting. About installation 1. make the iso of ovirt-node. 2. I install the ovirt node to the machine through the Baseboard Management Controller. So attach the iso to the machine like attached file "install.png". 3. Reset the machine and install the ovirt node. About the kernel arguments, Please see the attached file "parameter.png". Thanks. ricky > > Thanks > fabian > > > This patch fixs the problem. > > > > I am a newbie for ovirt-node and I apologize if I am missing something very > obvious. > > Any advice is welcomed. > > > > > > diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py > > index 7b95b04..eae26ba 100755 > > --- a/src/ovirtnode/install.py > > +++ b/src/ovirtnode/install.py > > @@ -475,7 +475,8 @@ initrd /initrd0.img > > else: > > self.root_param = "root=live:LABEL=Root" > > self.bootparams = "ro rootfstype=auto rootflags=ro " > > - self.bootparams += OVIRT_VARS["OVIRT_BOOTPARAMS"].replace( > > + > > + self.bootparams += OVIRT_VARS.get("OVIRT_BOOTPARAMS", > "").replace( > > > "console=tty0", "") > > if " " in self.disk or os.path.exists("/dev/cciss"): > > # workaround for grub setup failing with spaces in dev.name: > > > > bohai(ricky) > > [email protected] > > > > > > _______________________________________________ > > node-devel mailing list > > [email protected] > > http://lists.ovirt.org/mailman/listinfo/node-devel >
<<attachment: parameter.png>>
<<attachment: install.png>>
_______________________________________________ node-devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-devel
