Re: Graphs are not showing up in Internet Explorer for VCL 2.2.1

2011-03-31 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gerhard,

Both of these issues are ones I found on our production site but never 
remembered to check in to our code repo.  I just checked in the fix and will 
be cutting a new RC shortly and starting the vote process all over again...

The fix is to change line 130 in dashboard.php from

$txt .=  style=\width: 300px; height: 300px;\\n;

to

$txt .=  style=\width: 300px; height: 300px; text-align: left;\\n;

Thanks for the report,
Josh

On Wednesday March 30, 2011, Hartl, Gerhard L. wrote:
 Just a note since I figure this is somewhat related, but while the graphs
 do show properly in IE now,  the  Past 12 Hours of Active Reservations
 graph on the dashboard does not show within the right column table for IE
 only.  It displays outside of it instead and it gets cut in half.  Looks
 fine in Firefox.  I tried to figure out where the bug is but couldn't find
 anything obvious.
 
 
 - Gerhard
 Old Dominion University
 
 -Original Message-
 From: Josh Thompson [mailto:josh_thomp...@ncsu.edu]
 Sent: Wednesday, March 30, 2011 12:51 PM
 To: vcl-user@incubator.apache.org
 Subject: Re: Graphs are not showing up in Internet Explorer for VCL 2.2.1
 
 Gerhard,
 
 There's a small bug in js/statistics.js.  You need to modify
 generateColGraphsCB and generateHourGraphsCB.  Look for graph.addAxis and
 remove the ',' after the last element in each array.  I.e. the following
 two lines
 
 minorTickStep: majortick / 2,
 and
 minorTickStep: majortick / 5,
 
 become
 
 minorTickStep: majortick / 2
 and
 minorTickStep: majortick / 5
 
 IE doesn't like commas after the last element in an array, but Firefox is
 okay with it.
 
 I'm hoping we don't have to go through a full cycle of cutting another RC
 and doing two rounds of votes to fix the bug in the release, but I emailed
 the vcl-dev list asking our mentors what to do.
 
 Josh
 
 On Thursday March 24, 2011, Hartl, Gerhard L. wrote:
  I've installed the unreleased 2.2.1 VCL and only had one issue.  I've
  noticed that the graphs do not show up in Internet Explorer but they
  show up fine in Firefox.  Any ideas why?  Here are the browser errors
  I receive when displaying Statistics.
  
  
  Webpage error details
  
  User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
  Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
  3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)
  Timestamp: Thu, 24 Mar 2011 20:53:09 UTC
  
  
  Message: Expected identifier, string or number
  Line: 107
  Char: 2
  Code: 0
  URI: https://streep.vcls.priv.odu.edu/vcl/js/statistics.js
  
  
  Message: Object expected
  Line: 25
  Char: 4
  Code: 0
  URI: https://streep.vcls.priv.odu.edu/vcl/index.php
  
  
  - Gerhard Hartl
  Old Dominion University
- -- 
- ---
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.16 (GNU/Linux)

iEYEARECAAYFAk2Uj5kACgkQV/LQcNdtPQPepQCdEhkjjBqO5HRu8Qq6Az1EG1EL
kOgAn35ifOh81O/1LbJPVogFIw1rv/ql
=maO+
-END PGP SIGNATURE-


Re: Welcome to the VCL page does not appear...

2011-03-31 Thread Frento Burton
Yea, the /var/log/audit/audit.log command gave me a permission denied error.
So would SELinux prevent me from checking logs even though it is disabled?


unnecessary reload

2011-03-31 Thread James Patrick Sigmon
Hey Guys,

My reservations will always reload at the beginning of the reservation 
processes even if the vmguest is currently loaded with the desired image.  
Looking at the output from the vcld.log, it appears that the issue is with a 
file it can't find called currentimage.txt.  Any ideas on how to fix this?

Thanks,

Patrick Sigmon

