[UI] naming patterns don't work with generateHostname() function

Bug #1588405 reported by Dmytro Dovbii
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Kirill Zaitsev
Mitaka
Fix Committed
High
Kirill Zaitsev
Newton
Fix Released
High
Kirill Zaitsev

Bug Description

Steps

1. Install murano and murano-dashboard from master
2. Upload app to murano which uses patterns for hostnames (Kubernetes Cluster for example)
3. Create env with this app and deploy it
4. Go to Instances page

*Expected result:*

names of VMs created by murano must contain pre-generated part (kube-1, kube-2... in case of k8s)

*Actual result:*

VMs are named fully randomly

Dmytro Dovbii (ddovbii)
description: updated
Changed in murano:
status: New → Confirmed
milestone: none → newton-2
importance: Undecided → Low
Dmytro Dovbii (ddovbii)
Changed in murano:
assignee: nobody → Dmytro Dovbii (ddovbii)
Changed in murano:
importance: Low → Medium
Dmytro Dovbii (ddovbii)
Changed in murano:
assignee: Dmytro Dovbii (ddovbii) → nobody
Changed in murano:
assignee: nobody → Kirill Zaitsev (kzaitsev)
status: Confirmed → In Progress
Changed in murano:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/343610
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=61f958701720001126df822ddc18dc8e6c163e3d
Submitter: Jenkins
Branch: master

commit 61f958701720001126df822ddc18dc8e6c163e3d
Author: Kirill Zaitsev <email address hidden>
Date: Mon Jul 18 15:16:32 2016 +0300

    Make generateHostname honor pattern parameter

    This patch restores behaviour broken by
    I369f79c4258367974eb676cecb6eb1c941803503
    The function now returns the pattern if supplied.

    Change-Id: I6349555361ab9b12cf2cbd54d130c1979185dd18
    Closes-Bug: #1588405

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

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

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

Reviewed: https://review.openstack.org/343753
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=93f350044b91baded95920a90dcc971e5cbc5f5b
Submitter: Jenkins
Branch: stable/mitaka

commit 93f350044b91baded95920a90dcc971e5cbc5f5b
Author: Kirill Zaitsev <email address hidden>
Date: Mon Jul 18 15:16:32 2016 +0300

    Make generateHostname honor pattern parameter

    This patch restores behaviour broken by
    I369f79c4258367974eb676cecb6eb1c941803503
    The function now returns the pattern if supplied.

    Change-Id: I6349555361ab9b12cf2cbd54d130c1979185dd18
    Closes-Bug: #1588405
    (cherry picked from commit 61f958701720001126df822ddc18dc8e6c163e3d)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 2.0.2

This issue was fixed in the openstack/murano-dashboard 2.0.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 3.0.0.0b3

This issue was fixed in the openstack/murano-dashboard 3.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 2.0.2

This issue was fixed in the openstack/murano-dashboard 2.0.2 release.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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