swift/manifests/proxy/cache.pp:26 type mismatch

Bug #1449272 reported by Robin H. Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-swift
Fix Released
Critical
Clayton O'Neill

Bug Description

Evaluation Error: Left match operand must result in a String value. Got an Array. at /var/lib/puppet/checkouts/environments/production/modules/swift/manifests/proxy/cache.pp:26:6

Cannot use a regex on an array.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-swift (master)

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

Changed in puppet-swift:
assignee: nobody → Robin H. Johnson (robbat2)
status: New → In Progress
Changed in puppet-swift:
assignee: Robin H. Johnson (robbat2) → Sebastien Badia (sbadia)
Changed in puppet-swift:
assignee: Sebastien Badia (sbadia) → Clayton O'Neill (clayton-oneill)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-swift (master)

Reviewed: https://review.openstack.org/177975
Committed: https://git.openstack.org/cgit/stackforge/puppet-swift/commit/?id=ef9f9a4194237b3cd00446f42d1b407d203cbfd5
Submitter: Jenkins
Branch: master

commit ef9f9a4194237b3cd00446f42d1b407d203cbfd5
Author: Robin H. Johnson <email address hidden>
Date: Mon Apr 27 10:03:31 2015 -0700

    Handle both string and array for memcache param.

    Evaluation Error: Left match operand must result in a String value. Got
    an Array. at .../modules/swift/manifests/proxy/cache.pp:26:6

    Please note that Puppet syntax, while it defines a regex type, does NOT
    permit regex type arguments to be passed to functions (as literals or
    assigned to variables).

    Change-Id: Ia230720e2cafb5b03404cea1ba54dd3b0ced6af3
    Closes-Bug: #1449272
    Signed-off-by: Robin H. Johnson <email address hidden>

Changed in puppet-swift:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-swift (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/188950

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-swift (stable/juno)

Reviewed: https://review.openstack.org/188950
Committed: https://git.openstack.org/cgit/stackforge/puppet-swift/commit/?id=3d608ac65b82724db5453392d44fbd8144357531
Submitter: Jenkins
Branch: stable/juno

commit 3d608ac65b82724db5453392d44fbd8144357531
Author: Robin H. Johnson <email address hidden>
Date: Mon Apr 27 10:03:31 2015 -0700

    Handle both string and array for memcache param.

    Evaluation Error: Left match operand must result in a String value. Got
    an Array. at .../modules/swift/manifests/proxy/cache.pp:26:6

    Please note that Puppet syntax, while it defines a regex type, does NOT
    permit regex type arguments to be passed to functions (as literals or
    assigned to variables).

    Change-Id: Ia230720e2cafb5b03404cea1ba54dd3b0ced6af3
    Closes-Bug: #1449272
    Signed-off-by: Robin H. Johnson <email address hidden>
    (cherry picked from commit ef9f9a4194237b3cd00446f42d1b407d203cbfd5)

tags: added: in-stable-juno
Changed in puppet-swift:
importance: Undecided → Critical
Mathieu Gagné (mgagne)
Changed in puppet-swift:
milestone: none → 6.0.0
Mathieu Gagné (mgagne)
Changed in puppet-swift:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-swift (master)

Change abandoned by Sebastien Badia (<email address hidden>) on branch: master
Review: https://review.openstack.org/184667
Reason: Sorry for the late reply Colleen :-s
Hum, this patch is completely outdated…

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.