|20552|417:417|new|  WARNING  
|20552|417:417|new| 2011-03-31 
12:42:40|20552|417:417|new|OS.pm:get_currentimage_txt_contents(161)|failed to 
retrieve currentimage.txt from vmguest-10, exit status: 1, output:
|20552|417:417|new| cat: /home/root/currentimage.txt: No such file or directory
|20552|417:417|new| ( 0) OS.pm, get_currentimage_txt_contents (line: 161)
|20552|417:417|new| (-1) OS.pm, get_current_image_name (line: 197)
|20552|417:417|new| (-2) VMware.pm, node_status (line: 941)
|20552|417:417|new| (-3) new.pm, reload_image (line: 533)
|20552|417:417|new| (-4) new.pm, process (line: 282)
|20552|417:417|new| (-5) vcld, make_new_child (line: 568)


|20552|417:417|new|  WARNING  
|20552|417:417|new| 2011-03-31 
12:42:40|20552|417:417|new|OS.pm:get_current_image_name(201)|failed to retrieve 
currentimage.txt contents from vmguest-10
|20552|417:417|new| ( 0) OS.pm, get_current_image_name (line: 201)
|20552|417:417|new| (-1) VMware.pm, node_status (line: 941)
|20552|417:417|new| (-2) new.pm, reload_image (line: 533)
|20552|417:417|new| (-3) new.pm, process (line: 282)
|20552|417:417|new| (-4) vcld, make_new_child (line: 568)
|20552|417:417|new| (-5) vcld, main (line: 346)

2011-03-31 12:42:40|20552|417:417|new|VMware.pm:node_status(945)|unable to 
retrieve image name from currentimage.txt on VM vmguest-10, returning 'RELOAD'
2011-03-31 12:42:40|20552|417:417|new|new.pm:reload_image(544)|node_status 
returned a hash reference
2011-03-31 12:42:40|20552|417:417|new|new.pm:reload_image(549)|node_status hash 
reference contains key {status}=RELOAD
2011-03-31 12:42:40|20552|417:417|new|new.pm:reload_image(624)|node status is 
RELOAD, vmguest-10 will be reloaded



Re: VCL2.2 + xCAT2.5 on bladecenter

2011-03-31 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John,

Sorry to take so long to get back to you.

I didn't even realize this until digging through xcatdsklspost, but your 
management node needs to be sharing out /install via ftp.  I'm assuming xcat 
sets this up because I don't remember setting that up manually.  The following 
line is from xcatdsklspost:

wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 
ftp://$SIP/postscripts 2 /tmp/wget.log

$SIP is obtained earlier in the script from some dhcp information.

The next line is where your screenshot shows the first error:

