Software Defined Networking
1827852 Members
1674 Online
109969 Solutions
New Discussion

Re: 3800 Switch issues

 
kobisamoray
Occasional Advisor

3800 Switch issues

Hi,

Writing an app which uses REST API, which HP controller, and a 3800 switch with SW KA.15.14.0003.

My OpenFlow instance uses OpenFlow 1.3.

I'm facing the following issue:
I pipeline traffic from table 100 to table 200, which work well, with the following flow spec:

I pipeline traffic with a different criteria from table 100 to table 201. HTTP transaction completes successfully, but the flow is not created.

 

Alternatively, I tried to use metadata to distinguish traffic on a single table (200) - in that case flow creation fails with the following error:
"error":"java.lang.IllegalArgumentException","message":"Unsupported set-field: METADATA"

 

Any advice?

7 REPLIES 7
sdnindia
Trusted Contributor

Re: 3800 Switch issues

Hi kobisamoray,

 

What is the controller version you are using?

 

If you  are using version 2.0 then you can check supported flow_instruction at  https://Controller_IP:PORT/sdn/v2.0/models 

For version 2.0 it shows as below

 

"write_metadata": {

  • "description": "Setup the metadata field for use later in pipeline",
  • "$ref": "#/hex"

}

 

If you are using older version of controller , you can upgrade the same.

 

Thanks,

HP SDN Team

kobisamoray
Occasional Advisor

Re: 3800 Switch issues

Hi,

I've upgraded to 2.0.

Will check now.

Thanks.

kobisamoray
Occasional Advisor

Re: 3800 Switch issues

Hi,
I upgraded the controller as advised.
I face a new issue now:
After I've added a few flows via REST, I try to retrieve them.
Trying to access flows via REST, HTTP transaction fails with the following error:
"error":"java.lang.IllegalStateException","message":"Timed-out waiting for response"

Tracing the OpenFlow session between the switch and the controller with Wireshark, I see that the switch reply to flow stats request is immediate.

Anything that I should look for?
sdnindia
Trusted Contributor

Re: 3800 Switch issues

Hello  kobisamoray,

 Is the problem intermittent ?
Could you please share the exact JSON that you used for adding the flow?


Thanks,
HP SDN Team

kobisamoray
Occasional Advisor

Re: 3800 Switch issues

Hi,

See my flow specifications in the attched flows_json.txt file.

 

In addition, I've seen the following error in /var/log/sdn/virgo/logs/virgo-server/log.log:

 

[2014-03-20 15:24:47.133] WARN of-io-37-thread-4 hp.of.msglib DE0005I Parse FAILED: hdr=[V_1_3,MULTIPART_REPLY,1440,215], bytes=[041305a0000000d70001000000000000004000000000014532e7018000000000000000000000000000000000000000000000000000000000000000000000000000010004000000000001000864000000006064000000001a0da643407ffc000000000000000000000000000010010007000000000000000000000000000000000001001280000a020800800018046400000d000000000000000400180000000000000010000000020000000000000000006064000000001b025317c07ffc000000000000000000000000000010010003000000000000000000000000000000000001001280000a020800800018046400000e00000000000000040018000000000000001000000003000000000000000000406400000001452671eb40000000000000000100000000000000000000000000000000000000670000000000000000000100040000000000010008c8000000006064000000001a199205407ffd000000000000000000000000000010010006000000000000000000000000000000000001001780000a020800800018046400000d800014011100000400180000000000000010000000020000000000000000006064000000001b26ebfd407ffd000000000000000000000000000010010000000000000000000000000000000000000001001780000a020800800018046400000e800014010100000400180000000000000010000000030000000000000000006064000000001a31b5d4807ffd000000000000000000000000000010010004000000000000000000000000000000000001001780000a020800800018046400000d800014010100000400180000000000000010000000020000000000000000006064000000001a256e85007ffd0000000000000000000000000000100100050000000000007dbf00000000000000000001001780000a020800800018046400000d800014010600000400180000000000000010000000020000000000000000006064000000001b0e7be2c07ffd000000000000000000000000000010010002000000000000000000000000000000000001001780000a020800800018046400000e800014011100000400180000000000000010000000030000000000000000006064000000001b1ab3f0007ffd0000000000000000000000000000100100010000000000000edf00000000000000000001001780000a020800800018046400000e80001401060000040018000000000000001000000003000000000000000000706400000000533b4e7ec0752f003c0000000100000000000000000000232800000000000025e0000000000000000000010026800000040000000380000606005056a33f0c80000806005056a33eff80000a020800000000040018000000000000001000000001000000000000000000706400000000540b162280752f003c00000001000000000000000000002328000000000001402b000000000000000000010026800000040000000180000606005056a33efd80000806005056a33f0c80000a0208000000000400180000000000000010000000020000000000000000007064000000005323f10cc0752f003c00000001000000000000000000002328000000000000245a000000000000000000010026800000040000000180000606005056a33eff80000806005056a33f0c80000a020800000000040018000000000000001000000003000000000000000000706400000000533b20b800752f003c00000001000000000000000000002328000000000001bc22000000000000000000010026800000040000000280000606005056a33f0c80000806005056a33efd80000a02080000000004001800000000000000100000000100000000000000000050c800000001451a86294000000000000000010000000000000000000000000000000000000067000000000000191f0001000400000000000400000000000000000010fffffffdffe5000000000000]
[2014-03-20 15:24:47.133] WARN of-io-37-thread-4 hp.of.msglib DE0005I Parse terminated before end. Start=0, Target=1440, Read=1426, Remaining=14

 

kobisamoray
Occasional Advisor

Re: 3800 Switch issues

Some additional files:

log.txt: containing  /var/log/sdn/virgo/logs/virgo-server/log.log  output in a more readable manner

 

switch_output.log: The flow output on the HP 3800 switch

 

I tried to post a Wireshark capture with the OpenFlow exchange, between the switch and the controller, but I can't upload into the message board.

 

LMK if more info is required.

SudhaHP
Occasional Advisor

Re: 3800 Switch issues

Hello Kobisamoray,

 

Aplogoies for any delay in the reponse.

The issue you mentioned was a known issue that was affecting HP VAN SDN Controller Release 2.0 operations .This has been fixed with our new Firmware  release K/KA/WB.15.15.0006. (For 3800, the KA version must be used). The Web released software can be accessed from this link www.hp.com/networking/support

Enter a product # or description – e.g 5406” check the box for the 5406

Click on “display selected”

Click on the link “software downloads”->It will take you to: 

https://h10145.www1.hp.com/downloads/SoftwareReleases.aspx?ProductNumber=J9642A

 

                       

 Image 001.png

 

                       

 

Sign in with a passport account to dowload the software( specifically that mentions "Early Avaialbility")  

EA –  Early Availability – should be evaluated prior to moving it to a production environment

GA – General Availability – considered production ready. 

 

Please download the firmware and keep us posted on the status.

Thanks

Sudha.