Hi,

I used the steps that were mentioned under

https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
ng+to+xCAT+2.x+%28unofficial%29

to enable partimage support for xcat. I wasn't sure if I need to change references to x86 & x86_64 (as directories) to reflect the ppc architecture, as the web page says "The architecture for the node must always be set to x86 for this..". I have with me the vmlinuz (kernel image) and initrd for the capture process. The 2 nodeset commands

nodeset <node> image
nodeset <node> install

fail with the following error msg: "Error: Invalid nodes and/or groups in noderange: power01".

Also, when I start the capture process using "vcld --setup", again, there is no option to choose a ppc architecture (I am not sure if I should be modifying the setup scripts to support ppc architecture). I continue with the setup process by choosing the architecture as x86_64 (instead of ppc for our Power 7 blade). Operating System is RHEL 5. The scripts attempts to power down the blade, waits for 120 seconds before it quits with a failure. The log file is shown at the bottom of the mail.

The script fails saying the blade didn't turn off, but, I can see in my console that the blade is off and it does not respond to connection requests. There is a deviation from the configuration that were mentioned: the blade we are trying to use as a compute node has only 1 ethernet port enabled, hence there is no separate private & public networks. Will that matter?

Any support with this would be really helpful.  Thanks in advance.

Regards,
Sunil Venkatesh


***************