mv $SIP/postscripts/* /xcatpost;

The wget command should try forever until it downloads everything under 
ftp://$SIP/postscripts.  The fact that you are getting past wget, but the move 
is failing for $SIP/postscripts/* makes me think you don't have anything under 
ftp://$SIP/postscripts.  Can you try using a normal ftp client to browse 
ftp://172.20.101.140/postscripts?  It may be that the ftp server is sharing 
out the wrong directory.

Josh

On Friday March 25, 2011, John Ma wrote:
 Josh,
 
 I made some progress, but stuck again. This time at the reboot of the
 machine being captured. The machine apparently cannot find postscripts.
 Any idea about how to fix it or what to try next?
 
 I placed partimageng in /install/postscripts on our VCL (web, db, and mgt
 code) server - Blade14 (172.20.101.140). The machine being captured is
 blade08 (172.20.101.80).
 
 Here is the screenshot:
 
 Here is the pxe boot config file:
 [root@blade14 ~]# cat /tftpboot/pxelinux.cfg/blade08
 #image image-x86-centos5image-blade08mar2466-v0
 DEFAULT xCAT
 LABEL xCAT
  KERNEL xcat/image/x86/vmlinuz
  APPEND initrd=xcat/image/x86/initrd.img
 imgurl=http://blade14//install/image/x86/installer_files/rootimg.gz
 image=/install/image/x86/centos5image-blade08mar2466-v0.img blocks=512
 action=save installnic=eth0 reboot  noipv6
   IPAPPEND 2
 [root@blade14 ~]#
 
 Thanks,
 John Ma
 Marist College
 
 
 
 
 From:   Josh Thompson josh_thomp...@ncsu.edu
 To: vcl-user@incubator.apache.org
 Date:   03/22/2011 12:15 PM
 Subject:Re: VCL2.2 + xCAT2.5 on bladecenter
 
 
 
- -- 
- ---
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.16 (GNU/Linux)

iEYEARECAAYFAk2U1e0ACgkQV/LQcNdtPQOKWACeMKxRbAc6eQlzg5AsGA7Y0i1F
4YIAn1mwoaOfelY2vsFhTXr9Yw2NpOEf
=sW7U
-END PGP SIGNATURE-


Re: VCL2.2 + xCAT2.5 on bladecenter

2011-03-31 Thread John Ma
Josh,

Thanks again for the help. I configured an anonymous ftp share of 
/install, and it passed the previous error. Now I am at here:
  Mar 30 21:06:53 blade08 blade08 xcat: running partimage -z1 -f3 -odbc 
save /dev/sda1 /install/image/x86/centos5image-blade08mar2466-v0.gz
  Mar 30 21:06:58 blade08 blade08 xcat: partimage exited with a non-zero 
status, failing
  Mar 30 21:06:58 blade08 blade08 xcat: partimage-ng failed with exit code 
1
  Mar 30 21:06:58 blade08 blade08 init: rc3 main process (1166) killed by 
TERM signal

Blade08 then rebooted itself and loop again. partimage's save location 
/install/image/x86/.. doesn't seem right to me, but how to configure it to 
use nfs?
See the attached log file for more details, ( the clock on blade08 is off 
or maybe UTC)


Thanks,
John






From:   Josh Thompson josh_thomp...@ncsu.edu
To: vcl-user@incubator.apache.org
Date:   03/31/2011 03:29 PM
Subject:Re: VCL2.2 + xCAT2.5 on bladecenter



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John,

Sorry to take so long to get back to you.

I didn't even realize this until digging through xcatdsklspost, but your 
management node needs to be sharing out /install via ftp.  I'm assuming 
xcat 
sets this up because I don't remember setting that up manually.  The 
following 
line is from xcatdsklspost:

wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 
60 
ftp://$SIP/postscripts 2 /tmp/wget.log

$SIP is obtained earlier in the script from some dhcp information.

The next line is where your screenshot shows the first error:

mv $SIP/postscripts/* /xcatpost;

The wget command should try forever until it downloads everything under 
ftp://$SIP/postscripts.  The fact that you are getting past wget, but the 
move 
is failing for $SIP/postscripts/* makes me think you don't have anything 
under 
ftp://$SIP/postscripts.  Can you try using a normal ftp client to browse 
ftp://172.20.101.140/postscripts?  It may be that the ftp server is 
sharing 
out the wrong directory.

Josh

On Friday March 25, 2011, John Ma wrote:
 Josh,
 
 I made some progress, but stuck again. This time at the reboot of the
 machine being captured. The machine apparently cannot find postscripts.
 Any idea about how to fix it or what to try next?
 
 I placed partimageng in /install/postscripts on our VCL (web, db, and 
mgt
 code) server - Blade14 (172.20.101.140). The machine being captured is
 blade08 (172.20.101.80).
 
 Here is the screenshot:
 
 Here is the pxe boot config file:
 [root@blade14 ~]# cat /tftpboot/pxelinux.cfg/blade08
 #image image-x86-centos5image-blade08mar2466-v0
 DEFAULT xCAT
 LABEL xCAT
  KERNEL xcat/image/x86/vmlinuz
  APPEND initrd=xcat/image/x86/initrd.img
 imgurl=http://blade14//install/image/x86/installer_files/rootimg.gz
 image=/install/image/x86/centos5image-blade08mar2466-v0.img blocks=512
 action=save installnic=eth0 reboot  noipv6
   IPAPPEND 2
 [root@blade14 ~]#
 
 Thanks,
 John Ma
 Marist College
 
 
 
 
 From:   Josh Thompson josh_thomp...@ncsu.edu
 To: vcl-user@incubator.apache.org
 Date:   03/22/2011 12:15 PM
 Subject:Re: VCL2.2 + xCAT2.5 on bladecenter
 
 
 
- -- 
- ---
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.16 (GNU/Linux)

iEYEARECAAYFAk2U1e0ACgkQV/LQcNdtPQOKWACeMKxRbAc6eQlzg5AsGA7Y0i1F
4YIAn1mwoaOfelY2vsFhTXr9Yw2NpOEf
=sW7U
-END PGP SIGNATURE-



message
Description: Binary data