Matthias Saou | 1 Oct 11:19

Re: [ANNOUNCE] Cobbler 0.6.2 (pre) release

Michael DeHaan wrote :

> > I'm asking, because I've just tried again as follows :
> >
> > # koan -s cobbler -y test -v -V test -b xenbr1
> >   
> 
> I should have never put the short args in :)

He he, too late now! ;-)

> > But the /etc/xen/test file contains :
> > vif = [ 'mac=00:16:3e:34:61:3e, bridge=xenbr0', ]
> >
> > So it seems that something is still going wrong.
> >   
> 
> It may be that your version of libvirt doesn't support that feature.
> 
> The code in question defaults to "old-style" network setup when it can't 
> successfully add the interface.
> You may want to upgrade your version of virtinst.

Oh. Well, then I'll just have to wait for RHEL5.1, hoping it will have a
recent enough version. Or maybe I'll try the packages from the beta
again. Thanks!

Matthias

--

-- 
(Continue reading)

S.Sakamoto | 2 Oct 11:44

[PATCH][virt-clone] Check the MAC address confliction with ignoring character case.

Hi,

This patch adds mac address confliction check for following case on virt-clone.

hostA:aa:bb:cc:dd:ee:ff

hostB:Aa:Bb:Cc:Dd:Ee:Ff(planned cloning guest)

This patch stops cloning for above case, because of MAC address confliction.

Signed-off-by: Shigeki Sakamoto <fj0588di@...>

Thanks,
Shigeki Sakamoto.

----------------------------------------------------------------------
diff -r 219bd66150dd virtinst/CloneManager.py
--- a/virtinst/CloneManager.py	Fri Sep 28 12:33:09 2007 -0400
+++ b/virtinst/CloneManager.py	Tue Oct 02 15:17:44 2007 +0900
@@ -422,12 +422,14 @@ class CloneDesign(object):
             except:
                 continue
             ctx = doc.xpathNewContext()
+            mac_index = (str(doc).upper()).find(mac.upper())
+            if mac_index == -1:
+                continue
+            mac_comp = str(doc)[mac_index:mac_index+17]
             try:
                 try:
                     count += ctx.xpathEval("count(/domain/devices/interface/mac[@address='%s'])"
(Continue reading)

Shimizu Kuniaki | 2 Oct 12:06
Picon

Re: Abount Japanese Translation for Cobbler Documents

Hi,

I'm still on the way, some basic documents' translating was finished.
If there are users in Japan read this, see the following:

  http://www.cafechantant.com/trac/wiki/cobbler_top

Currently, documents in Japanese available are:

- cobbler manpage
- koan manpage (although I've never used koan...)
- quick start guide using "import"
- cobbler tutorial from Red Hat Magazine

Still in progress:

- Using Cobbler to manage yum repositories
- Cobbler's DHCP management features

After finish translating documents in http://cobbler.et.redhat.com/, I
will start those in cobbler wiki.

Anyone who helps translating always welcome;-)

Thanks.

Kuniaki Shimizu
kunkichi@...

2007/9/27, Michael DeHaan <mdehaan@...>:
(Continue reading)

Atsushi SAKAI | 2 Oct 12:23
Favicon

Re: Abount Japanese Translation for Cobbler Documents

Hi, Kuniaki

That's a good work!
Anyway , I feel following translation is strange.
(in first page)

Installation trees can be imported directly from media you already have (or 
copied from a mirror location), and turned into network install sources 
within minutes.

I see it just for my intersting. 
And Now I understand what the cobber is.

Thanks
Atsushi SAKAI

"Shimizu Kuniaki" <kunkichi@...> wrote:

> Hi,
> 
> I'm still on the way, some basic documents' translating was finished.
> If there are users in Japan read this, see the following:
> 
>   http://www.cafechantant.com/trac/wiki/cobbler_top
> 
> Currently, documents in Japanese available are:
> 
> - cobbler manpage
> - koan manpage (although I've never used koan...)
> - quick start guide using "import"
(Continue reading)

Shimizu Kuniaki | 2 Oct 13:52
Picon

Re: Abount Japanese Translation for Cobbler Documents

Thank you for your quick reply:-)

2007/10/2, Atsushi SAKAI <sakaia@...>:
> That's a good work!
> Anyway , I feel following translation is strange.
> (in first page)
>
> Installation trees can be imported directly from media you already have (or
> copied from a mirror location), and turned into network install sources
> within minutes.

You're right. There might be a lot of strange translation because I do
feel so, too. :-p
I just fixed it, but it may sounds like a diffrent expression with a
different meaning a little bit.

Sometimes I feel I should try to focus on how easy to read in Japanese
and do it, but it may be a little far from the meaning of the
original, and vice versa....

Anyway, I opened my Trac's ticket system. If you find any strange,
just ticket me, not to this mailing list :-)

Thanks.

> I see it just for my intersting.
> And Now I understand what the cobber is.
>
> Thanks
> Atsushi SAKAI
(Continue reading)

Michael DeHaan | 2 Oct 16:28
Picon
Favicon

