You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by Kelly Robinson <is...@langate.gsu.edu> on 2011/05/06 17:36:05 UTC
VCL2.2.1 undefined index error
We're working on a new install of VCL2.2.1 and are getting an error message when we try to make a reservation. See snippets of the errors that display of the screen is given below. I saw a previous post about this and the suggestion was to clear the cache. This was performed, however the error persists. Has anyone else come across this issue and know how to resolve it?
Error encountered
Unkown error type: [8] Undefined index: imagerevision
Error at 332 in /apps/apache2/testvcl_443+testvcl.gsu.edu/htdocs/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
[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
)
[groupperms] => Array
(
[1] => Manage Additional User Group Permissions
[2] => Manage Block Allocations
[5] => Manage VM Profiles
[7] => Schedule Site Maintenance
[6] => Search Tools
[3] => Set Overlapping Reservation Count
[11] => User Lookup (affiliation only)
[10] => User Lookup (global)
[9] => View Dashboard (affiliation only)
[8] => View Dashboard (global)
[4] => View Debug Information
[12] => View Statistics by Affiliation
)
[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
)
[HTMLheader] =>
Kelly Robinson
Georgia State University
Re: VCL2.2.1 undefined index error
Posted by Josh Thompson <jo...@ncsu.edu>.
Kelly,
When a new image is being captured, the deleted flags for the image and the
imagerevision are set to 1. If just a new revision is being captured, the
deleted flag is set for the imagerevision. This is done to keep the image or
the imagerevision from showing up as something available to be reserved.
After the imaging process is completed, the flags are updated to be 0. So, if
you have an imaging process get hung up in the middle and have to manually fix
things in the database, this is something you may have to fix as well. When
everything happens normally, you should never end up with the deleted flag set
incorrectly.
Josh
On Monday May 09, 2011, Kelly Robinson wrote:
> It appears that the image revision associated with this particular image as
> set to "1" for deleted. I set it to 0 and the errors went away.
>
> Thanks,
> Kelly
>
> >>> Vishnu D H <am...@gmail.com> 05/07/11 11:57 PM >>>
>
> Hello Kelly,
> I saw this error sometime before when i was trying something with my
> Standalone setup. I think what the error means is, it is not able to find
> the corresponding Database entry. So what i would do is check the
> following.
>
> 1. Is the VM/Computer which is being used as the allocated computer, mapped
> to a valid image entry in the DB?
>
> 2. If it is mapped to the correct entry, have you made a Image revision
> entry for the corresponding image?
>
> I maybe wrong, somebody can correct me if i am.
>
> -Vishnu
>
>
> On Fri, May 6, 2011 at 11:36 AM, Kelly Robinson
> <is...@langate.gsu.edu>
>
> wrote:
>
>
> We're working on a new install of VCL2.2.1 and are getting an error message
> when we try to make a reservation. See snippets of the errors that display
> of the screen is given below. I saw a previous post about this and the
> suggestion was to clear the cache. This was performed, however the error
> persists. Has anyone else come across this issue and know how to resolve
> it?
>
>
> Error encountered
> Unkown error type: [8] Undefined index: imagerevision
> Error at 332 in
> /apps/apache2/testvcl_443+testvcl.gsu.edu/htdocs/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
> [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
> )
>
>
> [groupperms] => Array
> (
> [1] => Manage Additional User Group Permissions
> [2] => Manage Block Allocations
> [5] => Manage VM Profiles
> [7] => Schedule Site Maintenance
> [6] => Search Tools
> [3] => Set Overlapping Reservation Count
> [11] => User Lookup (affiliation only)
> [10] => User Lookup (global)
> [9] => View Dashboard (affiliation only)
> [8] => View Dashboard (global)
> [4] => View Debug Information
> [12] => View Statistics by Affiliation
> )
>
>
> [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
> )
>
>
> [HTMLheader] =>
>
>
>
>
> Kelly Robinson
> Georgia State University
>
>
>
>
>
>
> --
> Cheers,
> Vishnu D H
--
-------------------------------
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University
Josh_Thompson@ncsu.edu
919-515-5323
my GPG/PGP key can be found at pgp.mit.edu
Re: VCL2.2.1 undefined index error
Posted by Kelly Robinson <is...@langate.gsu.edu>.
It appears that the image revision associated with this particular image as set to "1" for deleted. I set it to 0 and the errors went away.
Thanks,
Kelly
>>> Vishnu D H <am...@gmail.com> 05/07/11 11:57 PM >>>
Hello Kelly,
I saw this error sometime before when i was trying something with my Standalone setup. I think what the error means is, it is not able to find the corresponding Database entry. So what i would do is check the following.
1. Is the VM/Computer which is being used as the allocated computer, mapped to a valid image entry in the DB?
2. If it is mapped to the correct entry, have you made a Image revision entry for the corresponding image?
I maybe wrong, somebody can correct me if i am.
-Vishnu
On Fri, May 6, 2011 at 11:36 AM, Kelly Robinson
<is...@langate.gsu.edu>
wrote:
We're working on a new install of VCL2.2.1 and are getting an error message when we try to make a reservation. See snippets of the errors that display of the screen is given below. I saw a previous post about this and the suggestion was to clear the cache. This was performed, however the error persists. Has anyone else come across this issue and know how to resolve it?
Error encountered
Unkown error type: [8] Undefined index: imagerevision
Error at 332 in /apps/apache2/testvcl_443+testvcl.gsu.edu/htdocs/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
[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
)
[groupperms] => Array
(
[1] => Manage Additional User Group Permissions
[2] => Manage Block Allocations
[5] => Manage VM Profiles
[7] => Schedule Site Maintenance
[6] => Search Tools
[3] => Set Overlapping Reservation Count
[11] => User Lookup (affiliation only)
[10] => User Lookup (global)
[9] => View Dashboard (affiliation only)
[8] => View Dashboard (global)
[4] => View Debug Information
[12] => View Statistics by Affiliation
)
[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
)
[HTMLheader] =>
Kelly Robinson
Georgia State University
--
Cheers,
Vishnu D H
Re: VCL2.2.1 undefined index error
Posted by Vishnu D H <am...@gmail.com>.
Hello Kelly,
I saw this error sometime before when i was trying something with my
Standalone setup. I think what the error means is, it is not able to find
the corresponding Database entry. So what i would do is check the following.
1. Is the VM/Computer which is being used as the allocated computer, mapped
to a valid image entry in the DB?
2. If it is mapped to the correct entry, have you made a Image revision
entry for the corresponding image?
I maybe wrong, somebody can correct me if i am.
-Vishnu
On Fri, May 6, 2011 at 11:36 AM, Kelly Robinson <is...@langate.gsu.edu>wrote:
> We're working on a new install of VCL2.2.1 and are getting an error
> message when we try to make a reservation. See snippets of the errors that
> display of the screen is given below. I saw a previous post about this and
> the suggestion was to clear the cache. This was performed, however the
> error persists. Has anyone else come across this issue and know how to
> resolve it?
>
> Error encountered
>
> Unkown error type: [8] Undefined index: imagerevision
>
> Error at 332 in /apps/apache2/testvcl_443+
> testvcl.gsu.edu/htdocs/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
>
> [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
>
> )
>
> [groupperms] => Array
>
> (
>
> [1] => Manage Additional User Group Permissions
>
> [2] => Manage Block Allocations
>
> [5] => Manage VM Profiles
>
> [7] => Schedule Site Maintenance
>
> [6] => Search Tools
>
> [3] => Set Overlapping Reservation Count
>
> [11] => User Lookup (affiliation only)
>
> [10] => User Lookup (global)
>
> [9] => View Dashboard (affiliation only)
>
> [8] => View Dashboard (global)
>
> [4] => View Debug Information
>
> [12] => View Statistics by Affiliation
>
> )
>
> [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
>
> )
>
> [HTMLheader] =>
>
>
>
> Kelly Robinson
>
> Georgia State University
>
>
>
--
Cheers,
Vishnu D H