elasticsearch rpm package file path is incorrect

Bug #1706511 reported by melanie witt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
Fix Released
Undecided
melanie witt

Bug Description

While installing searchlight using devstack and the plugin, I got an error similar to:

  No file /home/$USER/devstack/files/elasticsearch-2.3.4.noarch.rpm was found

To workaround it, in devstack/plugin.sh [1] I changed:

  yum_install ${FILES}/elasticsearch-${ELASTICSEARCH_VERSION}.noarch.rpm

to

  yum_install ${FILES}/elasticsearch-${ELASTICSEARCH_VERSION}.rpm

and it solved the problem.

It makes sense because both debian and fedora based downloads look like:

    if is_ubuntu; then
        _wget_elasticsearch $ELASTICSEARCH_BASEURL_DEB/${ELASTICSEARCH_VERSION} elasticsearch-${ELASTICSEARCH_VERSION}.deb
    elif is_fedora; then
        _wget_elasticsearch $ELASTICSEARCH_BASEURL_RPM/${ELASTICSEARCH_VERSION} elasticsearch-${ELASTICSEARCH_VERSION}.rpm
    fi

[1] https://github.com/openstack/searchlight/blob/43e9a0c/devstack/plugin.sh#L319
[2] https://github.com/openstack/searchlight/blob/43e9a0c/devstack/plugin.sh#L267-L271

Revision history for this message
melanie witt (melwitt) wrote :
Changed in searchlight:
assignee: nobody → melanie witt (melwitt)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to searchlight (master)

Reviewed: https://review.openstack.org/487274
Committed: https://git.openstack.org/cgit/openstack/searchlight/commit/?id=ad68aa9d40e142b90e9a9679bc33283c090378fb
Submitter: Jenkins
Branch: master

commit ad68aa9d40e142b90e9a9679bc33283c090378fb
Author: melanie witt <email address hidden>
Date: Wed Jul 26 04:49:36 2017 +0000

    Remove "noarch" from elasticsearch rpm install command

    The elasticsearch rpm file is downloaded as:

      elasticsearch-${ELASTICSEARCH_VERSION}.rpm

    so the install command should match.

    Closes-Bug: #1706511

    Change-Id: I1ba2a30f34f92203b64452ae0c933682b03ceae3

Changed in searchlight:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/searchlight 3.0.0.0b3

This issue was fixed in the openstack/searchlight 3.0.0.0b3 development milestone.

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.