Hello,
The instructions on that page led you to encounter a known issue if a computer
is added in the maintenance state:
https://issues.apache.org/jira/browse/VCL-189
I have updated the page to instruct you to add the computer in the available
state. Please try to add the computer again.
-Andy
Felipe Santos wrote:
Hi Dears,
I was following this instructions here(
http://cwiki.apache.org/confluence/display/VCL/Configuring+a+Standalone+VMware+VCL+Environment).
More specifically this:
Add VM host computer:
- Manage Computers -> Edit Computer Information -> Submit -> Add
- Hosthame: localvmhost
- IP Address: 192.168.0.1 (NOTE: there is currently a bug restricting
the size of the field, so hopefully one octet has less than 3 digits.)
- State: maintenance
- Owner: admin
- Platform: i386
- Schedule: VCL 24x7
- RAM: 1024
- No Processors: 1
- Processor Speed: 2000
- Network Speed: 100
- Type: blade
- Provisioning engine: xCAT 1.x
- Computer Groups: all vm host computers
And I got this error:
Error encountered
Unkown error type: [8] Undefined index:
Error at 954 in /var/www/html/vcl/.ht-inc/computers.php
Array
(
[data] => Array
(
[platforms] => Array
(
)
[schedules] => Array
(
)
[groups] => Array
(
)
[showhostname] => 0
[shownextimage] => 0
[showipaddress] => 0
[showram] => 0
[showstate] => 0
[showprocnumber] => 0
[showdepartment] => 0
[showowner] => 0
[showprocspeed] => 0
[showplatform] => 0
[shownetwork] => 0
[showschedule] => 0
[showcomputerid] => 0
[showcurrentimage] => 0
[showtype] => 0
[showprovisioning] => 0
[shownotes] => 0
[showcounts] => 0
[bulk] =>
[ipaddress] => 192.168.0.1
[stateid] => 10
[owner] => admin
[platformid] => 1
[scheduleid] => 1
[currentimgid] =>
[ram] => 3072
[numprocs] => 1
[procspeed] => 2660
[network] => 100
[hostname] => localvmhost
[compid] =>
[type] => blade
[provisioningid] => 1
[notes] =>
[computergroup] => Array
(
[11] => 1
)
[showdeleted] => 0
)
[compdata] => Array
(
)
)
Backtrace:
=-=-=-=-=-=-=-=-=-=-=-=
Call#:1 => index.php:computerAddMaintenanceNote() (line#:83)
Call#:2 => computers.php:errorHandler() (line#:954)
Backtrace with Arguments:
=-=-=-=-=-=-=-=-=-=-=-=
Call#:1 => index.php:computerAddMaintenanceNote() (line#:83)
Arguments(none):
-----------------------
Call#:2 => computers.php:errorHandler() (line#:954)
Arguments(5)
Argument#: 1 => 8
Argument#: 2 => Undefined index:
Argument#: 3 => /var/www/html/vcl/.ht-inc/computers.php
Argument#: 4 => 954
Argument#: 5 => Array
(
[data] => Array
(
[platforms] => Array
(
)
[schedules] => Array
(
)
[groups] => Array
(
)
[showhostname] => 0
[shownextimage] => 0
[showipaddress] => 0
[showram] => 0
[showstate] => 0
[showprocnumber] => 0
[showdepartment] => 0
[showowner] => 0
[showprocspeed] => 0
[showplatform] => 0
[shownetwork] => 0
[showschedule] => 0
[showcomputerid] => 0
[showcurrentimage] => 0
[showtype] => 0
[showprovisioning] => 0
[shownotes] => 0
[showcounts] => 0
[bulk] =>
[ipaddress] => 192.168.0.1
[stateid] => 10
[owner] => admin
[platformid] => 1
[scheduleid] => 1
[currentimgid] =>
[ram] => 3072
[numprocs] => 1
[procspeed] => 2660
[network] => 100
[hostname] => localvmhost
[compid] =>
[type] => blade
[provisioningid] => 1
[notes] =>
[computergroup] => Array
(
[11] => 1
)
[showdeleted] => 0
)
[compdata] => Array
(
)
)
Regards
Felipe
--
Andy Kurth
Virtual Computing Lab
Office of Information Technology
North Carolina State University
[email protected]
919.513.4090