Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenStack] Meet NeutronError when creating a SecurityGroup with spctl #643

Closed
powerkimhub opened this issue May 13, 2022 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@powerkimhub
Copy link
Member

powerkimhub commented May 13, 2022

  • ETRI OpenStack 환경에서 SG 검증 시험 중 spctl 통한 SG 생성시 오류 발생

    ubuntu@powerkim-PC:3.create-add-list-get-info-test# ./01.inbound-create-add.sh openstack-etri
    #############################################
    # TEST: ./01.inbound-create-add.sh
    #############################################
    ============== before create SecurityGroup: 'SG-Rules-Test-SG01'
    message: rpc error: code = Internal desc =  error while calling CCMService.CreateSecurity() method: Bad request with: [POST http://1.2.3.4:9696/v2.0/security-group-rules], error message: {"NeutronError": {"type": "SecurityGroupProtocolRequiredWithPorts", "message": "Must also specify protocol if port range is given.", "detail": ""}}
    
  • AdminWeb 이용한 SG 생성은 성공

  • Go(gRPC) API Runtime 오류로 추정됨

  • OpenStack 버전 또는 SDK 버전 문제 등 추가 분석 필요

@inno-cloudbarista

  • 혹시, 사내 오픈스택에서는 오류 발생하지 않으셨는지요?
@powerkimhub powerkimhub added the bug Something isn't working label May 13, 2022
@powerkimhub powerkimhub self-assigned this May 13, 2022
@inno-cloudbarista
Copy link
Contributor

@powerkimhub
사내 Openstack으로 테스트 해본 결과 ./01.inbound-create-add.sh openstack-inno 실행 시 오류 발생은 없었습니다.

AdminWeb 생성도 성공했습니다.

코드상의 문제라면, Protocol이 all 일 경우의 문제가 생기는 상황인거 같습니다.
위 내용은 해당 팜에서 테스트 해봐야 알 수 있을거 같습니다.

@powerkimhub
Copy link
Member Author

@inno-cloudbarista

  • 넵, 의견 공유 감사합니다.

@powerkimhub
Copy link
Member Author

  • Go API is no longer supported.
  • Additionally, this issue has been inactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants