generateHostname doesn't work under python3

Bug #1604000 reported by Kirill Zaitsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Valerii Kovalchuk

Bug Description

2016-07-18 13:11:09.510001 | random = yaql_functions._generate_hostname('', 3)
2016-07-18 13:11:09.510081 | File "/home/jenkins/workspace/gate-murano-dashboard-python34/muranodashboard/dynamic_ui/yaql_functions.py", line 57, in _generate_hostname
2016-07-18 13:11:09.510181 | prefix = ''.join(random.choice(string.lowercase) for _ in range(5))
2016-07-18 13:11:09.510254 | File "/home/jenkins/workspace/gate-murano-dashboard-python34/muranodashboard/dynamic_ui/yaql_functions.py", line 57, in <genexpr>
2016-07-18 13:11:09.510312 | prefix = ''.join(random.choice(string.lowercase) for _ in range(5))
2016-07-18 13:11:09.510377 | AttributeError: 'module' object has no attribute 'lowercase'
2016-07-18 13:11:09.510397 |

tags: added: dashboard low-hanging-fruit pythno3
tags: added: python3
removed: pythno3
Changed in murano:
assignee: nobody → Valerii Kovalchuk (vakovalchuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

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

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

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

commit af5ad5369777f836d93ee5ae03b77ff730930252
Author: Valerii Kovalchuk <email address hidden>
Date: Mon Jul 18 16:57:34 2016 +0300

    Make _generate_hostname() and int2base() work in python3

    Change-Id: I371fe8791eee5f39aa228961c05f6c5c0f25f1bf
    Closes-bug: #1604000

Changed in murano:
status: In Progress → Fix Released
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.

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.