Installing octavia through devstack failed

Bug #1611591 reported by Jingjing.Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia
Invalid
Low
Unassigned

Bug Description

I want to install octavia and lbaasv2 in openstack through devstack,but an error appeared during the installing:

+++/opt/stack/octavia/devstack/plugin.sh:build_octavia_worker_image:20 git -C /opt/stack/octavia log -1 --pretty=format:%H
Unknown option: -C

then I check the ‘/opt/stack/octavia/devstack/plugin.sh’,the line20 shows:
“export DIB_REPOREF_amphora_agent=$(git -C "$OCTAVIA_DIR" log -1 --pretty="format:%H")”

the“git -C”expression should be changed to“git -c”.

Tags: auto-abandon
description: updated
Changed in octavia:
assignee: nobody → Jingjing.Li (li-jingjing3)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (master)

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

Changed in octavia:
status: New → In Progress
Revision history for this message
Michael Johnson (johnsom) wrote :

This code is correct with -C. The version of git installed on your host is old or non-standard. Please see the git documentation: https://www.kernel.org/pub/software/scm/git/docs/

tags: removed: lbaas octavia
Changed in octavia:
status: In Progress → Invalid
importance: Undecided → Low
Revision history for this message
li,chen (chen-li) wrote :

@Michael Johnson (johnsom)

But the default git in CentOS are old and can not be updated by 'yum' directly, at least that happens in my set-up:

OS: centos 7
kernel: 3.10.0-327.22.2.el7.x86_64

git --version
git version 1.8.3.1

git
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

May be we can use '--git-dir="$OCTAVIA_DIR"/.git' to replace '-C "$OCTAVIA_DIR"' ?

Changed in octavia:
assignee: Jingjing.Li (li-jingjing3) → li,chen (chen-li)
status: Invalid → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on octavia (master)

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: master
Review: https://review.openstack.org/353265
Reason: This review is > 4 weeks without comment and currently blocked by a core reviewer with a -2. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and contacting the reviewer with the -2 on this review to ensure you address their concerns.

Revision history for this message
Gregory Thiemonge (gthiemonge) wrote : auto-abandon-script

Abandoned after re-enabling the Octavia launchpad.

Changed in octavia:
assignee: li,chen (chen-li) → nobody
status: In Progress → Invalid
tags: added: auto-abandon
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.