Skip to Content.
Sympa Menu

oess-users - Re: [oess-users] Re: OESS issues

Subject: oess-users

List archive

Re: [oess-users] Re: OESS issues


Chronological Thread 
  • From: Azher Mughal <>
  • To: Andrew Ragusa <>,
  • Subject: Re: [oess-users] Re: OESS issues
  • Date: Thu, 12 Mar 2015 11:47:33 -0700

Hi AJ,

On 3/12/2015 11:37 AM, Andrew Ragusa wrote:
Hi Azher

What version of OESS are you running?

[root@idc-v6 ~]# rpm -qa | grep oess
oess-core-1.1.5-1.el6.noarch
oess-frontend-1.1.5-1.el6.noarch

Also what OS are you running.

This is SL 6.6

We ran into an issue running CentOS that breaks the Ciphers.

There is a patch to fix the ciphers.

add this line to OSCARS/Client.pm line 29
$ENV{CRYPT_SSLEAY_CIPHER} = 'ALL';

add this line to OSCARS/pss.pm line 19
$ENV{CRYPT_SSLEAY_CIPHER} = 'ALL';

Apply that change to both of those perl-libs, that should fix the
cipher problem.  This patch will be released in 1.1.6.

See attached how both perl files are now.

Do I need to restart oess or Oscars  or both ?

It is still showing the same behavior of Vlan in the OESS and unknown in the OSCARS.

[Thu Mar 12 11:43:23 2015] [error] [client 131.215.207.130] link: urn:ogf:network:domain=caltech.edu:node=CER2024:port=eth2/2:link=* at /usr/local/share/perl5/OSCARS/pss.pm line 457.
[Thu Mar 12 11:43:23 2015] [error] [client 131.215.207.130] link: urn:ogf:network:domain=caltech.edu:node=CER2024:port=eth2/3:link=* at /usr/local/share/perl5/OSCARS/pss.pm line 457.
[Thu Mar 12 11:43:23 2015] [error] [client 131.215.207.130] Success! at /usr/local/share/perl5/OSCARS/pss.pm line 110.
[Thu Mar 12 11:43:25 2015] [error] [client 131.215.207.130] fwdctl says: 0 at /usr/local/share/perl5/OSCARS/pss.pm line 121.
[Thu Mar 12 11:43:25 2015] [error] [client 131.215.207.130] Error was: 500 SSL negotiation failed: error:1406D0CB:SSL routines:GET_SERVER_HELLO:peer error no cipher at /usr/local/share/perl5/OSCARS/pss.pm line 140
[Thu Mar 12 11:43:28 2015] [error] [client 131.215.207.239] Use of uninitialized value in hash element at /usr/share/perl5/vendor_perl/OESS/Database.pm line 1163., referer: https://idc-v6.hep.caltech.edu/oess/index.cgi?action="index


-Azher



A.J.


On 3/12/15 2:20 PM, Azher Mughal wrote:
> Hi AJ,

> What could be the SSL error below.

> [Thu Mar 12 11:02:54 2015] [error] [client 131.215.207.130]
> Success! at /usr/local/share/perl5/OSCARS/pss.pm line 108. [Thu Mar
> 12 11:02:55 2015] [error] [client 131.215.207.130] fwdctl says: 0
> at /usr/local/share/perl5/OSCARS/pss.pm line 119. [Thu Mar 12
> 11:02:55 2015] [error] [client 131.215.207.130] Error was: 500 SSL
> negotiation failed: error:1406D0CB:SSL
> routines:GET_SERVER_HELLO:peer error no cipher at
> /usr/local/share/perl5/OSCARS/pss.pm line 138

> OSCARS circuit is in unknown state, why ? . But I see that OESS
> interface has the the Vlan up and also configured that on the
> switch. But perhaps OESS is not communicating back to OSCARS ?

> -Azher