RECENT LOG ENTRIES FOR THIS PROCESS:
|11662|23:23|image| (-2) Module.pm, code_loop_timeout (line: 761)
|11662|23:23|image| (-3) Provisioning.pm, wait_for_power_off (line: 324)
|11662|23:23|image| (-4) Linux.pm, pre_capture (line: 183)
|11662|23:23|image| (-5) xCAT2.pm, capture (line: 792)
2011-05-31 12:56:37|11662|23:23|image|Module.pm:code_loop_timeout(755)|attempt 36: code returned false, seconds elapsed/remaining: 114/6, sleeping for 3 seconds 2011-05-31 12:56:40|11662|23:23|image|Module.pm:code_loop_timeout(759)|attempt 37: waiting for power01 to power off 2011-05-31 12:56:40|11662|23:23|image|xCAT.pm:_rpower(1944)|attempting to execute rpower for computer: power01, mode: stat 2011-05-31 12:56:40|11662|23:23|image|utils.pm:run_command(9010)|executed command: /opt/xcat/bin/rpower power01 stat, pid: 11922, exit status: 1, output:
|11662|23:23|image| Error: Invalid nodes and/or groups in noderange: power01
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:40|11662|23:23|image|xCAT.pm:_rpower(1997)|unexpected output returned from rpower: Error: Invalid nodes and/or groups in noderange: power01
|11662|23:23|image| ( 0) xCAT.pm, _rpower (line: 1997)
|11662|23:23|image| (-1) xCAT.pm, power_status (line: 1675)
|11662|23:23|image| (-2) Provisioning.pm, __ANON__ (line: 324)
|11662|23:23|image| (-3) Module.pm, code_loop_timeout (line: 761)
|11662|23:23|image| (-4) Provisioning.pm, wait_for_power_off (line: 324)
|11662|23:23|image| (-5) Linux.pm, pre_capture (line: 183)
2011-05-31 12:56:40|11662|23:23|image|xCAT.pm:power_status(1676)|retrieved power status of power01: 0
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:40|11662|23:23|image|xCAT.pm:power_status(1679)|failed to determine power status, rpower subroutine returned 0
|11662|23:23|image| ( 0) xCAT.pm, power_status (line: 1679)
|11662|23:23|image| (-1) Provisioning.pm, __ANON__ (line: 324)
|11662|23:23|image| (-2) Module.pm, code_loop_timeout (line: 761)
|11662|23:23|image| (-3) Provisioning.pm, wait_for_power_off (line: 324)
|11662|23:23|image| (-4) Linux.pm, pre_capture (line: 183)
|11662|23:23|image| (-5) xCAT2.pm, capture (line: 792)
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:40|11662|23:23|image|vcld:warning_handler(610)|Use of uninitialized value in pattern match (m//) at /usr/local/vcl/bin/../lib/VCL/Module/Provisioning.pm line 324.
|11662|23:23|image| ( 0) vcld, warning_handler (line: 610)
|11662|23:23|image| (-1) Provisioning.pm, __ANON__ (line: 324)
|11662|23:23|image| (-2) Module.pm, code_loop_timeout (line: 761)
|11662|23:23|image| (-3) Provisioning.pm, wait_for_power_off (line: 324)
|11662|23:23|image| (-4) Linux.pm, pre_capture (line: 183)
|11662|23:23|image| (-5) xCAT2.pm, capture (line: 792)
2011-05-31 12:56:40|11662|23:23|image|Module.pm:code_loop_timeout(755)|attempt 37: code returned false, seconds elapsed/remaining: 117/3, sleeping for 3 seconds 2011-05-31 12:56:43|11662|23:23|image|Module.pm:code_loop_timeout(759)|attempt 38: waiting for power01 to power off 2011-05-31 12:56:43|11662|23:23|image|xCAT.pm:_rpower(1944)|attempting to execute rpower for computer: power01, mode: stat 2011-05-31 12:56:44|11662|23:23|image|utils.pm:run_command(9010)|executed command: /opt/xcat/bin/rpower power01 stat, pid: 11926, exit status: 1, output:
|11662|23:23|image| Error: Invalid nodes and/or groups in noderange: power01
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:44|11662|23:23|image|xCAT.pm:_rpower(1997)|unexpected output returned from rpower: Error: Invalid nodes and/or groups in noderange: power01
|11662|23:23|image| ( 0) xCAT.pm, _rpower (line: 1997)
|11662|23:23|image| (-1) xCAT.pm, power_status (line: 1675)
|11662|23:23|image| (-2) Provisioning.pm, __ANON__ (line: 324)
|11662|23:23|image| (-3) Module.pm, code_loop_timeout (line: 761)
|11662|23:23|image| (-4) Provisioning.pm, wait_for_power_off (line: 324)
|11662|23:23|image| (-5) Linux.pm, pre_capture (line: 183)
2011-05-31 12:56:44|11662|23:23|image|xCAT.pm:power_status(1676)|retrieved power status of power01: 0
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:44|11662|23:23|image|xCAT.pm:power_status(1679)|failed to determine power status, rpower subroutine returned 0
|11662|23:23|image| ( 0) xCAT.pm, power_status (line: 1679)
|11662|23:23|image| (-1) Provisioning.pm, __ANON__ (line: 324)
|11662|23:23|image| (-2) Module.pm, code_loop_timeout (line: 761)
|11662|23:23|image| (-3) Provisioning.pm, wait_for_power_off (line: 324)
|11662|23:23|image| (-4) Linux.pm, pre_capture (line: 183)
|11662|23:23|image| (-5) xCAT2.pm, capture (line: 792)
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:44|11662|23:23|image|vcld:warning_handler(610)|Use of uninitialized value in pattern match (m//) at /usr/local/vcl/bin/../lib/VCL/Module/Provisioning.pm line 324.
|11662|23:23|image| ( 0) vcld, warning_handler (line: 610)
|11662|23:23|image| (-1) Provisioning.pm, __ANON__ (line: 324)
|11662|23:23|image| (-2) Module.pm, code_loop_timeout (line: 761)
|11662|23:23|image| (-3) Provisioning.pm, wait_for_power_off (line: 324)
|11662|23:23|image| (-4) Linux.pm, pre_capture (line: 183)
|11662|23:23|image| (-5) xCAT2.pm, capture (line: 792)
2011-05-31 12:56:44|11662|23:23|image|Module.pm:code_loop_timeout(767)|waiting for power01 to power off, code did not return true after waiting 120 seconds
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:44|11662|23:23|image|Provisioning.pm:wait_for_power_off(328)|power01 has not powered off after waiting 120 seconds, returning 0
|11662|23:23|image| ( 0) Provisioning.pm, wait_for_power_off (line: 328)
|11662|23:23|image| (-1) Linux.pm, pre_capture (line: 183)
|11662|23:23|image| (-2) xCAT2.pm, capture (line: 792)
|11662|23:23|image| (-3) image.pm, process (line: 162)
|11662|23:23|image| (-4) vcld, make_new_child (line: 568)
|11662|23:23|image| (-5) vcld, main (line: 346)
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:44|11662|23:23|image|Linux.pm:pre_capture(190)|power01 never powered off
|11662|23:23|image| ( 0) Linux.pm, pre_capture (line: 190)
|11662|23:23|image| (-1) xCAT2.pm, capture (line: 792)
|11662|23:23|image| (-2) image.pm, process (line: 162)
|11662|23:23|image| (-3) vcld, make_new_child (line: 568)
|11662|23:23|image| (-4) vcld, main (line: 346)
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:44|11662|23:23|image|xCAT2.pm:capture(793)|OS module pre_capture() failed
|11662|23:23|image| ( 0) xCAT2.pm, capture (line: 793)
|11662|23:23|image| (-1) image.pm, process (line: 162)
|11662|23:23|image| (-2) vcld, make_new_child (line: 568)
|11662|23:23|image| (-3) vcld, main (line: 346)
|11662|23:23|image| ---- WARNING ----
|11662|23:23|image| 2011-05-31 12:56:44|11662|23:23|image|image.pm:process(166)|rh5image-power01bi053127-v0 image failed to be captured by provisioning module
|11662|23:23|image| ( 0) image.pm, process (line: 166)
|11662|23:23|image| (-1) vcld, make_new_child (line: 568)
|11662|23:23|image| (-2) vcld, main (line: 346)
2011-05-31 12:56:44|11662|23:23|image|DataStructure.pm:get_computer_private_ip_address(1557)|returning private IP address previously retrieved: 172.20.106.1 2011-05-31 12:56:44|11662|23:23|image|utils.pm:is_inblockrequest(6163)|zero rows were returned from database select 2011-05-31 12:56:44|11662|23:23|image|DataStructure.pm:get_image_affiliation_name(2035)|image owner id: 1 2011-05-31 12:56:44|11662|23:23|image|utils.pm:getnewdbh(2709)|database requested (information_schema) does not match handle stored in $ENV{dbh} (vcl:) 2011-05-31 12:56:44|11662|23:23|image|utils.pm:getnewdbh(2760)|database handle stored in $ENV{dbh} 2011-05-31 12:56:44|11662|23:23|image|DataStructure.pm:retrieve_user_data(1352)|attempting to retrieve and store data for user: user.id = '1' 2011-05-31 12:56:44|11662|23:23|image|utils.pm:getnewdbh(2709)|database requested (vcl) does not match handle stored in $ENV{dbh} (information_schema:) 2011-05-31 12:56:44|11662|23:23|image|utils.pm:getnewdbh(2760)|database handle stored in $ENV{dbh} 2011-05-31 12:56:44|11662|23:23|image|DataStructure.pm:retrieve_user_data(1415)|data has been retrieved for user: admin (id: 1)


On 5/19/11 3:48 PM, Josh Thompson wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sunil,

Let's back up a little bit.  The first thing to look at is why the image
failed.  Unless you created your own stateless image for capturing and
provisioning images, then xCAT will be unable to capture an image from a Power
blade.

Did you use the steps here:

https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
ng+to+xCAT+2.x+%28unofficial%29

for modifying xCAT to be able to capture/deploy images?  If so, the stateless
images linked to off of that page are for x86 hardware.  You will need to
create your own stateless or statelite images for Power blades.

Josh

On Thursday May 19, 2011, Sunil Venkatesh wrote:
Hi,

We are currently in the process of configuring VCL 2.2.1 to work on a
Power 7 blade. Our current setup is:

1. A web-server that hosts the Database and the Web Code. The same
server acts as the Management node. xCAT is configured as the
provisioning module on this node.
2. Power7 is our compute node.
3. I used the command "vcld --setup" command to create/capture base
image of RHEL 5 that is running on the Power7 blade (by specifying the
IP address of Power7 blade when prompted for an address).

The creation process failed as Xianqing Yu had mentioned to us earlier.
Although, before it failed it created appropriate entries in the tables
image, imagerevision and resource. I was able to "Undelete" the image
from the web page and see it under "New Reservations".

I am facing similar problems that Mike Waldron had faced with the
reservation. Even after making memory adjustment, I wasn't able to make
a reservation. The time table shows all green (available), however, when
I choose any entry from the list, it takes me directly to "New
Reservation" page without any status/feedback. And, I don't see any
reservations created when I check under "Current Reservations". I am
just assuming the groupings of Images and Computers are correct, is
there anyway I could verify the same. Also, if there is any reference to
how the grouping need to be done, please let me know of the same.

Please do correct me if there is anything wrong with the system setup.

Regards,
Sunil Venkatesh
Research Assistant,
MC2 Lab, UMBC.
- -- - -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk3VdBQACgkQV/LQcNdtPQP5VQCfVoX4ykJSCpMHHJTocpwTHsVs
teEAn2NCYnBXDq/gzjcwj2FNn9kdJsPC
=COKC
-----END PGP SIGNATURE-----

Reply via email to