You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by "Litchfield, Elwin L." <Le...@sar.usf.edu> on 2015/05/01 17:10:36 UTC
Apache VCL Startup problems
I am trying to implement Apache VCL on Centos 6.6 connecting to VMware 5.5 & CetrixXenServer 6.2
The config files are attached for Apache VCL. I have added XenServer.pm, patched image.pm, 7 scripts to mysql for XenServer.
The virtual machines created on VMware & XenServer are Centos 6.6 with updates, xrdp, and vm tools installed on each vm.
When I create an image the vm is removed from the VMware or XenServer host and the new image name is in /vmfs/volumes/datastore1 for VMware or xe list-vdi for XenServer.
Reservations can be created, but fail with reservation failed on VM7Cent6VCL2: process failed because computer is not available
The config files probably are a source of the problem, but it was the only way I could get vcld to run.
I appreciate any help or pointers in the right direction.
Lewis Litchfield
Technology Services - Viking Center Lab
University of South Florida Sarasota-Manatee
941-359-4231
Re: Apache VCL Startup problems
Posted by Elwin Litchfield <le...@mail.usf.edu>.
Thanks.
On Mon, May 4, 2015 at 8:58 AM, Aaron Peeler <aa...@ncsu.edu> wrote:
> Elwin,
>
> you will need to replace ID with the numeric ID for the requestid,
> something like:
>
> grep '20:20' /var/log/vcld.log
>
> Aaron
>
>
>
>
> On Fri, May 1, 2015 at 1:01 PM, Elwin Litchfield <le...@mail.usf.edu>
> wrote:
> > I have something wrong with my syntax:
> >
> > [root@vclm ~]# grep Image ID:20 /var/log/vcld.log
> > grep: ID:20: No such file or directory
> > /var/log/vcld.log:|16759| VCL Image State Module
> > /var/log/vcld.log:|16759| VCL Image State Module
> > /var/log/vcld.log:|22110| VCL Image State Module
> > /var/log/vcld.log:|9994| VCL Image State Module
> > /var/log/vcld.log:|9994| Capture Base Image
> > /var/log/vcld.log:|10456| VCL Image State Module
> > /var/log/vcld.log:|10456| Capture Base Image
> > /var/log/vcld.log:|11071| VCL Image State Module
> > /var/log/vcld.log:|11071| Capture Base Image
> > /var/log/vcld.log:|11071| Capture Base Image
> > /var/log/vcld.log:|11071| Capture Base Image
> > /var/log/vcld.log:|11071| Capture Base Image
> > /var/log/vcld.log:|11071| Capture Base Image
> > /var/log/vcld.log:|11071| VCL Image State Module
> > /var/log/vcld.log:|11228| VCL Image State Module
> > /var/log/vcld.log:|11228| Capture Base Image
> > /var/log/vcld.log:|25112| VCL Image State Module
> > /var/log/vcld.log:|25112| Capture Base Image
> > /var/log/vcld.log:2015-04-29
> > 21:43:55|25196|4:4|image|utils.pm:mail(1253)|SUCCESS -- Sending mail To:
> > root@localhost, VCL -- NOTICE DELAY Image Creation XeneTest4
> > /var/log/vcld.log:2015-04-29
> > 21:43:55|25196|4:4|image|utils.pm:mail(1253)|SUCCESS -- Sending mail To:
> > lewis15@mail.usf.edu, VCL -- NOTICE FAILED Image Creation XeneTest4
> > /var/log/vcld.log:|2696| VCL Image State Module
> > /var/log/vcld.log:|2696| Capture Base Image
> > /var/log/vcld.log:|16375| VCL Image State Module
> > /var/log/vcld.log:|16375| Capture Base Image
> > /var/log/vcld.log:|19166| VCL Image State Module
> > /var/log/vcld.log:|19166| Capture Base Image
> > /var/log/vcld.log:|19533| VCL Image State Module
> > /var/log/vcld.log:|19533| Capture Base Image
> > /var/log/vcld.log:2015-04-30
> > 11:32:29|19608|8:8|image|utils.pm:mail(1253)|SUCCESS -- Sending mail To:
> > root@localhost, VCL -- xen3test8 Image Creation Succeeded
> > /var/log/vcld.log:|20740| VCL Image State Module
> > /var/log/vcld.log:|20740| Capture Base Image
> > /var/log/vcld.log:2015-04-30
> > 11:40:31|20826|10:10|image|utils.pm:mail(1253)|SUCCESS -- Sending mail
> To:
> > root@localhost, VCL -- vm7test9 Image Creation Succeeded
> > /var/log/vcld.log:|19527| VCL Image State Module
> > /var/log/vcld.log:|19527| Capture Base Image
> > /var/log/vcld.log:|19527| Capture Base Image
> > /var/log/vcld.log:|19527| VCL Image State Module
> > /var/log/vcld.log:|19720| VCL Image State Module
> > /var/log/vcld.log:|19720| Capture Base Image
> > /var/log/vcld.log:|20494| VCL Image State Module
> > /var/log/vcld.log:|20494| Capture Base Image
> > /var/log/vcld.log:|20494| Capture Base Image
> > /var/log/vcld.log:|20494| VCL Image State Module
> > /var/log/vcld.log:|20590| VCL Image State Module
> > /var/log/vcld.log:|20590| Capture Base Image
> > /var/log/vcld.log:2015-05-01
> > 09:48:06|20669|20:20|image|utils.pm:mail(1253)|SUCCESS -- Sending mail
> To:
> > root@localhost, VCL -- vm7c2testvcl2 Image Creation Succeeded
> > [root@vclm ~]# grep Image ID:20 /var/log/vcld.log > /tmp/vcl-debug.log
> > grep: ID:20: No such file or directory
> > [root@vclm ~]#
> >
> >
> >
> > On Fri, May 1, 2015 at 11:43 AM, Josh Thompson <jo...@ncsu.edu>
> > wrote:
> >>
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Elwin,
> >>
> >> Welcome to the VCL community!
> >>
> >> Can you send the entries from vcld.log for one of the failed
> reservations?
> >> Look up the request id from a failed reservation in the request table
> and
> >> then
> >> run
> >>
> >> grep <requestid> /var/log/vcld.log > /tmp/vcl-debug.log
> >>
> >> and send vcl-debug.log to the list. That will give us a better idea of
> >> where
> >> it is failing.
> >>
> >> Josh
> >>
> >> On Friday, May 01, 2015 3:10:36 PM Litchfield, Elwin L. wrote:
> >> > I am trying to implement Apache VCL on Centos 6.6 connecting to VMware
> >> > 5.5 &
> >> > CetrixXenServer 6.2
> >> >
> >> > The config files are attached for Apache VCL. I have added
> >> > XenServer.pm,
> >> > patched image.pm, 7 scripts to mysql for XenServer.
> >> >
> >> >
> >> > The virtual machines created on VMware & XenServer are Centos 6.6 with
> >> > updates, xrdp, and vm tools installed on each vm.
> >> >
> >> >
> >> > When I create an image the vm is removed from the VMware or XenServer
> >> > host
> >> > and the new image name is in /vmfs/volumes/datastore1 for VMware or xe
> >> > list-vdi for XenServer.
> >> >
> >> >
> >> > Reservations can be created, but fail with reservation failed on
> >> > VM7Cent6VCL2: process failed because computer is not available
> >> >
> >> > The config files probably are a source of the problem, but it was the
> >> > only
> >> > way I could get vcld to run.
> >> >
> >> >
> >> >
> >> > I appreciate any help or pointers in the right direction.
> >> >
> >> >
> >> > Lewis Litchfield
> >> > Technology Services - Viking Center Lab
> >> > University of South Florida Sarasota-Manatee
> >> > 941-359-4231
> >> - --
> >> - -------------------------------
> >> Josh Thompson
> >> VCL Developer
> >> North Carolina State University
> >>
> >> my GPG/PGP key can be found at pgp.mit.edu
> >>
> >> All electronic mail messages in connection with State business which
> >> are sent to or received by this account are subject to the NC Public
> >> Records Law and may be disclosed to third parties.
> >> -----BEGIN PGP SIGNATURE-----
> >> Version: GnuPG v2
> >>
> >> iEYEARECAAYFAlVDnzYACgkQV/LQcNdtPQP3GgCeOG/gBiRT4y391FWdKY6+E8C2
> >> 7zYAn0/qBqr/y4xmfb90W+s7iIRo/cIh
> >> =lsfD
> >> -----END PGP SIGNATURE-----
> >>
> >
>
>
>
> --
> Aaron Peeler
> Program Manager
> Virtual Computing Lab
> NC State University
>
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
>
Re: Apache VCL Startup problems
Posted by Aaron Peeler <aa...@ncsu.edu>.
Elwin,
you will need to replace ID with the numeric ID for the requestid,
something like:
grep '20:20' /var/log/vcld.log
Aaron
On Fri, May 1, 2015 at 1:01 PM, Elwin Litchfield <le...@mail.usf.edu> wrote:
> I have something wrong with my syntax:
>
> [root@vclm ~]# grep Image ID:20 /var/log/vcld.log
> grep: ID:20: No such file or directory
> /var/log/vcld.log:|16759| VCL Image State Module
> /var/log/vcld.log:|16759| VCL Image State Module
> /var/log/vcld.log:|22110| VCL Image State Module
> /var/log/vcld.log:|9994| VCL Image State Module
> /var/log/vcld.log:|9994| Capture Base Image
> /var/log/vcld.log:|10456| VCL Image State Module
> /var/log/vcld.log:|10456| Capture Base Image
> /var/log/vcld.log:|11071| VCL Image State Module
> /var/log/vcld.log:|11071| Capture Base Image
> /var/log/vcld.log:|11071| Capture Base Image
> /var/log/vcld.log:|11071| Capture Base Image
> /var/log/vcld.log:|11071| Capture Base Image
> /var/log/vcld.log:|11071| Capture Base Image
> /var/log/vcld.log:|11071| VCL Image State Module
> /var/log/vcld.log:|11228| VCL Image State Module
> /var/log/vcld.log:|11228| Capture Base Image
> /var/log/vcld.log:|25112| VCL Image State Module
> /var/log/vcld.log:|25112| Capture Base Image
> /var/log/vcld.log:2015-04-29
> 21:43:55|25196|4:4|image|utils.pm:mail(1253)|SUCCESS -- Sending mail To:
> root@localhost, VCL -- NOTICE DELAY Image Creation XeneTest4
> /var/log/vcld.log:2015-04-29
> 21:43:55|25196|4:4|image|utils.pm:mail(1253)|SUCCESS -- Sending mail To:
> lewis15@mail.usf.edu, VCL -- NOTICE FAILED Image Creation XeneTest4
> /var/log/vcld.log:|2696| VCL Image State Module
> /var/log/vcld.log:|2696| Capture Base Image
> /var/log/vcld.log:|16375| VCL Image State Module
> /var/log/vcld.log:|16375| Capture Base Image
> /var/log/vcld.log:|19166| VCL Image State Module
> /var/log/vcld.log:|19166| Capture Base Image
> /var/log/vcld.log:|19533| VCL Image State Module
> /var/log/vcld.log:|19533| Capture Base Image
> /var/log/vcld.log:2015-04-30
> 11:32:29|19608|8:8|image|utils.pm:mail(1253)|SUCCESS -- Sending mail To:
> root@localhost, VCL -- xen3test8 Image Creation Succeeded
> /var/log/vcld.log:|20740| VCL Image State Module
> /var/log/vcld.log:|20740| Capture Base Image
> /var/log/vcld.log:2015-04-30
> 11:40:31|20826|10:10|image|utils.pm:mail(1253)|SUCCESS -- Sending mail To:
> root@localhost, VCL -- vm7test9 Image Creation Succeeded
> /var/log/vcld.log:|19527| VCL Image State Module
> /var/log/vcld.log:|19527| Capture Base Image
> /var/log/vcld.log:|19527| Capture Base Image
> /var/log/vcld.log:|19527| VCL Image State Module
> /var/log/vcld.log:|19720| VCL Image State Module
> /var/log/vcld.log:|19720| Capture Base Image
> /var/log/vcld.log:|20494| VCL Image State Module
> /var/log/vcld.log:|20494| Capture Base Image
> /var/log/vcld.log:|20494| Capture Base Image
> /var/log/vcld.log:|20494| VCL Image State Module
> /var/log/vcld.log:|20590| VCL Image State Module
> /var/log/vcld.log:|20590| Capture Base Image
> /var/log/vcld.log:2015-05-01
> 09:48:06|20669|20:20|image|utils.pm:mail(1253)|SUCCESS -- Sending mail To:
> root@localhost, VCL -- vm7c2testvcl2 Image Creation Succeeded
> [root@vclm ~]# grep Image ID:20 /var/log/vcld.log > /tmp/vcl-debug.log
> grep: ID:20: No such file or directory
> [root@vclm ~]#
>
>
>
> On Fri, May 1, 2015 at 11:43 AM, Josh Thompson <jo...@ncsu.edu>
> wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Elwin,
>>
>> Welcome to the VCL community!
>>
>> Can you send the entries from vcld.log for one of the failed reservations?
>> Look up the request id from a failed reservation in the request table and
>> then
>> run
>>
>> grep <requestid> /var/log/vcld.log > /tmp/vcl-debug.log
>>
>> and send vcl-debug.log to the list. That will give us a better idea of
>> where
>> it is failing.
>>
>> Josh
>>
>> On Friday, May 01, 2015 3:10:36 PM Litchfield, Elwin L. wrote:
>> > I am trying to implement Apache VCL on Centos 6.6 connecting to VMware
>> > 5.5 &
>> > CetrixXenServer 6.2
>> >
>> > The config files are attached for Apache VCL. I have added
>> > XenServer.pm,
>> > patched image.pm, 7 scripts to mysql for XenServer.
>> >
>> >
>> > The virtual machines created on VMware & XenServer are Centos 6.6 with
>> > updates, xrdp, and vm tools installed on each vm.
>> >
>> >
>> > When I create an image the vm is removed from the VMware or XenServer
>> > host
>> > and the new image name is in /vmfs/volumes/datastore1 for VMware or xe
>> > list-vdi for XenServer.
>> >
>> >
>> > Reservations can be created, but fail with reservation failed on
>> > VM7Cent6VCL2: process failed because computer is not available
>> >
>> > The config files probably are a source of the problem, but it was the
>> > only
>> > way I could get vcld to run.
>> >
>> >
>> >
>> > I appreciate any help or pointers in the right direction.
>> >
>> >
>> > Lewis Litchfield
>> > Technology Services - Viking Center Lab
>> > University of South Florida Sarasota-Manatee
>> > 941-359-4231
>> - --
>> - -------------------------------
>> Josh Thompson
>> VCL Developer
>> North Carolina State University
>>
>> my GPG/PGP key can be found at pgp.mit.edu
>>
>> All electronic mail messages in connection with State business which
>> are sent to or received by this account are subject to the NC Public
>> Records Law and may be disclosed to third parties.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2
>>
>> iEYEARECAAYFAlVDnzYACgkQV/LQcNdtPQP3GgCeOG/gBiRT4y391FWdKY6+E8C2
>> 7zYAn0/qBqr/y4xmfb90W+s7iIRo/cIh
>> =lsfD
>> -----END PGP SIGNATURE-----
>>
>
--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
Re: Apache VCL Startup problems
Posted by Elwin Litchfield <le...@mail.usf.edu>.
I have something wrong with my syntax:
[root@vclm ~]# grep Image ID:20 /var/log/vcld.log
grep: ID:20: No such file or directory
/var/log/vcld.log:|16759| VCL Image State Module
/var/log/vcld.log:|16759| VCL Image State Module
/var/log/vcld.log:|22110| VCL Image State Module
/var/log/vcld.log:|9994| VCL Image State Module
/var/log/vcld.log:|9994| Capture Base Image
/var/log/vcld.log:|10456| VCL Image State Module
/var/log/vcld.log:|10456| Capture Base Image
/var/log/vcld.log:|11071| VCL Image State Module
/var/log/vcld.log:|11071| Capture Base Image
/var/log/vcld.log:|11071| Capture Base Image
/var/log/vcld.log:|11071| Capture Base Image
/var/log/vcld.log:|11071| Capture Base Image
/var/log/vcld.log:|11071| Capture Base Image
/var/log/vcld.log:|11071| VCL Image State Module
/var/log/vcld.log:|11228| VCL Image State Module
/var/log/vcld.log:|11228| Capture Base Image
/var/log/vcld.log:|25112| VCL Image State Module
/var/log/vcld.log:|25112| Capture Base Image
/var/log/vcld.log:2015-04-29
21:43:55|25196|4:4|image|utils.pm:mail(1253)|SUCCESS
-- Sending mail To: root@localhost, VCL -- NOTICE DELAY Image Creation
XeneTest4
/var/log/vcld.log:2015-04-29
21:43:55|25196|4:4|image|utils.pm:mail(1253)|SUCCESS
-- Sending mail To: lewis15@mail.usf.edu, VCL -- NOTICE FAILED Image
Creation XeneTest4
/var/log/vcld.log:|2696| VCL Image State Module
/var/log/vcld.log:|2696| Capture Base Image
/var/log/vcld.log:|16375| VCL Image State Module
/var/log/vcld.log:|16375| Capture Base Image
/var/log/vcld.log:|19166| VCL Image State Module
/var/log/vcld.log:|19166| Capture Base Image
/var/log/vcld.log:|19533| VCL Image State Module
/var/log/vcld.log:|19533| Capture Base Image
/var/log/vcld.log:2015-04-30
11:32:29|19608|8:8|image|utils.pm:mail(1253)|SUCCESS
-- Sending mail To: root@localhost, VCL -- xen3test8 Image Creation
Succeeded
/var/log/vcld.log:|20740| VCL Image State Module
/var/log/vcld.log:|20740| Capture Base Image
/var/log/vcld.log:2015-04-30
11:40:31|20826|10:10|image|utils.pm:mail(1253)|SUCCESS
-- Sending mail To: root@localhost, VCL -- vm7test9 Image Creation Succeeded
/var/log/vcld.log:|19527| VCL Image State Module
/var/log/vcld.log:|19527| Capture Base Image
/var/log/vcld.log:|19527| Capture Base Image
/var/log/vcld.log:|19527| VCL Image State Module
/var/log/vcld.log:|19720| VCL Image State Module
/var/log/vcld.log:|19720| Capture Base Image
/var/log/vcld.log:|20494| VCL Image State Module
/var/log/vcld.log:|20494| Capture Base Image
/var/log/vcld.log:|20494| Capture Base Image
/var/log/vcld.log:|20494| VCL Image State Module
/var/log/vcld.log:|20590| VCL Image State Module
/var/log/vcld.log:|20590| Capture Base Image
/var/log/vcld.log:2015-05-01
09:48:06|20669|20:20|image|utils.pm:mail(1253)|SUCCESS
-- Sending mail To: root@localhost, VCL -- vm7c2testvcl2 Image Creation
Succeeded
[root@vclm ~]# grep Image ID:20 /var/log/vcld.log > /tmp/vcl-debug.log
grep: ID:20: No such file or directory
[root@vclm ~]#
On Fri, May 1, 2015 at 11:43 AM, Josh Thompson <jo...@ncsu.edu>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Elwin,
>
> Welcome to the VCL community!
>
> Can you send the entries from vcld.log for one of the failed reservations?
> Look up the request id from a failed reservation in the request table and
> then
> run
>
> grep <requestid> /var/log/vcld.log > /tmp/vcl-debug.log
>
> and send vcl-debug.log to the list. That will give us a better idea of
> where
> it is failing.
>
> Josh
>
> On Friday, May 01, 2015 3:10:36 PM Litchfield, Elwin L. wrote:
> > I am trying to implement Apache VCL on Centos 6.6 connecting to VMware
> 5.5 &
> > CetrixXenServer 6.2
> >
> > The config files are attached for Apache VCL. I have added XenServer.pm,
> > patched image.pm, 7 scripts to mysql for XenServer.
> >
> >
> > The virtual machines created on VMware & XenServer are Centos 6.6 with
> > updates, xrdp, and vm tools installed on each vm.
> >
> >
> > When I create an image the vm is removed from the VMware or XenServer
> host
> > and the new image name is in /vmfs/volumes/datastore1 for VMware or xe
> > list-vdi for XenServer.
> >
> >
> > Reservations can be created, but fail with reservation failed on
> > VM7Cent6VCL2: process failed because computer is not available
> >
> > The config files probably are a source of the problem, but it was the
> only
> > way I could get vcld to run.
> >
> >
> >
> > I appreciate any help or pointers in the right direction.
> >
> >
> > Lewis Litchfield
> > Technology Services - Viking Center Lab
> > University of South Florida Sarasota-Manatee
> > 941-359-4231
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
>
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iEYEARECAAYFAlVDnzYACgkQV/LQcNdtPQP3GgCeOG/gBiRT4y391FWdKY6+E8C2
> 7zYAn0/qBqr/y4xmfb90W+s7iIRo/cIh
> =lsfD
> -----END PGP SIGNATURE-----
>
>
Re: Apache VCL Startup problems
Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Elwin,
Welcome to the VCL community!
Can you send the entries from vcld.log for one of the failed reservations?
Look up the request id from a failed reservation in the request table and then
run
grep <requestid> /var/log/vcld.log > /tmp/vcl-debug.log
and send vcl-debug.log to the list. That will give us a better idea of where
it is failing.
Josh
On Friday, May 01, 2015 3:10:36 PM Litchfield, Elwin L. wrote:
> I am trying to implement Apache VCL on Centos 6.6 connecting to VMware 5.5 &
> CetrixXenServer 6.2
>
> The config files are attached for Apache VCL. I have added XenServer.pm,
> patched image.pm, 7 scripts to mysql for XenServer.
>
>
> The virtual machines created on VMware & XenServer are Centos 6.6 with
> updates, xrdp, and vm tools installed on each vm.
>
>
> When I create an image the vm is removed from the VMware or XenServer host
> and the new image name is in /vmfs/volumes/datastore1 for VMware or xe
> list-vdi for XenServer.
>
>
> Reservations can be created, but fail with reservation failed on
> VM7Cent6VCL2: process failed because computer is not available
>
> The config files probably are a source of the problem, but it was the only
> way I could get vcld to run.
>
>
>
> I appreciate any help or pointers in the right direction.
>
>
> Lewis Litchfield
> Technology Services - Viking Center Lab
> University of South Florida Sarasota-Manatee
> 941-359-4231
- --
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University
my GPG/PGP key can be found at pgp.mit.edu
All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlVDnzYACgkQV/LQcNdtPQP3GgCeOG/gBiRT4y391FWdKY6+E8C2
7zYAn0/qBqr/y4xmfb90W+s7iIRo/cIh
=lsfD
-----END PGP SIGNATURE-----