There is no way to change etcd checksum

Bug #1736718 reported by Shachar Snapiri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Shachar Snapiri

Bug Description

In the stackrc file, the ETCD_VERSION may be overridden by the user, but the checksum is a constant, so if the version is changed, the stack.sh will fail as there will be mismatch between the checksums.
It should be also possible to specify a different checksum

Note: Though it is possible to override ETCD_SHA256, there is infrastructure for multiple platforms, in which case you can not override the value per-platform.
This patch allows that.

Changed in devstack:
assignee: nobody → Shachar Snapiri (snapiri)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

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

Changed in devstack:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by Shachar Snapiri (<email address hidden>) on branch: master
Review: https://review.openstack.org/526053

Revision history for this message
Shachar Snapiri (snapiri) wrote :

It is possible to achieve it by using the ETCD_SHA256

Changed in devstack:
status: In Progress → Invalid
assignee: Shachar Snapiri (snapiri) → nobody
Changed in devstack:
assignee: nobody → Shachar Snapiri (snapiri)
status: Invalid → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/526053
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=fabaa991ca28a181909b420701bbd8e195177814
Submitter: Zuul
Branch: master

commit fabaa991ca28a181909b420701bbd8e195177814
Author: Shachar Snapiri <email address hidden>
Date: Wed Dec 6 14:45:06 2017 +0200

    Added the ability to specify checksum for etcd

    It is possibe for the user to override te etcd version, thus download a
    different etcd file, but the checksum is constant, so the checksum
    verification will fail in that case.
    Added the ability to specify a different checksum, so the user would be
    able to specify the new version checksum

    Change-Id: I85af3af841ae957964f18d4e37a86ab0703882bc
    Closes-Bug: #1736718

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