This sounds like it could be a caching problem or something in the database isn't correct. First try clearing the cache by browsing to:
https://<your VCL website>/index.php?mode=clearCache

Try to make another reservation. If it still displays the error, please run the following commands on your database and reply with the output:

SELECT * FROM image;
SELECT * FROM imagerevision;
SELECT * FROM resource;
SELECT * FROM resourcegroup;
SELECT * FROM resourcegroupmembers;

Regards,
Andy

Mauricio César Ramírez Torres wrote:
Put the same password on all computers involved and working, probably wrong password, but now I have another problem, when I imported the image is not mistakes; then add the image to a group, but when trying to create a reservation I mark the following : there is an update to the database I need? or need to run a script.

Thanks for your help.
Error encountered
Unkown error type: [8] Undefined index: imagerevision
Error at 332 in /var/www/html/vcl/.ht-inc/requests.php

Array
(
[submitErr] => [user] => Array
        (
            [unityid] => admin
            [affiliationid] => 1
            [affiliation] => Local
            [firstname] => vcl
            [lastname] => admin
[preferredname] => [email] => root@localhost
            [emailnotices] => 0
            [IMtype] => none
[IMid] => [id] => 1
            [adminlevel] => developer
            [adminlevelid] => 3
            [width] => 1024
            [height] => 768
            [bpp] => 16
            [audiomode] => local
            [mapdrives] => 1
            [mapprinters] => 1
            [mapserial] => 1
            [showallgroups] => 1
            [lastupdated] => 2007-05-17 09:58:39
            [shibonly] => 0
            [groups] => Array
                (
                    [3] => adminUsers
                    [1] => global
                    [4] => manageNewImages
                    [5] => Specify End Time
                )

            [privileges] => Array
                (
                    [0] => cascade
                    [1] => computerAdmin
                    [2] => groupAdmin
                    [3] => imageAdmin
                    [4] => imageCheckOut
                    [5] => mgmtNodeAdmin
                    [6] => nodeAdmin
                    [7] => resourceGrant
                    [8] => scheduleAdmin
                    [9] => userGrant
                )

            [login] => admin
            [memberCurrentBlock] => 0
        )

    [viewmode] => 3
[HTMLheader] =>
[mode] => submitRequest [printedHTMLheader] => 0 [data] => Array ( [requestid] => [day] => 2/4/2011 [hour] => 6 [minute] => 00 [meridian] => pm [endday] => [endhour] => [endminute] => 00 [endmeridian] => 
[length] => 30 [started] => [os] => [imageid] => 11 [prettyimage] => [time] => future [revisionid] => Array ( ) [ending] => length [enddate] => [extend] => [testjavascript] => 0 [imaging] => 0 
[lengthchanged] => 0 ) [imaging] => 0 [resources] => Array ( [computer] => Array ( [1] => vclesx.nextdata.com.mx [2] => WindowsXP ) [image] => Array ( [11] => WinXP6 [4] => No Image ) [managementnode] => Array ( 
[1] => vcl.nextdata.com.mx ) [schedule] => Array ( [1] => VCL 24x7 ) ) [validImageids] => Array ( [0] => 11 [1] => 4 ) [showrevisions] => 0 [subimages] => 0 [images] => Array ( [4] => Array ( [id] => 4 [name] 
=> noimage [prettyname] => No Image [ownerid] => 1 [owner] => admin@Local [platformid] => 1 [platform] => i386 [osid] => 2 [os] => sun4x_58 [minram] => 0 [minprocnumber]
=> 1 [minprocspeed] => 0 [minnetwork] => 10 [maxconcurrent] => [reloadtime] => 0 [deleted] => 0 [test] => 0 [resourceid] => 4 [lastupdate] => [forcheckout] => 0 [maxinitialtime] => 0 [imagemetaid] => [imagerevision] => Array ( [4] => Array ( [id] => 4 [revision] => 0 [userid] => 1 [user] => admin@Local [datecreated] => 1980-01-01 00:00:00 [prettydate] => 1/01/80 12:00 AM [production] => 1 [imagename] => noimage ) ) ) [11] => Array ( [id] => 11 [name] => vmwarewinxp-WinXP611-v0 [prettyname] => WinXP6 [ownerid] => 1 [owner] => admin@Local [platformid] => 1 [platform] => i386 [osid] => 16 [os] => vmwarewinxp [minram] => 0 [minprocnumber] => 0 [minprocspeed] => 0 [minnetwork] => 0 [maxconcurrent] => [reloadtime] => 10 [deleted] => 0 [test] => 0 [resourceid] => 18 [lastupdate] => 2011-02-04 16:55:35 [forcheckout] => 1 [maxinitialtime] => 0 [imagemetaid] => 7 [checkuser] => 1 [rootaccess] => 1 [usergroupid] => [usergroup] => [sysprep] => 0 [subimages] => Array ( ) ) ) )




