Etcd doc hard coded for amd64

Bug #1721678 reported by John Studarus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Undecided
Frank Kloeker

Bug Description

The Etcd Ubuntu documentation hard codes in the amd64 architecture. For ARM machines, this needs to be changed from:

etcd-${ETCD_VER}-linux-amd64.tar.gz
etcd-${ETCD_VER}-linux-arm64.tar.gz

There needs to be a little more intelligence in the script or a warning in the documentation to select the correct architecture.

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [X] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.

If you have a troubleshooting or support issue, use the following resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: on 2017-10-05 05:15
SHA: de49069b09dee81551a406f3ac569e521e221758
Source: https://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/source/environment-etcd-ubuntu.rst
URL: https://docs.openstack.org/install-guide/environment-etcd-ubuntu.html

Revision history for this message
John Studarus (g-john-j) wrote :

ARCH=`dpkg --print-architecture`
curl -L https://github.com/coreos/etcd/releases/download/${ETCD_VER}/etcd-${ETCD_VER}-linux-${ARCH}.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-${ARCH}.tar.gz
tar xzvf /tmp/etcd-${ETCD_VER}-linux-${ARCH}.tar.gz -C /tmp/etcd --strip-components=1

Also, this environment variable needs to be set in the etcd config file.
[Service]
Environment="ETCD_UNSUPPORTED_ARCH=arm64"
LimitNOFILE=65536

Revision history for this message
Ian Y. Choi (ianychoi) wrote :

Maybe needs to change for all distros in https://docs.openstack.org/install-guide/environment-etcd.html or mentions that the install-guide is mainly based on amd64 architecture.

Changed in openstack-manuals:
status: New → Confirmed
Revision history for this message
Paul Goins (vultaire) wrote :

The current version of the page doesn't seem to have this issue.

Revision history for this message
John Studarus (g-john-j) wrote :
Revision history for this message
Paul Goins (vultaire) wrote :

Thanks John; I missed that.

Changed in openstack-manuals:
assignee: nobody → Frank Kloeker (f-kloeker)
status: Confirmed → In Progress
Changed in openstack-manuals:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.opendev.org/659354

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

Reviewed: https://review.opendev.org/659354
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=0450a2f5a66bedc25a7355c1baf0bb05a41d2dc3
Submitter: Zuul
Branch: master

commit 0450a2f5a66bedc25a7355c1baf0bb05a41d2dc3
Author: Frank Kloeker <email address hidden>
Date: Wed May 15 19:50:46 2019 +0200

    ARM support for etcd in install-guide

    Change-Id: Iddba4ef625eee59303bdef9d3434524807bd2c01
    Closes-bug: #1721678

Changed in openstack-manuals:
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.