icmp type error while creating security rule via horizon

Bug #1609680 reported by Valentyn Yakovlev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
MOS Horizon

Bug Description

steps to reproduce:
1: login to horizon
2: add security rule for icmp protocol
3: enter icmp type -1
4: press Add

Expected result:
- Rule will be create

Actual result:
- Error message "The ICMP type is invalid.", but type field has tooltip "Enter a value for ICMP type in the range (-1: 255)".

environment info:

cat /etc/fuel_build_id:
 495
cat /etc/fuel_build_number:
 495
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6349.noarch
 fuel-misc-9.0.0-1.mos8460.noarch
 python-packetary-9.0.0-1.mos140.noarch
 fuel-bootstrap-cli-9.0.0-1.mos285.noarch
 fuel-migrate-9.0.0-1.mos8460.noarch
 rubygem-astute-9.0.0-1.mos750.noarch
 fuel-mirror-9.0.0-1.mos140.noarch
 shotgun-9.0.0-1.mos90.noarch
 fuel-openstack-metadata-9.0.0-1.mos8743.noarch
 fuel-notify-9.0.0-1.mos8460.noarch
 nailgun-mcagents-9.0.0-1.mos750.noarch
 python-fuelclient-9.0.0-1.mos325.noarch
 fuel-9.0.0-1.mos6349.noarch
 fuel-utils-9.0.0-1.mos8460.noarch
 fuel-setup-9.0.0-1.mos6349.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8743.noarch
 fuel-library9.0-9.0.0-1.mos8460.noarch
 network-checker-9.0.0-1.mos74.x86_64
 fuel-agent-9.0.0-1.mos285.noarch
 fuel-ui-9.0.0-1.mos2717.noarch
 fuel-ostf-9.0.0-1.mos936.noarch
 fuelmenu-9.0.0-1.mos274.noarch
 fuel-nailgun-9.0.0-1.mos8743.noarch

Revision history for this message
Valentyn Yakovlev (vyakovlev) wrote :
Changed in mos:
assignee: nobody → Sergei Chipiga (schipiga)
tags: added: area-horizon
description: updated
Changed in mos:
assignee: Sergei Chipiga (schipiga) → MOS Horizon (mos-horizon)
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 9.1
Paul Karikh (pkarikh)
Changed in mos:
milestone: 9.1 → 9.2
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Upstream bug is https://bugs.launchpad.net/horizon/+bug/1511748

The fix is already in stable/mitaka and should come into 9.2 during sync.

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :
Timur Sufiev (tsufiev-x)
Changed in mos:
status: Confirmed → Fix Committed
tags: added: on-verification
Revision history for this message
Ekaterina Shutova (eshutova) wrote :

Custom ICMP rule with type/code -1/-1 is created successfully. In case type == -1 but code != -1 got "ICMP code is provided but ICMP type is missing" message.
Verified on:
[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 495
cat /etc/fuel_build_number:
 495
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6359.noarch
 fuel-bootstrap-cli-9.0.0-1.mos291.noarch
 fuel-nailgun-9.0.0-1.mos8915.noarch
 network-checker-9.0.0-1.mos77.x86_64
 fuel-9.0.0-1.mos6359.noarch
 fuel-ui-9.0.0-1.mos2846.noarch
 shotgun-9.0.0-1.mos90.noarch
 fuel-utils-9.0.0-1.mos8660.noarch
 fuel-misc-9.0.0-1.mos8660.noarch
 fuel-mirror-9.0.0-1.mos158.noarch
 fuel-openstack-metadata-9.0.0-1.mos8915.noarch
 python-fuelclient-9.0.0-1.mos363.noarch
 fuelmenu-9.0.0-1.mos276.noarch
 fuel-library9.0-9.0.0-1.mos8660.noarch
 fuel-notify-9.0.0-1.mos8660.noarch
 fuel-setup-9.0.0-1.mos6359.noarch
 rubygem-astute-9.0.0-1.mos782.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8915.noarch
 fuel-ostf-9.0.0-1.mos947.noarch
 fuel-agent-9.0.0-1.mos291.noarch
 python-packetary-9.0.0-1.mos158.noarch
 nailgun-mcagents-9.0.0-1.mos782.noarch
 fuel-migrate-9.0.0-1.mos8660.noarch

tags: removed: on-verification
Changed in mos:
status: Fix Committed → Fix Released
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.