Backtrace:
=-=-=-=-=-=-=-=-=-=-=-=
Call#:1 => index.php:submitRequest() (line#:85)
Call#:2 => requests.php:errorHandler() (line#:332)

Backtrace with Arguments:
=-=-=-=-=-=-=-=-=-=-=-=
Call#:1 => index.php:submitRequest() (line#:85)
Arguments(none):
-----------------------
Call#:2 => requests.php:errorHandler() (line#:332)
Arguments(5)

Argument#: 1 => 8
Argument#: 2 => Undefined index:  imagerevision
Argument#: 3 => /var/www/html/vcl/.ht-inc/requests.php
Argument#: 4 => 332
Argument#: 5 => Array
(
[submitErr] => [user] => Array
        (
            [unityid] => admin
            [affiliationid] => 1
            [affiliation] => Local
            [firstname] => vcl
            [lastname] => admin
[preferredname] => [email] => root@localhost
            [emailnotices] => 0
            [IMtype] => none
[IMid] => [id] => 1
            [adminlevel] => developer
            [adminlevelid] => 3
            [width] => 1024
            [height] => 768
            [bpp] => 16
            [audiomode] => local
            [mapdrives] => 1
            [mapprinters] => 1
            [mapserial] => 1
            [showallgroups] => 1
            [lastupdated] => 2007-05-17 09:58:39
            [shibonly] => 0
            [groups] => Array
                (
                    [3] => adminUsers
                    [1] => global
                    [4] => manageNewImages
                    [5] => Specify End Time
                )

            [privileges] => Array
                (
                    [0] => cascade
                    [1] => computerAdmin
                    [2] => groupAdmin
                    [3] => imageAdmin
                    [4] => imageCheckOut
                    [5] => mgmtNodeAdmin
                    [6] => nodeAdmin
                    [7] => resourceGrant
                    [8] => scheduleAdmin
                    [9] => userGrant
                )

            [login] => admin
            [memberCurrentBlock] => 0
        )

    [viewmode] => 3
[HTMLheader] => [mode] => submitRequest [printedHTMLheader] => 0 [data] => Array ( [requestid] => [day] => 2/4/2011 [hour] => 6 [minute] => 00 [meridian] => pm [endday] => [endhour] => [endminute] => 00 [endmeridian] => [length] => 30 [started] => [os] => [imageid] => 11 [prettyimage] => [time] => future [revisionid] => Array ( ) [ending] => length [enddate] => [extend] => [testjavascript] => 0 [imaging] => 0 [lengthchanged] => 0 ) [imaging] => 0 [resources] => Array ( [computer] => Array ( [1] => vclesx.nextdata.com.mx [2] => WindowsXP ) [image] => Array ( [11] => WinXP6 [4] => No Image ) [managementnode] => Array ( [1] => vcl.nextdata.com.mx ) [schedule] => Array ( [1] => VCL 24x7 ) ) [validImageids] => Array ( [0] => 11 [1] => 4 ) [showrevisions] => 0 [subimages] => 0 [images] => Array ( [4] => Array ( [id] => 4 [name] => noimage [prettyname] => No Image [ownerid] => 1 [owner] => admin@Local [platformid] => 1 [platform] => i386 [osid] => 2 [os] => sun4x_58 [minram] => 0 [minprocnumber] => 1 [minprocspeed] => 0 [minnetwork] => 10 [maxconcurrent] => [reloadtime] => 0 [deleted] => 0 [test] => 0 [resourceid] => 4 [lastupdate] => [forcheckout] => 0 [maxinitialtime] => 0 [imagemetaid] => [imagerevision] => Array ( [4] => Array ( [id] => 4 [revision] => 0 [userid] => 1 [user] => admin@Local [datecreated] => 1980-01-01 00:00:00 [prettydate] => 1/01/80 12:00 AM [production] => 1 [imagename] => noimage ) ) ) [11] => Array ( [id] => 11 [name] => vmwarewinxp-WinXP611-v0 [prettyname] => WinXP6 [ownerid] => 1 [owner] => admin@Local [platformid] => 1 [platform] => i386 [osid] => 16 [os] => vmwarewinxp [minram] => 0 [minprocnumber] => 0 [minprocspeed] => 0 [minnetwork] => 0 [maxconcurrent] => [reloadtime] => 10 [deleted] => 0 [test] => 0 [resourceid] => 18 [lastupdate] => 2011-02-04 16:55:35 [forcheckout] => 1 [maxinitialtime] => 0 [imagemetaid] => 7 [checkuser] => 1 [rootaccess] => 1 [usergroupid] => [usergroup] => [sysprep] => 0 [subimages] => Array ( ) ) ) ) -----------------------


    ------------------------------------------------------------------------
    *From:* Andy Kurth [mailto:andy_ku...@ncsu.edu]
    *To:* vcl-user@incubator.apache.org
    *Sent:* Fri, 04 Feb 2011 16:17:53 -0600
    *Subject:* Re: SDK can not connect to VMWare

    It looks like the username and possibly the password aren't configured
    in the VM profile:

    unable to connect to VM host: https://myserver:8333/sdk, username: '0',
    error:

    The username and password are currently required to use the vSphere
    SDK.
    Otherwise, SSH must be enabled on the VM host and an identity key
    configured.

    Regarding VMware licensing, VCL works using the free ESXi license as
    long as SSH is enabled. The vSphere SDK can only be used if the VMware
    host is using a commercial license or running in evaluation mode. The
    vSphere SDK and other methods provided by VMware are crippled when the
    free license code is applied.

    -Andy


    Mauricio César Ramírez Torres wrote:
     > Another question requires a specific license from VMWare to use with
     > the SDK?
     >
     > Thanks.
     >
     > On 04/02/11 11:10, Mauricio César Ramírez Torres wrote:
     >> Good day, I annex the last lines of vcld.log, try to send this
     >> corresponds to the last attempt I made to import an image, the line
     >> 100 to the 600 does not understand what that indicates, around line
     >> 650 is where I believe this marking problems with the SDK.
     >>
     >> I'm working with ESXi 4.0, 2.2 and SKD 4.0 VCL what I have
    installed
     >> everything on the same computer, ie the database, the node
    manager and
     >> web application, is this correct or recommend a different
    structure, I
     >> did this so for testing, only I have 2 desktop computers to use as
     >> customers at the time that works and to get familiar with the
     >> application, when working properly then think of a final structure.
     >>
     >> Greetings and thanks for your time.
     >>
     >>
    ------------------------------------------------------------------------
     >> *From:* Andy Kurth [mailto:andy_ku...@ncsu.edu
    <mailto:andy_ku...@ncsu.edu>]
     >> *To:* vcl-user@incubator.apache.org
    <mailto:vcl-user@incubator.apache.org>
     >> *Sent:* Fri, 04 Feb 2011 10:03:10 -0600
     >> *Subject:* Re: SDK can not connect to VMWare
     >>
     >> Please include the vcld.log output. There are a few reasons why the
     >> connection may fail. It could be an incorrect URL, incorrect
     >> username/password, or the version of the SDK installed on the
     >> management
     >> node isn't compatible with the version on the VM host. I may be
     >> able to
     >> tell based on the log output.
     >>
     >> Regards,
     >> Andy
     >>
     >> On 2/2/2011 6:30 PM, Mauricio César Ramírez Torres wrote:
     >> > Good day, I have a problem with VCL 2.2 using VMWare ESXi 4.0
     >> with SDK
     >> > 4, basically trying to create a base image says that the SDK
    can not
     >> > connect to VMWare server, but do not know how I can prove it is
     >> possible
     >> > to connect to ESXi with the SDK. someone tell me how to prove?.
     >> >
     >> > I also want to know if any of you would be interested in
     >> supporting me
     >> > to finish my installation properly, and if you are interested
     >> please say
     >> > as it would be the approximate cost.
     >>
     >>
     >>
     >>
    ------------------------------------------------------------------------
     >>
     >>
     >>
     >>
     >>
    
-----------------------------------------------------------------------------------------------------------------
     >> Antes de imprimir este correo electrónico, piensa bien si es
    imprescindible hacerlo.
     >> El Medio Ambiente es cosa de todos.
     >>
     >>
     >>
     >
     >
     > --
     > Atte.
     >
     > Mauricio César Ramírez Torres.
     > Soporte Técnico Frigus Bohn.
     > Tel. (442) 296 4566
     >
     >
     >
     >
    ------------------------------------------------------------------------
     >
     >
     >
     >
     >
    
-----------------------------------------------------------------------------------------------------------------
     > Antes de imprimir este correo electrónico, piensa bien si es
    imprescindible hacerlo.
     > El Medio Ambiente es cosa de todos.
     >
     >
     >


------------------------------------------------------------------------




-----------------------------------------------------------------------------------------------------------------
Antes de imprimir este correo electrónico, piensa bien si es imprescindible hacerlo. El Medio Ambiente es cosa de todos.



Reply via email to