diff options
author | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2017-05-04 09:53:01 +0100 |
---|---|---|
committer | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2017-05-04 09:54:54 +0100 |
commit | c8e3679ace7d14e0039b45b7124597ce18d1dd4e (patch) | |
tree | c5757dc2657be08259ccbfc934768220d51afc09 /devstack | |
parent | 9697ae6b18b96fceb89bd337251e9a783f4e9808 (diff) | |
download | ironic-c8e3679ace7d14e0039b45b7124597ce18d1dd4e.tar.gz |
DevStack: Install gunicorn and sushy based on g-r constraints
It also removes a comma (",") from an error message.
Depends-On: Ie77b220f630babd325e8d31cdc60ddea680c81a1
Change-Id: I3dc1b4df602912516ffdcef0f8bfd0d0750d7698
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/lib/ironic | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 5350923ad..3071fdcf6 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -570,7 +570,7 @@ IRONIC_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-$IRONIC_DEFAULT_IMAGE_NAME} # the redfish driver if is_deployed_by_redfish && [[ "$IRONIC_ENABLED_HARDWARE_TYPES" != *"redfish"* ]]; then die $LINENO "Please make sure that the redfish hardware" \ - "type, is enabled. Take a look at the " \ + "type is enabled. Take a look at the " \ "IRONIC_ENABLED_HARDWARE_TYPES configuration option" \ "for DevStack" fi @@ -690,7 +690,7 @@ function start_redfish_emulator { if is_ubuntu; then install_package gunicorn else - pip_install "gunicorn" + pip_install_gr "gunicorn" fi sudo gunicorn sushy_tools.emulator.main:app --bind "${HOST_IP}:${IRONIC_REDFISH_EMULATOR_PORT}" \ @@ -708,9 +708,7 @@ function setup_redfish { git_clone_by_name "sushy" setup_dev_lib "sushy" else - # TODO(lucasagomes): use pip_install_gr once sushy is added to - # the global requirements - pip_install "sushy" + pip_install_gr "sushy" fi pip_install "sushy-tools" |