> [Thu Mar 12 11:03:04 2015] [error] [client 131.215.207.239] Use of
> uninitialized value in hash element at
> /usr/share/perl5/vendor_perl/OESS/Database.pm line 1163., referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="index [Thu Mar
> 12 11:03:34 2015] [error] [client 131.215.207.239] Use of
> uninitialized value in hash element at
> /usr/share/perl5/vendor_perl/OESS/Database.pm line 1163., referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="index [Thu Mar
> 12 11:03:42 2015] [error] [client 131.215.207.239] Use of
> uninitialized value in hash element at
> /usr/share/perl5/vendor_perl/OESS/Database.pm line 1163., referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="index [Thu Mar
> 12 11:03:42 2015] [error] [client 131.215.207.239] Use of
> uninitialized value in hash element at
> /usr/share/perl5/vendor_perl/OESS/Database.pm line 1163., referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="index [Thu Mar
> 12 11:03:51 2015] [error] [client 131.215.207.239] Log4perl: Seems
> like no initialization happened. Forgot to call init()?, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239] Use of
> uninitialized value $interface in string eq at
> /usr/share/perl5/vendor_perl/OESS/Measurement.pm line 191.,
> referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
> Selected: $VAR1 = {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'port_no' => 66,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'int' => 'eth2/2',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'tag' => 1791,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'node' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
> Interfaces: $VAR1 = {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'port_no' => 66,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'int' => 'eth2/2',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'tag' => 1791,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'node' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239] $VAR2 =
> {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'port_no' => 67,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'int' => 'eth2/3',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'tag' => 1791,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'node' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239] $VAR1 =
> {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'community' => 'public',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'external_id' => '1',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'host_id' => '1',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'ip_address' => '2211958624',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'description' => 'CER2024',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'dns_name' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239] Looking
> for collection, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239] $VAR1 =
> {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'port_no' => 66,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'int' => 'eth2/2',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'tag' => 1791,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
>  'node' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:51 2015] [error] [client 131.215.207.239] Use of
> uninitialized value in hash element at
> /usr/share/perl5/vendor_perl/OESS/Database.pm line 1163., referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
> Log4perl: Seems like no initialization happened. Forgot to call
> init()?, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239] Use of
> uninitialized value $interface in string eq at
> /usr/share/perl5/vendor_perl/OESS/Measurement.pm line 191.,
> referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
> Selected: $VAR1 = {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'port_no' => 66,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'int' => 'eth2/2',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'tag' => 1791,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'node' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
> Interfaces: $VAR1 = {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'port_no' => 66,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'int' => 'eth2/2',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'tag' => 1791,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'node' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239] $VAR2 =
> {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'port_no' => 67,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'int' => 'eth2/3',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'tag' => 1791,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'node' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239] $VAR1 =
> {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'community' => 'public',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'external_id' => '1',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'host_id' => '1',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'ip_address' => '2211958624',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'description' => 'CER2024',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'dns_name' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239] Looking
> for collection, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239] $VAR1 =
> {, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'port_no' => 66,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'int' => 'eth2/2',, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'tag' => 1791,, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
>  'node' => 'CER2024', referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details
> [Thu Mar 12 11:03:55 2015] [error] [client 131.215.207.239]
> };, referer:
>
https://idc-v6.hep.caltech.edu/oess/index.cgi?action="view_details




> On 3/12/2015 10:35 AM, Andrew Ragusa wrote:
>> Hi Azher
>>
>>
>> On 3/12/15 1:23 PM, Azher Mughal wrote:
>>> Hi AJ, Andy,
>>
>>> When I re-installed the OESS, it used the domain as
>>> "idc-v6.hep.caltech.edu". In the past when I was using the
>>> Dell switch the domain was just "caltech.edu". So the questions
>>> are:
>>
>>> 1. Do I need same domain in the OESS and OSCARS ?
>>
>> Yes.
>>
>>> 2. if yes then how I can change under the OESS ?
>>
>> update network set name = "<your name here>" where network_id =
>> 1;
>>
>>> 3. If same domain is not needed with respect to the Oscars
>>> then how OSCARS will know about the OESS end points which are
>>> under different domain ?
>>
>> Once you are done with the update network, restart OESS then
>> click the submit topology button.  It should fix everything.
>>
>>
>>> Thanks -azher
>>
>>
>> Also please use the OESS users email list for OESS questions,
>> even technical questions.
>>
>>
>> A.J.


>



--
This message has been scanned for viruses and
dangerous content by
MailScanner, and is
believed to be clean.
/usr/local/share/perl5/OSCARS/pss.pm

package OSCARS::pss;

use strict;
use warnings;
use Data::Dumper;
use XML::Writer;
use XML::XPath;
use SOAP::Data::Builder;
use URI::Escape;

use OESS::Database;
use OESS::DBus;

use constant FWDCTL_WAITING => 2;
use constant FWDCTL_SUCCESS => 1;
use constant FWDCTL_FAILURE => 0;
use constant FWDCTL_UNKNOWN => 3;

$ENV{CRYPT_SSLEAY_CIPHER} = 'ALL';

$ENV{HTTPS_DEBUG} = 0;
$ENV{HTTPS_VERSION} = '3';

my $OSCARS_USER = "OSCARS";
my $IDC_WORKGROUP_NAME = "OSCARS IDC";

my $db = new OESS::Database();
my $dbus = OESS::DBus->new( service => "org.nddi.fwdctl", instance =>
"/controller1");
$dbus = $dbus->{'dbus'};
my $LOCAL_DOMAIN = $db->get_local_domain_name();

$ENV{HTTPS_CERT_FILE} = $db->get_oscars_cert();
$ENV{HTTPS_KEY_FILE} = $db->get_oscars_key();


-----------/usr/local/share/perl5/OSCARS/Client.pm------------


#!/usr/bin/perl

eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
##----- OSCARS 0.6 Client module
##-----
##----- $HeadURL:
svn+ssh://svn.grnoc.iu.edu/grnoc/oe-ss/perl-lib/OSCARS/trunk/lib/OSCARS/Client.pm
$
##----- $Id$
##----- $Date$
##----- $LastChangedBy$
##-----
##----- Provides a SOAP api to talk to OSCARS 0.6 instances
##----------------------------------------------------------------------
##
## Copyright 2011 Trustees of Indiana University
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
#

$ENV{CRYPT_SSLEAY_CIPHER} = 'ALL';

package OSCARS::Client;

use strict;



Archive powered by MHonArc 2.6.16.

Top of Page