Ruby 2.1 incompatibility for network-related functions

Bug #1305655 reported by Anastasia Palkina
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Borodaenko

Bug Description

"build_id": "2014-04-10_01-00-26",
"mirantis": "yes",
"build_number": "92",
"nailgun_sha": "d593b43f0219447ca8d1434ee69265ab80a5e24f",
"production": "dev",
"ostf_sha": "17f2fe6e56452f8e2f01a385be4c4b87bf3698a8",
"fuelmain_sha": "e8141c470471d872bb9c979d80340c2d56bc21e6",
"astute_sha": "35473eb08b16f4778283e993126a4fd15eb1d00f",
"release": "5.0",
"fuellib_sha": "0e4c251a1ab4aed317aeb79d6859dfcfe1314463"

Error during installing master node: Could not prefetch package provider 'yum': invalid byte sequence in US-ASCII

Also many messages:
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x000000028fd4d0>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x000000028ebed8>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x000000028eb140>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x000000028ea998>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x000000028e9ea8>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x000000028e9688>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x000000028ddef0>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x000000028dd720>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x000000028dc528>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x000000028dbd08>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x000000028dae80>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x000000028da6b0>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x00000003b12a08>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x00000003b12080>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x00000003b10ff0>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x00000003b10730>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x00000003cafb90>
Could not retrieve defaultroute: undefined method `to_a' for #<String:0x00000003caf2f8>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x00000003c2af08>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x00000003c2a558>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x00000003c29158>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x00000003c287f8>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x00000003c575d0>
Could not retrieve l3_default_route: undefined method `to_a' for #<String:0x00000003c56c98>

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel OSCI Team (fuel-osci)
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Vitaly Parakhin (vparakhin)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Vitaly Parakhin (vparakhin) wrote :

1) "Could not prefetch package provider 'yum'" errors:

Caused by mishandling of UTF-8 characters in RPM package metadata by puppet rpm provider.
Appropriate bug: https://tickets.puppetlabs.com/browse/PUP-736
Proposed fix: apply patch to the current version (3.4.2) or upgrade to 3.4.3

2) "Could not retrieve defaultroute" errors:

Errors are produced by the l23network library (https://github.com/xenolog/l23network) which seems to have issues with Ruby 2.1.1
Please address the issue with the library.

Changed in fuel:
assignee: Vitaly Parakhin (vparakhin) → Fuel Library Team (fuel-library)
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :
Changed in fuel:
status: In Progress → Fix Committed
summary: - Error during installing master node: Could not prefetch package provider
- 'yum': invalid byte sequence in US-ASCII
+ Ruby 2.1 incompatibility for network-related functions
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Reproduced on ISO #127
"build_id": "2014-04-23_03-41-25",
"mirantis": "yes",
"build_number": "127",
"nailgun_sha": "ead54af79fb8d798bdf8b7cfc08ee60103c9292f",
"production": "prod",
"ostf_sha": "134765fcb5a07dce0cd1bb399b2290c988c3c63b",
"fuelmain_sha": "a864e28fff841b40c3b4a53f00e622002f300b19",
"astute_sha": "6e8fa4cc12968d7b468fc590b2f06bb59bf74511",
"release": "5.0",
"fuellib_sha": "646e52b7a34a0027b43c46aa5b525fe7674a8059"

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Updated status to the 'in progress' due to reproduction report provided, thus the bug wasn't completely fixed

Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

according to the report, the ISO used did not contain the commit fixing this issue. Thus, closing as 'fix committed'

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

the same facts are present in neutron module. remove them or fix them

Changed in fuel:
status: Fix Committed → Triaged
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :
Changed in fuel:
status: Triaged → In Progress
assignee: Fuel Library Team (fuel-library) → Dmitry Borodaenko (dborodaenko)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/89954
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=03f40a21c2788ba69252dbaeade7eb3016e76b6b
Submitter: Jenkins
Branch: master

commit 03f40a21c2788ba69252dbaeade7eb3016e76b6b
Author: Dmitry Borodaenko <email address hidden>
Date: Wed Apr 23 16:00:26 2014 -0700

    Replace String#to_a with split for Ruby 2.x compatibility

    Change-Id: I9cb2d3405289d48b68ec803ea3f30437e4f189fa
    Closes-bug: #1305655

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #139
"build_id": "2014-04-25_01-00-26",
"mirantis": "yes",
"build_number": "139",
"nailgun_sha": "6b156d7434d0a70efe288cd8064d0ca90fed0737",
"production": "prod",
"ostf_sha": "134765fcb5a07dce0cd1bb399b2290c988c3c63b",
"fuelmain_sha": "9939570720729dce22e635b0b9c9465e9d80661f",
"astute_sha": "6e8fa4cc12968d7b468fc590b2f06bb59bf74511",
"release": "5.0",
"fuellib_sha": "ebc4b365dd60811e918c280a79631369a7afb868"

Changed in fuel:
status: Fix Committed → 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.