contiv / netplugin

Container networking for various use cases
Apache License 2.0
515 stars 178 forks source link

App-Profile Err:500 Internal Server error when using ACI External Contracts #935

Open dirkwoellhaf opened 7 years ago

dirkwoellhaf commented 7 years ago

BUG REPORT INFORMATION

Description

Getting Err: 500 INTERNAL SERVER ERROR as soon as Application-Group is linked to an ACI External Contract. Application-Profile and Application-Group no longer available in the GUI and NETCTL. Unable to delete it, too.

Expected Behavior

Referencing to external Contracts and to be used in the new App Profile

Observed Behavior

Getting Err: 500 INTERNAL SERVER ERROR as soon as Application-Group is linked to an ACI External Contract. Application-Profile and Application-Group no longer available in the GUI and NETCTL. Unable to delete it, too. Docker Networks are being created still

Steps to Reproduce (for bugs)

  1. Contiv 1.1 in ACI Mode
  2. Add ACI external contracts
  3. Add Contracts to Application-Group
  4. Create Application-Profile with the new Application-Group

Your Environment

Server Version: Version: 1.1.0 GitCommit: 1871c0c BuildTime: 07-14-2017.17-10-35.UTC

Server: Version: swarm/1.2.5 API version: 1.22 (minimum version ) Go version: go1.5.4 Git commit: 27968ed Built: Thu Aug 18 23:10:29 UTC 2016 OS/Arch: linux/amd64 Experimental: false

*ACI: 2.2(2k)

gaurav-dalvi commented 7 years ago

Can you try normal contracts (pushing policies from contiv) ? (dont do external contract) and let me know if its still work. I hope you have used contiv installer to bring up swarm + contiv cluster. (contiv/install repo)

dseevr commented 7 years ago

Could you retrieve the log from netmaster at the time of the failed request/operation attempt?

dirkwoellhaf commented 7 years ago

@gaurav-dalvi - Normal Contracts work just fine

@dseevr - which logs to collected? Where are thery stored?

dseevr commented 7 years ago

Logs are under /var/contiv/log/

gaurav-dalvi commented 7 years ago

@dirkwoellhaf : we have tested external contracts with latest contiv and aci-gw 2.2.2j version. It seems working fine for us. Could you please share you set of netctl commands ?

you can join contiv slack here and then ask questions there. To join contiv slack please register with your email : https://contiv.herokuapp.com/