devstack fail at monasca-api plugin installation in pike with "get_extra_file: command not found"

Bug #1724746 reported by Anilkumar Thovi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Monasca
New
Undecided
Unassigned
devstack
Invalid
Undecided
Unassigned

Bug Description

devstack fails at monasca-api plugin installation in pike with error "get_extra_file: command not found".
devstack version:pike/ubuntu 16.04
pbr version :3.1.1

2017-10-10 09:46:42.061 | ++./stack.sh:echo_summary:405 echo -e Install Monasca Kafka
2017-10-10 09:46:42.072 | ++/opt/stack/monasca-api/devstack/plugin.sh:install_kafka:286 local kafka_tarball=kafka_2.11-0.9.0.1.tgz
2017-10-10 09:46:42.096 | ++/opt/stack/monasca-api/devstack/plugin.sh:install_kafka:287 local kafka_tarball_url=http://www-eu.apache.org/dist/kafka/0.9.0.1/kafka_2.11-0.9.0.1.tgz
2017-10-10 09:46:42.123 | ++/opt/stack/monasca-api/devstack/plugin.sh:install_kafka:289 local kafka_tarball_dest
2017-10-10 09:46:42.140 | +++/opt/stack/monasca-api/devstack/plugin.sh:install_kafka:290 get_extra_file http://www-eu.apache.org/dist/kafka/0.9.0.1/kafka_2.11-0.9.0.1.tgz
2017-10-10 09:46:42.140 | /opt/stack/monasca-api/devstack/plugin.sh: line 290: get_extra_file: command not found
2017-10-10 09:46:42.156 | ++/opt/stack/monasca-api/devstack/plugin.sh:install_kafka:290 kafka_tarball_dest=
2017-10-10 09:46:42.181 | +/opt/stack/monasca-api/devstack/plugin.sh:install_kafka:1 exit_trap
2017-10-10 09:46:42.194 | +./stack.sh:exit_trap:494 local r=127
2017-10-10 09:46:42.216 | ++./stack.sh:exit_trap:495 jobs -p
2017-10-10 09:46:42.238 | +./stack.sh:exit_trap:495 jobs=
2017-10-10 09:46:42.258 | +./stack.sh:exit_trap:498 [[ -n '' ]]
2017-10-10 09:46:42.271 | +./stack.sh:exit_trap:504 kill_spinner
2017-10-10 09:46:42.298 | +./stack.sh:kill_spinner:390 '[' '!' -z '' ']'
2017-10-10 09:46:42.310 | +./stack.sh:exit_trap:506 [[ 127 -ne 0 ]]
2017-10-10 09:46:42.325 | +./stack.sh:exit_trap:507 echo 'Error on exit'
2017-10-10 09:46:42.325 | Error on exit

affects: devstack → monasca
Changed in devstack:
status: New → Invalid
summary: - devstack fail at monasca-api plugin installation in pike
+ devstack fail at monasca-api plugin installation in pike with
+ "get_extra_file: command not found"
Revision history for this message
Fouad Benamrane (ftreqah) wrote :

One of the solutions is to download manually the missed package. get_extra_file usually followed by the package link that monasca-api cannot download. Use these steps to resolve the issue:
1. Download the packet: # wget package_link
2. Comment all lines related to downloaded packages in monasca-api/devstack/plugin.sh
3. Replace the variable_dst at installation line by the local file that you already download.
Example if the issue is with kafka: go to line 311 of plugin.sh and replace sudo tar -xzf $kafka_tarball_dest by sudo tar -xzf ~/kafka_2.11-0.9.0.1.tgz

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.