Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10090

createPortForwardingRule api call accepts 'halt' as Protocol which Stops VR

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      When we run the createPortForwardingRule API with input as Protocol as halt the PF rule is added however Halt is executed on VR. Hence the VR is stopped.

      Following entry added to Firewall_Rules table and VirtualRouter went to halt(stopped)
      mysql> select * from firewall_rules where id = 7

                                                          • 1. row ***************************
                                                            id: 7
                                                            uuid: XXXXXXXXXXXXXXXXXXXXXXXXXXX
                                                            ip_address_id: 13
                                                            start_port: 222
                                                            end_port: 222
                                                            state: Revoke
                                                            protocol: `halt`
                                                            purpose: PortForwarding
                                                            account_id: 2
                                                            domain_id: 1
                                                            network_id: 208
                                                            xid: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                                                            created: 2017-09-04 04:48:16
                                                            icmp_code: NULL
                                                            icmp_type: NULL
                                                            related: NULL
                                                            type: User
                                                            vpc_id: NULL
                                                            traffic_type: NULL
                                                            display: 1

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mrunalinik mrunalini

              Dates

                Created:
                Updated:

                Slack

                  Issue deployment