[Ovirt-devel] Re: [virt-devel] oVirt and Virtualization Questions

Perry Myers pmyers at redhat.com
Wed Oct 29 12:31:46 UTC 2008


Christopher Curran wrote:
> [[ oVirt Node ]]
> Is ssh disabled on the Nodes?

No, and it will continue to be enabled for the product as it provides a 
way for administrators to get into the node for troubleshooting purposes.

However... The Node will come with the root account disabled in production 
(we don't want to set a default password since that is a huge security 
hole).  We will provide a way for the person setting up Nodes to configure 
the root password both in standalone mode (through a local configuration 
at first boot) or through the oVirt Server through the web interface. 
Until the root password is set properly SSH will not be usable.

In development we set the root password to 'ovirt' just for convenience.

Alan/Darryl are working on Node configuration and standalone mode so they 
should take note of the above.

> How can I change the cobbler server on the Appliance to boot the Node 
> from default?

On the appliance run:
cobbler system add --netboot-enabled=1 --profile=oVirt-Node-$arch \
   --name=<HOSTNAME> --mac=<MAC ADDRESS>

Just provide the hostname (i.e. Node10) and the MAC and you should be fine.

Presently only node3, 4 and 5 are preregistered this way.  All other IP 
addresses on the oVirt LAN are given the PXE boot screen on which you can 
choose whether to boot the host as a Node or another profile.  What we 
need to do is the following:

When a physical host boots for the first time it is presented with the PXE 
menu and the user can select Node as the option.
When a Node boots for the first time (the user having selected Node as the 
profile in PXE) the Server should register that MAC address as a system so 
that subsequent boots don't present the PXE menu and instead just boot the 
Node profile by default.

This is something that needs to be set up on the Server side.  Darryl can 
you get a patch out there to do this?

> are there any other cobbler examples out there?

See ovirt-appliance.ks in the ovirt-appliance repository for examples for 
setting up profiles and systems.

> The virtual machine pools display negative numbers, is this expected 
> behaviour?

This is because the vmpools are based on quotas and the CPUs remaining are 
calculated by doing CPUs allocated - CPUs used.  If you don't set a quota 
the calculation defaults to zero and then you have a negative number.

Scott/Jay, this needs to be fixed what should we show here for the cases 
of infinite quotas?

> Accessing the cobbler web interface is still not happening on my 
> appliance. Could someone write a howto for enabling it or integrate it 
> in code?

http://192.168.50.2/cobbler/web

The above URL works for me.  Default user/pass is cobbler/cobbler.

Perry




More information about the ovirt-devel mailing list