[Users] Trouble making ovirt-node image
Federico Alberto Sayd
fsayd at uncu.edu.ar
Mon Dec 5 18:55:27 UTC 2011
El 02/12/11 16:30, Joey Boggs escribió:
> On 12/02/2011 11:09 AM, Mike Burns wrote:
>> On Fri, 2011-12-02 at 12:25 -0300, Federico Alberto Sayd wrote:
>>> El 02/12/11 12:00, Mike Burns escribió:
>>>> On Fri, 2011-12-02 at 11:05 -0300, Federico Alberto Sayd wrote:
>>>>> El 02/12/11 01:34, Mike Burns escribió:
>>>>>> On Thu, 2011-12-01 at 14:42 -0300, Federico Alberto Sayd wrote:
>>>>>>> El 01/12/11 12:59, Mike Burns escribió:
>>>>>>>> On Thu, 2011-12-01 at 11:23 -0300, Federico Alberto Sayd wrote:
>>>>>>>>> El 30/11/11 16:48, Douglas Landgraf escribió:
>>>>>>>>>> Hello Federico,
>>>>>>>>>>
>>>>>>>>>> On 11/30/2011 11:31 AM, Federico Alberto Sayd wrote:
>>>>>>>>>>> Hello:
>>>>>>>>>>>
>>>>>>>>>>> I am trying to implement Ovirt in a testing datacenter.
>>>>>>>>>>>
>>>>>>>>>>> I have installed Ovirt-Engine from rpm on Fedora 16 and all
>>>>>>>>>>> is Ok. I
>>>>>>>>>>> can access the web management without problem.
>>>>>>>>>>>
>>>>>>>>>>> My problem is with Ovirt-Node. I followed the guide in:
>>>>>>>>>>> http://www.ovirt.org/wiki/Node_Building.
>>>>>>>>>>>
>>>>>>>>>>> I used the same Fedora 16 installation for building the node
>>>>>>>>>>> iso. I
>>>>>>>>>>> followed all steps, but the iso creation failed.
>>>>>>>>>>>
>>>>>>>>>>> The docs dont say, but I had to install at least the
>>>>>>>>>>> ovirt-node-tools, I don't know if also I have to install
>>>>>>>>>>> ovirt-node
>>>>>>>>>>> rpm from $BASEDIR/rpmbuild/RPMS/noarch
>>>>>>>>>>>
>>>>>>>>>>> The output of make ovirt-node-image.iso is in pastebin:
>>>>>>>>>>> http://pastebin.com/2U6NezuE
>>>>>>>>>>>
>>>>>>>>>> Please see this BZ, there is a workaround:
>>>>>>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=757818
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>> Douglas
>>>>>>>>>>
>>>>>>>>> Thanks, it worked
>>>>>>>>>
>>>>>>>>> I could generate the iso image, but now I can't install Ovirt
>>>>>>>>> to the
>>>>>>>>> hardisk neither access to the configuration to specify things
>>>>>>>>> such ip,
>>>>>>>>> password, etc.
>>>>>>>>>
>>>>>>>>> Boot option "Install" only boots Ovirt on live cd image mode
>>>>>>>>> (No hardisk
>>>>>>>>> installation). Also I don't know the default user and
>>>>>>>>> password, or the
>>>>>>>>> method to specify this parameters at the image creation time.
>>>>>>>>>
>>>>>>>>> Thanks for any clarification and sorry for my poor english.
>>>>>>> Sorry, I sent the response to private address. I resend to the
>>>>>>> list:
>>>>>>>> It sounds like something isn't working quite right in the iso.
>>>>>>>> What is
>>>>>>>> the last commit in the git repo?
>>>>>>>>
>>>>>>>> git log -1
>>>>>>> commit b1f86732fa5a7803223a52af759b40830612d08a
>>>>>>> Author: Mike Burns<mburns at redhat.com>
>>>>>>> Date: Thu Nov 17 08:40:32 2011 -0500
>>>>>>>
>>>>>>> move rc.local changes to ovirt-post
>>>>>>>
>>>>>>> Change-Id: Iac718b9284b831b978e50eb80d93d498e23d475d
>>>>>>>
>>>>>>>> Where did you check the repo out from?
>>>>>>> git clone http://gerrit.ovirt.org/p/ovirt-node.git
>>>>>> Ok, that's the right stuff. I know we've seen this in some cases
>>>>>> a long
>>>>>> time ago, but not recently.
>>>>>>
>>>>>> can you try this?
>>>>>>
>>>>>> 1. generate a hashed password using # openssl passwd
>>>>>> 2. Boot the image and in the boot menu (or in the pxe config if
>>>>>> your
>>>>>> using pxe), add rootpw=hashed_password_from_step_1
>>>>>> 3. When it boots to a getty login prompt, login as root with the
>>>>>> password you supplied to openssl
>>>>> Ok, generated and logged in
>>>>>> 4. check /var/log/ovirt.log and /tmp/ovirt.log for any errors
>>>>> http://pastebin.com/MM1BpXb3
>>>>>> In addition, what type of hardware are you using? Real hardware?
>>>>>> virtual machine?
>>>>> Real hardware, ibm blade
>>>>>> What type of storage is on you host? What state is it in? Is it
>>>>>> clean?
>>>>>> is there something already installed?
>>>>> [root at localhost ~]# fdisk -l
>>>>>
>>>>> Disk /dev/sda: 146.0 GB, 145999527936 bytes
>>>>> 255 heads, 63 sectors/track, 17750 cylinders, total 285155328 sectors
>>>>> Units = sectors of 1 * 512 = 512 bytes
>>>>> Sector size (logical/physical): 512 bytes / 512 bytes
>>>>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>>>>> Disk identifier: 0x00000000
>>>>>
>>>>> Disk /dev/sda doesn't contain a valid partition table
>>>>>
>>>>>> How are you installing? cd? USB stick? pxe?
>>>>> CD (iso mounted to blade hardware through blade administration
>>>>> software)
>>>>>> Mike
>>>>> There is some site or repo where I can download another iso to
>>>>> compare?
>>>> Hmm, nothing jumps out at me, although the restorecon messages are
>>>> concerning.
>>>>
>>>> Joey can you take a look and see why the install TUI isn't loading?
>>>>
>>>> Federico,
>>>>
>>>> I don't have anything at the moment posted, but I'll build an image
>>>> with
>>>> the latest commits (I pushed a couple things today) and post it.
>>>>
>>>> Mike
>>>>> Thanks
>>>>>
>>>>> Federico
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>> Thanks Mike, I will wait your post
>> http://ovirt.org/releases/nightly/binary/ovirt-node-image-gitb30a716f.iso
>>
>>
>>
>>> Federico
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> Nothing jumps out at me either, I built one myself just now and it
> boots up just fine. Is it possible to attach that machine to a serial
> console and get output? Does the iso Mike linked to work for you?
>
>
>
Hi all:
The iso provided by Mike, booted up ok, TUI loads, but installation fails
("oVirt Node Hypervisor Installation Failed"). Error logs are displayed
(/var/log/ovirt.log, /tmp/ovirt.log and /var/log/messages) but I don't
know how export this logs out from installation for debugging. I tried
passing the root password as kernel parameter in order to login in the
live system and obtain the logs, but the system asks for a new root
password, I change the pass but this didn't work.
These are the most significatives log lines (manually copied):
cp: cannot stat '/boot/efi/* ': no such file or directory
unmount: /liveos/grub/efi: not found
ERROR GRUB setup failed
ERROR Grub2 installation Failed
Thanks
Federico
More information about the Users
mailing list