Negative cases with duplicates hostname fails with RequestUriTooLong

Bug #1610978 reported by Ksenia Svechnikova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Kalashnik

Bug Description

Swarm fail on:

https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.custom_hostname/20/testReport/(root)/set_duplicate_hostname/

http://paste.openstack.org/show/552021/

Steps:

  Scenario:
            1. Revert the snapshot
            2. Set a custom hostname for the node
            3. Verify that new hostnames are validated to avoid duplicates

Issue isn't reproduced with fuel CLI

Revision history for this message
Ksenia Svechnikova (kdemina) wrote :
Changed in fuel:
milestone: none → 9.1
description: updated
description: updated
summary: - Negative cases with hostname fails with RequestUriTooLong
+ Negative cases with duplicates hostname fails with RequestUriTooLong
Revision history for this message
Dmitriy Kruglov (dkruglov) wrote :

BadRequest issue is (allegedly) fixed by this commit https://github.com/openstack/fuel-qa/commit/af71a8bf8359e9c96b3fc7c118943061f71c26d5.
Though 'too long URI' issue is not supposed to be fixed by this patch; looks like the error was from the very beginning (we should pass only node ID parameter to the method that is expected to fail, not the whole node dict) and was hidden so far.

Revision history for this message
Ksenia Svechnikova (kdemina) wrote :
summary: - Negative cases with duplicates hostname fails with RequestUriTooLong
+ Negative cases with format validation hostname fails with
+ RequestUriTooLong
summary: - Negative cases with format validation hostname fails with
- RequestUriTooLong
+ Negative cases with duplicates hostname fails with RequestUriTooLong
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

Changed in fuel:
assignee: Fuel QA telco (fuel-qa-telco) → Dmitry Kalashnik (dkalashnik)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/353389
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=f63a1ac4f0b894e7a5ceaf45e2a5ec770f47b32a
Submitter: Jenkins
Branch: master

commit f63a1ac4f0b894e7a5ceaf45e2a5ec770f47b32a
Author: Dmitry Kalashnik <email address hidden>
Date: Wed Aug 10 14:17:24 2016 +0300

    Fix wrong setting of custom hostname by whole node struct

    Use another node to validate duplacate hostname case

    Change-Id: I755ca0e1c404b0adc35282d4d69639a7ba80db92
    Closes-bug: #1610978

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/354160

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

Reviewed: https://review.openstack.org/354160
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=6669d4625fff232071c1fbcb5f6f7e42fcceb1fd
Submitter: Jenkins
Branch: stable/mitaka

commit 6669d4625fff232071c1fbcb5f6f7e42fcceb1fd
Author: Dmitry Kalashnik <email address hidden>
Date: Wed Aug 10 14:17:24 2016 +0300

    Fix wrong setting of custom hostname by whole node struct

    Use another node to validate duplacate hostname case

    Change-Id: I755ca0e1c404b0adc35282d4d69639a7ba80db92
    Closes-bug: #1610978
    (cherry picked from commit f63a1ac4f0b894e7a5ceaf45e2a5ec770f47b32a)

tags: added: in-stable-mitaka
tags: added: on-verification
Revision history for this message
Dmitry Kalashnik (dkalashnik) wrote :

Verified on snapshot #136

Revision history for this message
Tatyana Kuterina (tkuterina) wrote :

Verified on 9.1 snapshot #136

Changed in fuel:
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.