We can specify port more then 65535 in Syslog port

Bug #1418660 reported by Denis Klepikov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Alexandra Morozova
6.0.x
Fix Committed
Medium
Fuel UI Team
6.1.x
Fix Released
Medium
Alexandra Morozova

Bug Description

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "58"
  build_id: "2014-12-26_14-25-46"
  astute_sha: "16b252d93be6aaa73030b8100cf8c5ca6a970a91"
  fuellib_sha: "fde8ba5e11a1acaf819d402c645c731af450aff0"
  ostf_sha: "a9afb68710d809570460c29d6c3293219d3624d4"
  nailgun_sha: "5f91157daa6798ff522ca9f6d34e7e135f150a90"
  fuelmain_sha: "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8"

We can specify port more then 65535 in Syslog port Settings tab into Fuel UI

Revision history for this message
Denis Klepikov (dklepikov) wrote :
Revision history for this message
Denis Klepikov (dklepikov) wrote :
Changed in fuel:
assignee: nobody → Fuel UI Team (fuel-ui)
Revision history for this message
Alexandra Morozova (astepanchuk) wrote :

please specify what should be the available values in Syslog port

Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Denis Klepikov (dklepikov) wrote :

Transport Layer protocols, such as the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP), specify a source and destination port number in their packet headers. A port number is a 16-bit unsigned integer, thus ranging from 1 to 65535 (for TCP, port number 0 is reserved and can't be used. For UDP the source port is optional and a value of zero means no port)

https://tools.ietf.org/html/rfc6056
http://tools.ietf.org/html/rfc6335

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/154003

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Alexandra Morozova (astepanchuk)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/154003
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=d6e7085f0bd02336263f1832dd0ea3d4c754ac31
Submitter: Jenkins
Branch: master

commit d6e7085f0bd02336263f1832dd0ea3d4c754ac31
Author: Alexandra Morozova <email address hidden>
Date: Mon Feb 9 12:51:49 2015 +0100

    Fix for Syslog validation

     - regex for 0-65535 added in openstack.yaml

    Closes-bug: #1418660
    Change-Id: I03aae9ad778b42a81c39d8123d53743306aaf2dd

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/154018

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/6.0)

Reviewed: https://review.openstack.org/154018
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=4f4b14a4ccbec6e6b071f98dbaa2501ac2d9d6b6
Submitter: Jenkins
Branch: stable/6.0

commit 4f4b14a4ccbec6e6b071f98dbaa2501ac2d9d6b6
Author: Alexandra Morozova <email address hidden>
Date: Mon Feb 9 12:51:49 2015 +0100

    Fix for Syslog validation

     - regex for 0-65535 added in openstack.yaml

    Closes-bug: #1418660
    Change-Id: I03aae9ad778b42a81c39d8123d53743306aaf2dd
    (cherry picked from commit d6e7085f0bd02336263f1832dd0ea3d4c754ac31)

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Reproduced on ISO #109

"build_id": "2015-02-09_22-54-44", "ostf_sha": "6c046b69d29021524906109f18092363505ee222", "build_number": "109", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-02-09_22-54-44", "ostf_sha": "6c046b69d29021524906109f18092363505ee222", "build_number": "109", "api": "1.0", "nailgun_sha": "71cb1dc573103e0faa6f54be687dd9fba57f6c8c", "production": "docker", "python-fuelclient_sha": "521c2491f7f04f31d8c85db68499cd193d4904e3", "astute_sha": "7e6e6f9188bd69c603853b10d4a55149363323cc", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "", "fuellib_sha": "4d04e7bb0472225e7d9f1f782f0525c8dba8cf06"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "71cb1dc573103e0faa6f54be687dd9fba57f6c8c", "production": "docker", "python-fuelclient_sha": "521c2491f7f04f31d8c85db68499cd193d4904e3", "astute_sha": "7e6e6f9188bd69c603853b10d4a55149363323cc", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "", "fuellib_sha": "4d04e7bb0472225e7d9f1f782f0525c8dba8cf06"

There are mistakes for TCP and UDP with port = 0 and port = 1

Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

Let's prohibit usage of 0 port both for TCP and UDP

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/154481

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/154482

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/154481
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=b570929fdab6bd134a7e92e318fa9b4c1b1cb84a
Submitter: Jenkins
Branch: master

commit b570929fdab6bd134a7e92e318fa9b4c1b1cb84a
Author: Alexandra Morozova <email address hidden>
Date: Tue Feb 10 15:02:54 2015 +0100

    Fix for syslog port regex

     - allowing values 1-65535

    Closes-bug: #1418660

    Change-Id: Ib24fe3deed48649f594f6dff083da32a04653f82

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/6.0)

Reviewed: https://review.openstack.org/154482
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=ccfca118720372dc89418870bb706a5edb61fab0
Submitter: Jenkins
Branch: stable/6.0

commit ccfca118720372dc89418870bb706a5edb61fab0
Author: Alexandra Morozova <email address hidden>
Date: Tue Feb 10 15:02:54 2015 +0100

    Fix for syslog port regex

     - allowing values 1-65535

    Closes-bug: #1418660

    Change-Id: Ib24fe3deed48649f594f6dff083da32a04653f82

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #126

"build_id": "2015-02-15_22-54-44", "ostf_sha": "f9c37d0876141e1550eb4e703a8e500cd463282f", "build_number": "126", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-02-15_22-54-44", "ostf_sha": "f9c37d0876141e1550eb4e703a8e500cd463282f", "build_number": "126", "api": "1.0", "nailgun_sha": "1e3a40dd8a17abe1d38f42da1e0dc1a6d4572666", "production": "docker", "python-fuelclient_sha": "61431ed16fc00039a269424bdbaa410277eff609", "astute_sha": "1f87a9b9a47de7498b4061d15a8c7fb9435709d5", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "2054229e275d08898b5d079a6625ffcc79ae23b8", "fuellib_sha": "7f8d4382abfcd4338964182ebfea1d539f963e66"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "1e3a40dd8a17abe1d38f42da1e0dc1a6d4572666", "production": "docker", "python-fuelclient_sha": "61431ed16fc00039a269424bdbaa410277eff609", "astute_sha": "1f87a9b9a47de7498b4061d15a8c7fb9435709d5", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "2054229e275d08898b5d079a6625ffcc79ae23b8", "fuellib_sha": "7f8d4382abfcd4338964182ebfea1d539f963e66"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.