Re: Abount Japanese Translation for Cobbler Documents

Shimizu Kuniaki wrote:
> Thank you for your quick reply:-)
>
> 2007/10/2, Atsushi SAKAI <sakaia@...>:
>   
>> That's a good work!
>> Anyway , I feel following translation is strange.
>> (in first page)
>>
>> Installation trees can be imported directly from media you already have (or
>> copied from a mirror location), and turned into network install sources
>> within minutes.
>>     
>
> You're right. There might be a lot of strange translation because I do
> feel so, too. :-p
> I just fixed it, but it may sounds like a diffrent expression with a
> different meaning a little bit.
>
> Sometimes I feel I should try to focus on how easy to read in Japanese
> and do it, but it may be a little far from the meaning of the
> original, and vice versa....
>
> Anyway, I opened my Trac's ticket system. If you find any strange,
> just ticket me, not to this mailing list :-)
>
> Thanks.
>
>
>
(Continue reading)

Chris Sarginson | 2 Oct 18:32

Cobbler query

Hi Guys,

I'm looking for a quick definitive answer regarding the cobbler system 
add command:

Basically I will be installing VM's, and they are frequently going to 
have different RAM/disk size etc, so rather than creating an *insane* 
amount of profiles for each distro + each possible virt config, I was 
wondering if I could specify it on a system by system basis?

Has anyone else tried/required this?

I'm currently running on Fedora 7, and am just using yum provided 
cobbler/koan.

--

-- 
Kind regards

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545

"The UK's Best Hosting Provider" ISPA Awards 2007, 2006 and 2005

Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net

UKFast.Net Ltd, City Tower, Piccadilly Plaza, Manchester, M1 4BT
(Continue reading)

Daniel P. Berrange | 2 Oct 18:53
Picon
Favicon

Re: [PATCH][virt-clone] Check the MAC address confliction with ignoring character case.

On Tue, Oct 02, 2007 at 06:44:44PM +0900, S.Sakamoto wrote:
> Hi,
> 
> This patch adds mac address confliction check for following case on virt-clone.
> 
> hostA:aa:bb:cc:dd:ee:ff
> 
> hostB:Aa:Bb:Cc:Dd:Ee:Ff(planned cloning guest)
> 
> This patch stops cloning for above case, because of MAC address confliction.

Instead of doing this:

> +            mac_index = (str(doc).upper()).find(mac.upper())
> +            if mac_index == -1:
> +                continue
> +            mac_comp = str(doc)[mac_index:mac_index+17]

Can't you simply use the 'lower-case()' function in XPath ?

eg something like

  count(/domain/devices/interface/mac[lower-case(@address)=lower-case('%s')])

Regards,
Dan.
--

-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
(Continue reading)

Michael DeHaan | 2 Oct 21:11
Picon
Favicon

Re: Cobbler query

Chris Sarginson wrote:
> Hi Guys,
>
> I'm looking for a quick definitive answer regarding the cobbler system 
> add command:
>
> Basically I will be installing VM's, and they are frequently going to 
> have different RAM/disk size etc, so rather than creating an *insane* 
> amount of profiles for each distro + each possible virt config, I was 
> wondering if I could specify it on a system by system basis?
>
> Has anyone else tried/required this?
>
> I'm currently running on Fedora 7, and am just using yum provided 
> cobbler/koan.
>
>
The idea is that a profile should represent what the system does and 
is... the kickstart file, the RAM requirements, the disk requirements, 
and so forth -- to keep all of those things together to make a 
configuration like "virtual-webserver" completely reproducible and 
consistant.     In the end, that might even make there be less to 
configure, as you wouldn't need to create the per-system records.  An 
example of this is a development or test environment -- that profile 
might be rolled out an arbitrary number of times, and you wouldn't 
neccessarily want to require a cobbler record for every instance of that 
environment.  You'd just use koan with "--virt" and 
"--profile=development-environ".  Now, in an environment where you need 
DHCP reservations, then yes, you'd want the per-system records.   

(Continue reading)

Chris Sarginson | 3 Oct 10:42

Re: Cobbler query (and now Xen too)

Hi Michael,

I forgot about the sub profiles being able to override things like that, 
so thats a (good) alternate way of doing things, thanks.

I have a couple of other queries:

1) When using the xen kernel to do the installation, I assume that is 
not doing hardware virtualisation at all?
2) When not using the xen kernel to do the installation (which I can do 
if I create the VM manually) I get the following error:

xend.err "Error creating domain: (2, 'Invalid kernel', 
'xc_dom_find_loader: no loader found

3) When using the xen kernel to start the VM I get the following error:

xend.err "Boot loader didn't return any data!

4) Are there plans to further expand cobbler to allow you to select the 
number of virtual CPU's available?

Chris

Michael DeHaan wrote:

> The idea is that a profile should represent what the system does and 
> is... the kickstart file, the RAM requirements, the disk requirements, 
> and so forth -- to keep all of those things together to make a 
> configuration like "virtual-webserver" completely reproducible and 
(Continue reading)


Gmane