Fuel nodes fqdn is not matched to real openstack hostnames

Bug #1630531 reported by Georgy Dyuldin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-faults
Fix Released
High
Yaroslav Lobankov

Bug Description

Next example from doc doesn't work

fqdns = neutron.l3_agent_list_hosting_router(router_id)
# fqdns here looks like ['node-1.test.domain.local']
nodes = destructor.get_nodes(fqdns=fqdns)
# here is exception
# NodeCollectionError: Node with FQDN 'node-1.test.domain.local' not found!

But next example works:

fqdns = ['node-1.domain.tld']
nodes = destructor.get_nodes(fqdns=fqdns)

Ilya Shakhat (shakhat)
Changed in os-faults:
importance: Undecided → High
status: New → Triaged
assignee: nobody → Yaroslav Lobankov (ylobankov)
Changed in os-faults:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-faults (master)

Reviewed: https://review.openstack.org/383262
Committed: https://git.openstack.org/cgit/openstack/os-faults/commit/?id=4107f98669b30ce37d750045e748c24d74efe4d3
Submitter: Jenkins
Branch: master

commit 4107f98669b30ce37d750045e748c24d74efe4d3
Author: Yaroslav Lobankov <email address hidden>
Date: Thu Oct 6 21:29:31 2016 +0300

    Fix the issue with getting nodes by FQDNs

    This patch deletes hard-coded FQDN pattern for nodes and fixes the issue.

    Closes-Bug: #1630531

    Change-Id: If6fe899415372aab9fd6b8d03da91ecfee142cde

Changed in os-faults:
status: In Progress → 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.