Thursday, May 7, 2009

After installation trying to run

1. magg$ rm -rf ~/.globus

magg@gobo:~/nimbus/autocontainer$ ./bin/setup-container.sh

The result:
===

To create more users with this certificate authority, run this in the future:

$ /home/magg/nimbus/autocontainer/bin/create-new-cert.sh /home/magg/.globus/auto-container-01/ca

Or like so to automatically authorize the newly generated credential:

$ /home/magg/nimbus/autocontainer/bin/create-new-cert.sh /home/magg/.globus/auto-container-01/ca /home/magg/.globus/auto-container-01/grid-mapfile
===

Congratulations.

In one terminal, run:

$ /home/magg/nimbus/autocontainer/bin/start-container.sh

In another terminal, run:

$ source /home/magg/nimbus/autocontainer/bin/source-me.sh
$ /home/magg/nimbus/autocontainer/gt/ws-core-4.0.8/bin/grid-proxy-init
$ /home/magg/nimbus/autocontainer/bin/test-container.sh

Bye!
magg@gobo:~/nimbus/autocontainer$

2. So in one terminal:

$ /home/magg/nimbus/autocontainer/bin/start-container.sh

3. In another terminal, run:

$ source /home/magg/nimbus/autocontainer/bin/source-me.sh
$ /home/magg/nimbus/autocontainer/gt/ws-core-4.0.8/bin/grid-proxy-init
$ /home/magg/nimbus/autocontainer/bin/test-container.sh

4. Now I try to find the grid-mapfile: grep gridmap /home/magg/nimbus/autocontainer/gt/ws-core-4.0.8/etc/globus_wsrf_core/global_security_descriptor.xml


I got the following error:
magg@gobo:~/nimbus/autocontainer/gt/ws-core-4.0.8$ sh test-create.sh

Workspace Factory Service:
https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService

Read metadata file: "/home/magg/nimbus/autocontainer/gt/ws-core-4.0.8/share/nimbus-clients/sample-workspace.xml"
Created deployment request soley from arguments.

Creating workspace "http://example1/localhost/image"... done.



Workspace created: id 5
eth0
Association: public
IP address: 170.149.151.54
Hostname: wembley.mathcs.emory.edu
Gateway: 170.140.150.254

Start time: Thu May 07 17:30:25 EDT 2009
Duration: 30 minutes.
Shutdown time: Thu May 07 18:00:25 EDT 2009
Termination time: Thu May 07 18:10:25 EDT 2009

Wrote EPR to "test.epr"


Waiting for updates.

"http://example1/localhost/image" state change: Unstaged --> Corrupted
Problem with http://example1/localhost/image: Problem with parameters to workspace driver, incorrectly supplied or validation of request failed
STDERR: 2009-05-07 17:30:26,478 - WARNING - workspace.xen_v2 (3804) - cannot remove dhcp/ebtables rules without create params
2009-05-07 17:30:26,479 - CRITICAL - workspace (509) - Problem validating configuration:

Valid:
------
- conffile parsed: /opt/workspace/worksp.conf
- no value given for conf family
- found pygrub: /usr/bin/pygrub
- no config for xmsudo, assuming sudo is used for xm
- found sudo conf: /usr/bin/sudo
- found xm conf: /usr/sbin/xm
- found xend conf: /usr/sbin/xend
- found dhcpconfig conf: None
- '/opt/workspace/persistence' exists on the filesystem and is rwx-able
- no xm output is available (perhaps assume_xend is true)
- '/opt/workspace/secureimages' exists on the filesystem and is rwx-able
- found scp conf: /usr/bin/scp
- no value given for scp default user
- caller can override default scp user
- '/usr/bin/scp' is executable
- Examining file (partition/HD image): 'file://hello-cloud.img'
- partition/HD is relative path w/ file://
- partition is read-write
- '/opt/workspace/images/hello-cloud.img' exists on the filesystem and is readable
- IMG #1 is valid
- ** found 1 valid partitions/HD images
- main partition/HD image = 'file:///opt/workspace/images/hello-cloud.img'
- found xenmounttype: 'file'
- imagemount = 'sda1'
- found 2 guest kernel(s) configuration(s): ['file:///opt/workspace/images/hello-cloud.img', 'file:///opt/workspace/images/vmlinuz-2.6-xen']
- no value given for allow_guestkernel_override, assuming false
- using kernel authz list
- no kernel specified, attempting to use default
- default: 'file:///opt/workspace/images/hello-cloud.img'
- '/opt/workspace/images/hello-cloud.img' exists on the filesystem and is readable
- asked to look for initrds with suffix '-initrd'
- ramdisk will be sought via matching
- ramdisk setting is absolute path w/ file://
- initrd image being sought via kernel matching algorithm is '/opt/workspace/images/hello-cloud.img-initrd', this does not exist on the filesystem, and so not using any initrd
- '/opt/workspace/mnt' exists on the filesystem and is rwx-able
- '/opt/workspace/tmp' exists on the filesystem and is rwx-able
- no configuration for finding max VM RAM, default is false
- memory requested: 256
- NIC #1: no broadcast given, IP 170.149.151.54 is a class B address, assigning 170.149.255.255
- NIC #1: no subnet mask given, IP 170.149.151.54 is a class B address, assigning 255.255.0.0
- NIC #1: certname not set
- NIC #1: keyname not set
- NIC #1: certpath not set
- NIC #1: keypath not set
- ** found 0 valid NICs

Invalid:
--------
- NIC #1: no bridge assignment?
- NIC #1 is invalid
- failure is triggered, backing out any networking reservations

for help use --help
"http://example1/localhost/image": Corrupted, calling destroy for you.
"http://example1/localhost/image" was terminated.

No comments:

Post a Comment