[node-devel] 答复: fix no key "OVIRT_BOOTPARAMS" problem occured in ovirt-node's install
Bohai (ricky)
bohai at huawei.com
Fri Jun 21 08:39:55 UTC 2013
Hi, Fabian
Thank you for your time.
> -----邮件原件-----
> 发件人: Fabian Deutsch [mailto:fabiand at redhat.com]
> 发送时间: 2013年6月21日 15:33
> 收件人: Bohai (ricky)
> 抄送: node-devel at ovirt.org; 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)
> > boh.ricky at gmail.com
> >
> >
> > _______________________________________________
> > node-devel mailing list
> > node-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/node-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parameter.png
Type: image/png
Size: 7001 bytes
Desc: parameter.png
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20130621/6b2c2037/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install.png
Type: image/png
Size: 28900 bytes
Desc: install.png
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20130621/6b2c2037/attachment-0001.png>
More information about the node-devel
mailing list