Dear all,
A run into a possible issue with VCL 2.4-rc2, when I try change virtual
machines state from maintance -> available using the VCL frontend.
Error from ajax message:
Error encountered<br>
Unkown error type: [8] Undefined offset: 0<br />
Error at 3380 in /var/www/html/vcl-2.4.2-RC2/.ht-inc/computer.php<br>
For the details see the atached text file.
Br,
Aaron Toth
VCL System Administrator
Fault Tolerant Systems Research Group
Department of Measurement and Information Systems
Budapest University of Technology and Economics
Error encountered<br>
Unkown error type: [8] Undefined offset: 0<br />
Error at 3380 in /var/www/html/vcl-2.4.2-RC2/.ht-inc/computer.php<br>
<pre>
Array
(
[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
[rdpport] => 3389
[showallgroups] => 1
[lastupdated] => 2007-05-17 09:58:39
[usepublickeys] => 0
[sshpublickeys] =>
[shibonly] => 0
[groups] => Array
(
[3] => adminUsers
[6] => Allow No User Check
[7] => Default for Editable by
[1] => global
[4] => manageNewImages
[5] => Specify End Time
)
[groupperms] => Array
(
[1] => Manage Additional User Group Permissions
[2] => Manage Block Allocations (global)
[14] => Manage Federated User Groups (global)
[5] => Manage VM Profiles
[7] => Schedule Site Maintenance
[6] => Search Tools
[3] => Set Overlapping Reservation Count
[16] => Site Configuration (global)
[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] => serverCheckOut
[10] => serverProfileAdmin
[11] => userGrant
[12] => managementnodeAdmin
)
[login] => admin
[memberCurrentBlock] => 0
)
[newstateid] => 2
[compids] => Array
(
[0] => 1
[1] => 2
)
[states] => Array
(
[2] => available
[24] => checkpoint
[4] => classreserved
[9] => cleaning
[12] => complete
[1] => deleted
[5] => failed
[23] => hpc
[16] => image
[7] => imageinuse
[15] => imageprep
[8] => inuse
[10] => maintenance
[17] => makeproduction
[13] => new
[14] => pending
[28] => reboothard
[26] => rebootsoft
[27] => reinstall
[19] => reload
[6] => reloading
[3] => reserved
[25] => serverinuse
[29] => servermodified
[11] => timeout
[22] => tohpc
[18] => tomaintenance
[21] => tovmhostinuse
[20] => vmhostinuse
)
[ret] => Array
(
[status] => success
[title] => Change State
[clearselection] => 0
[newstate] => available
[refreshcount] => 1
)
[resources] => Array
(
[computer] => Array
(
[1] => os-vm-1
[2] => os-vm-2
)
[image] => Array
(
)
[managementnode] => Array
(
[1] => localhost
)
[schedule] => Array
(
[1] => VCL 24x7
)
[serverprofile] => Array
(
)
)
[tmp] => Array
(
)
)
</pre>
<br><br><br>
<pre>
Backtrace:
=-=-=-=-=-=-=-=-=-=-=-=
Call#:1 => index.php:Computer.AJsubmitCompStateChange() (line#:102)
Call#:2 => computer.php:errorHandler() (line#:3380)
Backtrace with Arguments:
=-=-=-=-=-=-=-=-=-=-=-=
Call#:1 => index.php:Computer.AJsubmitCompStateChange() (line#:102)
Arguments(none):
-----------------------
Call#:2 => computer.php:errorHandler() (line#:3380)
Arguments(5)
Argument#: 1 => 8
Argument#: 2 => Undefined offset: 0
Argument#: 3 => /var/www/html/vcl-2.4.2-RC2/.ht-inc/computer.php
Argument#: 4 => 3380
Argument#: 5 => Array
(
[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
[rdpport] => 3389
[showallgroups] => 1
[lastupdated] => 2007-05-17 09:58:39
[usepublickeys] => 0
[sshpublickeys] =>
[shibonly] => 0
[groups] => Array
(
[3] => adminUsers
[6] => Allow No User Check
[7] => Default for Editable by
[1] => global
[4] => manageNewImages
[5] => Specify End Time
)
[groupperms] => Array
(
[1] => Manage Additional User Group Permissions
[2] => Manage Block Allocations (global)
[14] => Manage Federated User Groups (global)
[5] => Manage VM Profiles
[7] => Schedule Site Maintenance
[6] => Search Tools
[3] => Set Overlapping Reservation Count
[16] => Site Configuration (global)
[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] => serverCheckOut
[10] => serverProfileAdmin
[11] => userGrant
[12] => managementnodeAdmin
)
[login] => admin
[memberCurrentBlock] => 0
)
[newstateid] => 2
[compids] => Array
(
[0] => 1
[1] => 2
)
[states] => Array
(
[2] => available
[24] => checkpoint
[4] => classreserved
[9] => cleaning
[12] => complete
[1] => deleted
[5] => failed
[23] => hpc
[16] => image
[7] => imageinuse
[15] => imageprep
[8] => inuse
[10] => maintenance
[17] => makeproduction
[13] => new
[14] => pending
[28] => reboothard
[26] => rebootsoft
[27] => reinstall
[19] => reload
[6] => reloading
[3] => reserved
[25] => serverinuse
[29] => servermodified
[11] => timeout
[22] => tohpc
[18] => tomaintenance
[21] => tovmhostinuse
[20] => vmhostinuse
)
[ret] => Array
(
[status] => success
[title] => Change State
[clearselection] => 0
[newstate] => available
[refreshcount] => 1
)
[resources] => Array
(
[computer] => Array
(
[1] => os-vm-1
[2] => os-vm-2
)
[image] => Array
(
)
[managementnode] => Array
(
[1] => localhost
)
[schedule] => Array
(
[1] => VCL 24x7
)
[serverprofile] => Array
(
)
)
[tmp] => Array
(
)
)
-----------------------
</pre>