[ops-database] unknown encoding name in attributes files

Bug #1624094 reported by Chris Crebolder
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Critical
Sharat Sharma

Bug Description

I believe it is with chef-client 12.14.60 and the accompanying ruby 2.3.1 that this typo became an error:

In attributes/default.rb and attributes/mysql.rb of the ops-database cookbook:
  # encoding: UTF-8#

should be:
  # encoding: UTF-8

The recipe fails on compile otherwise:
================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/openstack-ops-database/attributes/default.rb
================================================================================

ArgumentError
-------------
unknown encoding name: UTF-8#

Cookbook Trace:
---------------
 /var/chef/cache/cookbooks/openstack-ops-database/attributes/default.rb:1

Relevant File Content:
----------------------
/var/chef/cache/cookbooks/openstack-ops-database/attributes/default.rb:

 1>> # encoding: UTF-8#
 2: #
 3: # Cookbook Name:: openstack-ops-database
 4: # Recipe:: default
 5: #
 6: # Copyright 2013, AT&T Services, Inc.
 7: #
 8: # Licensed under the Apache License, Version 2.0 (the "License");
 9: # you may not use this file except in compliance with the License.
10: # You may obtain a copy of the License at

Platform:
---------
x86_64-linux

Changed in openstack-chef:
importance: Undecided → Critical
Changed in openstack-chef:
assignee: nobody → Sharat Sharma (sharat-sharma)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-ops-database (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-ops-database (master)

Reviewed: https://review.openstack.org/381062
Committed: https://git.openstack.org/cgit/openstack/cookbook-openstack-ops-database/commit/?id=2c9f3dfd3cc3045afd4c98b9c0af85f9b3a9fe63
Submitter: Jenkins
Branch: master

commit 2c9f3dfd3cc3045afd4c98b9c0af85f9b3a9fe63
Author: Sharat Sharma <email address hidden>
Date: Mon Oct 3 17:15:21 2016 +0530

    Fixed the typo of UTF-8 which is leading to errors

    Change-Id: I47fc15034861b55b1650f82d74e9581ab51f0b50
    Closes-Bug: #1624094

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

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

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

Reviewed: https://review.openstack.org/381422
Committed: https://git.openstack.org/cgit/openstack/cookbook-openstack-ops-database/commit/?id=54c60b59036affe8b2e1d556d6ad95a4df069a5f
Submitter: Jenkins
Branch: stable/mitaka

commit 54c60b59036affe8b2e1d556d6ad95a4df069a5f
Author: Sharat Sharma <email address hidden>
Date: Mon Oct 3 17:15:21 2016 +0530

    Fixed UTF-8 typo

    Change-Id: I47fc15034861b55b1650f82d74e9581ab51f0b50
    Closes-Bug: #1624094
    (cherry picked from commit 2c9f3dfd3cc3045afd4c98b9c0af85f9b3a9fe63)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cookbook-openstack-ops-database ocata-eol

This issue was fixed in the openstack/cookbook-openstack-ops-database ocata-eol release.

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.