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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                mrunalinik mrunalini
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: