AD deployment fails due to UnicodeDecodeError

Bug #1490468 reported by Alexey Khivin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Alexey Khivin

Bug Description

AD deployment fails with exception
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)

AD was not changed last month and worked fine before so I think it is Murano itself issue, not a particular application issue

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

Alexey Khivin (akhivin)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

Changed in murano:
assignee: nobody → Alexey Khivin (akhivin)
status: New → In Progress
Revision history for this message
Alexey Khivin (akhivin) wrote :

Temporary fix

before
$ cat meta/io.murano/Resources/Agent-v1.template | file -
/dev/stdin: XML 1.0 document, UTF-8 Unicode (with BOM) text

after
$ cat meta/io.murano/Resources/Agent-v1.template | file -
/dev/stdin: XML document text

no longer affects: murano-apps
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/218832
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=666cfb53b0cb200b713d93730df8ea0aea3c0091
Submitter: Jenkins
Branch: master

commit 666cfb53b0cb200b713d93730df8ea0aea3c0091
Author: Alexey Khivin <email address hidden>
Date: Mon Aug 31 15:21:50 2015 +0300

    BOM symbol removed from Agent-v1.template

    Murano engine can not convert unicode file to an ascii string.
    Without BOM symbol file can be read as an ascii text file

    It is rather temporary fix than a comprehensive solution

    Change-Id: Ifec342bfa223c255f5c532560bcb247cf21757ad
    Partial-Bug: #1490468

Alexey Khivin (akhivin)
Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
importance: Undecided → High
milestone: none → liberty-3
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: liberty-3 → 1.0.0
Changed in murano:
milestone: 1.0.0 → 1.0.1
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.