You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by Ferhat Parmak <fe...@gmail.com> on 2011/01/06 09:26:44 UTC

xCAT 2.5.1 configuration.

Hi,
I'm trying to install Apache VCL to a rackmount system and I'm using xCAT
2.5.1.
Now, I m trying to creating base image for linux according to
https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image
But vcld.log gives me this error:

##################################################################################################
2011-01-06
10:02:46|2766|1:1|image|State.pm:initialize(151)|VCL::Module::Provisioning::xCAT2
OS object created
Can't locate object method "set_provisioner" via package
"VCL::Module::Provisioning::xCAT2" at
/usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164 (#1)
    (F) You called a method correctly, and it correctly indicated a package
    functioning as a class, but that package doesn't define that particular
    method, nor does any of its base classes.  See perlobj.

Uncaught exception from user code:
Can't locate object method "set_provisioner" via package
"VCL::Module::Provisioning::xCAT2" at
/usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164.
 at /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164
VCL::Module::State::initialize('VCL::image=HASH(0x36b48c8)',
'HASH(0x36a4518)') called at /usr/local/vcl/bin/../lib/VCL/Module.pm line
159
VCL::Module::new('VCL::image', 'HASH(0x36a4518)') called at
/usr/local/vcl/bin/vcld line 591
VCL::vcld::make_new_child('HASH(0x357df40)') called at
/usr/local/vcl/bin/vcld line 342
VCL::vcld::main() called at /usr/local/vcl/bin/vcld line 98
2011-01-06 10:02:46|2766|1:1|image|State.pm:DESTROY(902)|destructor called,
ref($self)=VCL::image
2011-01-06 10:02:46|2766|1:1|image|utils.pm:delete_computerloadlog_reservation(6829)|removing
computerloadlog entries matching loadstate = begin
2011-01-06 10:02:47|2766|1:1|image|utils.pm:delete_computerloadlog_reservation(6876)|deleted
rows from computerloadlog for reservation id=1
2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(909)|removed
computerloadlog rows with loadstate=begin for reservation
2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(921)|number of database
handles state process created: 1
2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(930)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(932)|$ENV{dbh}: database
disconnect successful
2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(946)|VCL::image process
2766 exiting
2011-01-06 10:02:47|2175|vcld:REAPER(745)|VCL process exited for reservation
1, PID: 2766, signal: CHLD
##############################################################################################################


I think that I have to do some xCAT configuration.
https://cwiki.apache.org/confluence/display/VCL/Documentation
there is a title about xCAT but has no content.
Do you know there is a documentation about that?

Also, I want to ask that;
I installed a node(Redhat 6 Enterprise 64-Bit) by xCAT and using kickstart.
So, I don't have any images about that node. Do I have to use partimage?
Because xCAT doesn't suggest to use partimage.
Actually I don't know what I gonna do at here. I don't understand the
relationship and configuration between the xCAT and VCL.
I will be very happy if you give information at this point.

Sorry for my English.
Thanks...

Re: xCAT 2.5.1 configuration.

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ferhat,

No, the VCL provisioning modules for xCAT are not written to use partimage in 
the way it is described in the links you included.  If you want to be able to 
deploy the base image using VCL, you will need to use the method described in 
the link I sent previously.

Josh

On Thursday January 06, 2011, Ferhat Parmak wrote:
> Thank you so much Josh.
> Unfortunently I need to VCL for bare metal machines. So, I understood that
> I have to take an image of an installed node for base image.
> 
> I read a document at xCAT web site about partimage here:
> http://xcat.sourceforge.net/#claws
> http://benincosa.org/xCAT/partimage/README
> If I take an image according to this document, is that enough for base
> image?
> 
> Thanks again.
> 
> 2011/1/6 Josh Thompson <jo...@ncsu.edu>
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Ferhat,
> > 
> > With VCL, xCAT is only used to provision bare metal machines.  This can
> > be done using kickstart, or by capturing images using partimage and then
> > deploying those.  partimage is not support by the xCAT team anymore. 
> > The following page contains some notes I created on how I was able to
> > get partimage working with xCAT2.2 (I haven't tried it with a more
> > recent version):
> > 
> > 
> > https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partim
> > age+and+partimage- ng+to+xCAT+2.x+%28unofficial%29
> > 
> > Most people seem to only be using VCL to deploy virtual machines at this
> > point.  If that is the case for you, you don't need xCAT unless you have
> > a large number of machines to which you would need to deploy a
> > hypervisor to make them VM hosts.  Otherwise, you can just manually
> > install your VM hosts and then configure VCL to manage the VMs on them.
> > 
> > Someone else will need to respond to your error messages.
> > 
> > Josh
> > 
> > On Thursday January 06, 2011, Ferhat Parmak wrote:
> > > Hi,
> > > I'm trying to install Apache VCL to a rackmount system and I'm using
> > > xCAT 2.5.1.
> > > Now, I m trying to creating base image for linux according to
> > 
> > https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image
> > 
> > > But vcld.log gives me this error:
> > #########################################################################
> > ##
> > 
> > > ####################### 2011-01-06
> > 
> > 10:02:46|2766|1:1|image|State.pm:initialize(151)|
VCL::Module::Provisioning:
> > > :xCAT2 OS object created
> > > 
> > > Can't locate object method "set_provisioner" via package
> > > "VCL::Module::Provisioning::xCAT2" at
> > > /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164 (#1)
> > > 
> > >     (F) You called a method correctly, and it correctly indicated a
> > 
> > package
> > 
> > >     functioning as a class, but that package doesn't define that
> > 
> > particular
> > 
> > >     method, nor does any of its base classes.  See perlobj.
> > > 
> > > Uncaught exception from user code:
> > > Can't locate object method "set_provisioner" via package
> > > "VCL::Module::Provisioning::xCAT2" at
> > > /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164.
> > > 
> > >  at /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164
> > > 
> > > VCL::Module::State::initialize('VCL::image=HASH(0x36b48c8)',
> > > 'HASH(0x36a4518)') called at /usr/local/vcl/bin/../lib/VCL/Module.pm
> > > line 159
> > > VCL::Module::new('VCL::image', 'HASH(0x36a4518)') called at
> > > /usr/local/vcl/bin/vcld line 591
> > > VCL::vcld::make_new_child('HASH(0x357df40)') called at
> > > /usr/local/vcl/bin/vcld line 342
> > > VCL::vcld::main() called at /usr/local/vcl/bin/vcld line 98
> > > 2011-01-06 10:02:46|2766|1:1|image|State.pm:DESTROY(902)|destructor
> > 
> > called,
> > 
> > > ref($self)=VCL::image
> > > 2011-01-06
> > 
> > > 10:02:46|2766|1:1|image|utils.pm:
> > delete_computerloadlog_reservation(6829)|
> > 
> > > removing computerloadlog entries matching loadstate = begin
> > > 2011-01-06
> > 
> > > 10:02:47|2766|1:1|image|utils.pm:
> > delete_computerloadlog_reservation(6876)|
> > 
> > > deleted rows from computerloadlog for reservation id=1
> > > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(909)|removed
> > > computerloadlog rows with loadstate=begin for reservation
> > > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(921)|number of
> > 
> > database
> > 
> > > handles state process created: 1
> > > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(930)|process has a
> > > database handle stored in $ENV{dbh}, attempting disconnect
> > > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(932)|$ENV{dbh}:
> > > database disconnect successful
> > > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(946)|VCL::image
> > 
> > process
> > 
> > > 2766 exiting
> > > 2011-01-06 10:02:47|2175|vcld:REAPER(745)|VCL process exited for
> > > reservation 1, PID: 2766, signal: CHLD
> > 
> > #########################################################################
> > ##
> > 
> > > ###################################
> > > 
> > > 
> > > I think that I have to do some xCAT configuration.
> > > https://cwiki.apache.org/confluence/display/VCL/Documentation
> > > there is a title about xCAT but has no content.
> > > Do you know there is a documentation about that?
> > > 
> > > Also, I want to ask that;
> > > I installed a node(Redhat 6 Enterprise 64-Bit) by xCAT and using
> > 
> > kickstart.
> > 
> > > So, I don't have any images about that node. Do I have to use
> > > partimage? Because xCAT doesn't suggest to use partimage.
> > > Actually I don't know what I gonna do at here. I don't understand the
> > > relationship and configuration between the xCAT and VCL.
> > > I will be very happy if you give information at this point.
> > > 
> > > Sorry for my English.
> > > Thanks...
> > 
> > - --
> > - -------------------------------
> > Josh Thompson
> > VCL Developer
> > North Carolina State University
> > 
> > my GPG/PGP key can be found at pgp.mit.edu
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.16 (GNU/Linux)
> > 
> > iEYEARECAAYFAk0l+w0ACgkQV/LQcNdtPQNuIQCfbiYLmwfsHy2Tmu59b/5NRU+C
> > 8AoAnA7Zx67259rrYuUtWl0d3QDTAitH
> > =cO1J
> > -----END PGP SIGNATURE-----
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAk0t+TUACgkQV/LQcNdtPQPFkACaAlP6l0X9wtefkjm4X4X5SxJX
jScAn3v4s2m8y/nK9SS6IQvHdypxXpN1
=1meE
-----END PGP SIGNATURE-----

Re: xCAT 2.5.1 configuration.

Posted by Ferhat Parmak <fe...@gmail.com>.
Thank you so much Josh.
Unfortunently I need to VCL for bare metal machines. So, I understood that I
have to take an image of an installed node for base image.

I read a document at xCAT web site about partimage here:
http://xcat.sourceforge.net/#claws
http://benincosa.org/xCAT/partimage/README
If I take an image according to this document, is that enough for base
image?

Thanks again.

2011/1/6 Josh Thompson <jo...@ncsu.edu>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ferhat,
>
> With VCL, xCAT is only used to provision bare metal machines.  This can be
> done using kickstart, or by capturing images using partimage and then
> deploying those.  partimage is not support by the xCAT team anymore.  The
> following page contains some notes I created on how I was able to get
> partimage working with xCAT2.2 (I haven't tried it with a more recent
> version):
>
>
> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
> ng+to+xCAT+2.x+%28unofficial%29
>
> Most people seem to only be using VCL to deploy virtual machines at this
> point.  If that is the case for you, you don't need xCAT unless you have a
> large number of machines to which you would need to deploy a hypervisor to
> make them VM hosts.  Otherwise, you can just manually install your VM hosts
> and then configure VCL to manage the VMs on them.
>
> Someone else will need to respond to your error messages.
>
> Josh
>
> On Thursday January 06, 2011, Ferhat Parmak wrote:
> > Hi,
> > I'm trying to install Apache VCL to a rackmount system and I'm using xCAT
> > 2.5.1.
> > Now, I m trying to creating base image for linux according to
> >
> https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image
> > But vcld.log gives me this error:
> >
> >
> ###########################################################################
> > ####################### 2011-01-06
> >
> 10:02:46|2766|1:1|image|State.pm:initialize(151)|VCL::Module::Provisioning:
> > :xCAT2 OS object created
> > Can't locate object method "set_provisioner" via package
> > "VCL::Module::Provisioning::xCAT2" at
> > /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164 (#1)
> >     (F) You called a method correctly, and it correctly indicated a
> package
> >     functioning as a class, but that package doesn't define that
> particular
> >     method, nor does any of its base classes.  See perlobj.
> >
> > Uncaught exception from user code:
> > Can't locate object method "set_provisioner" via package
> > "VCL::Module::Provisioning::xCAT2" at
> > /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164.
> >  at /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164
> > VCL::Module::State::initialize('VCL::image=HASH(0x36b48c8)',
> > 'HASH(0x36a4518)') called at /usr/local/vcl/bin/../lib/VCL/Module.pm line
> > 159
> > VCL::Module::new('VCL::image', 'HASH(0x36a4518)') called at
> > /usr/local/vcl/bin/vcld line 591
> > VCL::vcld::make_new_child('HASH(0x357df40)') called at
> > /usr/local/vcl/bin/vcld line 342
> > VCL::vcld::main() called at /usr/local/vcl/bin/vcld line 98
> > 2011-01-06 10:02:46|2766|1:1|image|State.pm:DESTROY(902)|destructor
> called,
> > ref($self)=VCL::image
> > 2011-01-06
> > 10:02:46|2766|1:1|image|utils.pm:
> delete_computerloadlog_reservation(6829)|
> > removing computerloadlog entries matching loadstate = begin
> > 2011-01-06
> > 10:02:47|2766|1:1|image|utils.pm:
> delete_computerloadlog_reservation(6876)|
> > deleted rows from computerloadlog for reservation id=1
> > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(909)|removed
> > computerloadlog rows with loadstate=begin for reservation
> > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(921)|number of
> database
> > handles state process created: 1
> > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(930)|process has a
> > database handle stored in $ENV{dbh}, attempting disconnect
> > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(932)|$ENV{dbh}:
> > database disconnect successful
> > 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(946)|VCL::image
> process
> > 2766 exiting
> > 2011-01-06 10:02:47|2175|vcld:REAPER(745)|VCL process exited for
> > reservation 1, PID: 2766, signal: CHLD
> >
> ###########################################################################
> > ###################################
> >
> >
> > I think that I have to do some xCAT configuration.
> > https://cwiki.apache.org/confluence/display/VCL/Documentation
> > there is a title about xCAT but has no content.
> > Do you know there is a documentation about that?
> >
> > Also, I want to ask that;
> > I installed a node(Redhat 6 Enterprise 64-Bit) by xCAT and using
> kickstart.
> > So, I don't have any images about that node. Do I have to use partimage?
> > Because xCAT doesn't suggest to use partimage.
> > Actually I don't know what I gonna do at here. I don't understand the
> > relationship and configuration between the xCAT and VCL.
> > I will be very happy if you give information at this point.
> >
> > Sorry for my English.
> > Thanks...
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.16 (GNU/Linux)
>
> iEYEARECAAYFAk0l+w0ACgkQV/LQcNdtPQNuIQCfbiYLmwfsHy2Tmu59b/5NRU+C
> 8AoAnA7Zx67259rrYuUtWl0d3QDTAitH
> =cO1J
> -----END PGP SIGNATURE-----
>

Re: xCAT 2.5.1 configuration.

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ferhat,

With VCL, xCAT is only used to provision bare metal machines.  This can be 
done using kickstart, or by capturing images using partimage and then 
deploying those.  partimage is not support by the xCAT team anymore.  The 
following page contains some notes I created on how I was able to get 
partimage working with xCAT2.2 (I haven't tried it with a more recent 
version):

https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
ng+to+xCAT+2.x+%28unofficial%29

Most people seem to only be using VCL to deploy virtual machines at this 
point.  If that is the case for you, you don't need xCAT unless you have a 
large number of machines to which you would need to deploy a hypervisor to 
make them VM hosts.  Otherwise, you can just manually install your VM hosts 
and then configure VCL to manage the VMs on them.

Someone else will need to respond to your error messages.

Josh

On Thursday January 06, 2011, Ferhat Parmak wrote:
> Hi,
> I'm trying to install Apache VCL to a rackmount system and I'm using xCAT
> 2.5.1.
> Now, I m trying to creating base image for linux according to
> https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image
> But vcld.log gives me this error:
> 
> ###########################################################################
> ####################### 2011-01-06
> 10:02:46|2766|1:1|image|State.pm:initialize(151)|VCL::Module::Provisioning:
> :xCAT2 OS object created
> Can't locate object method "set_provisioner" via package
> "VCL::Module::Provisioning::xCAT2" at
> /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164 (#1)
>     (F) You called a method correctly, and it correctly indicated a package
>     functioning as a class, but that package doesn't define that particular
>     method, nor does any of its base classes.  See perlobj.
> 
> Uncaught exception from user code:
> Can't locate object method "set_provisioner" via package
> "VCL::Module::Provisioning::xCAT2" at
> /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164.
>  at /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 164
> VCL::Module::State::initialize('VCL::image=HASH(0x36b48c8)',
> 'HASH(0x36a4518)') called at /usr/local/vcl/bin/../lib/VCL/Module.pm line
> 159
> VCL::Module::new('VCL::image', 'HASH(0x36a4518)') called at
> /usr/local/vcl/bin/vcld line 591
> VCL::vcld::make_new_child('HASH(0x357df40)') called at
> /usr/local/vcl/bin/vcld line 342
> VCL::vcld::main() called at /usr/local/vcl/bin/vcld line 98
> 2011-01-06 10:02:46|2766|1:1|image|State.pm:DESTROY(902)|destructor called,
> ref($self)=VCL::image
> 2011-01-06
> 10:02:46|2766|1:1|image|utils.pm:delete_computerloadlog_reservation(6829)|
> removing computerloadlog entries matching loadstate = begin
> 2011-01-06
> 10:02:47|2766|1:1|image|utils.pm:delete_computerloadlog_reservation(6876)|
> deleted rows from computerloadlog for reservation id=1
> 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(909)|removed
> computerloadlog rows with loadstate=begin for reservation
> 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(921)|number of database
> handles state process created: 1
> 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(930)|process has a
> database handle stored in $ENV{dbh}, attempting disconnect
> 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(932)|$ENV{dbh}:
> database disconnect successful
> 2011-01-06 10:02:47|2766|1:1|image|State.pm:DESTROY(946)|VCL::image process
> 2766 exiting
> 2011-01-06 10:02:47|2175|vcld:REAPER(745)|VCL process exited for
> reservation 1, PID: 2766, signal: CHLD
> ###########################################################################
> ###################################
> 
> 
> I think that I have to do some xCAT configuration.
> https://cwiki.apache.org/confluence/display/VCL/Documentation
> there is a title about xCAT but has no content.
> Do you know there is a documentation about that?
> 
> Also, I want to ask that;
> I installed a node(Redhat 6 Enterprise 64-Bit) by xCAT and using kickstart.
> So, I don't have any images about that node. Do I have to use partimage?
> Because xCAT doesn't suggest to use partimage.
> Actually I don't know what I gonna do at here. I don't understand the
> relationship and configuration between the xCAT and VCL.
> I will be very happy if you give information at this point.
> 
> Sorry for my English.
> Thanks...
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAk0l+w0ACgkQV/LQcNdtPQNuIQCfbiYLmwfsHy2Tmu59b/5NRU+C
8AoAnA7Zx67259rrYuUtWl0d3QDTAitH
=cO1J
-----END PGP SIGNATURE-----