Automated setup using Vagrant + Virtualbox Failed

Bug #1655939 reported by liuxin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
Medium
Shachar Snapiri

Bug Description

Description
===========
I refer to this address http://docs.openstack.org/developer/dragonflow/installation.html#automated-setup-using-vagrant-virtualbox deployment failure

Steps to reproduce
==================

# git clone https://git.openstack.org/openstack/dragonflow
# cd dragonflow
# vagrant plugin install vagrant-cachier
# vagrant plugin install vagrant-vbguest
# cd vagrant && vagrant up
# vagrant ssh devstack_controller
# cd devstack/
# ./stack.sh

Expected result
===============
++stackrc:source:762 HOST_IP=
++stackrc:source:763 '[' '' == '' ']'
++stackrc:source:764 die 764 'Could not determine host ip address. See local.conf for suggestions on setting HOST_IP.'
++functions-common:die:186 local exitcode=0
++functions-common:die:187 set +o xtrace
[Call Trace]
./stack.sh:191:source
/home/vagrant/devstack/stackrc:764:die
[ERROR] /home/vagrant/devstack/stackrc:764 Could not determine host ip address. See local.conf for suggestions on setting HOST_IP.

Actual result
=============
get HOST_IP and continue.

Environment
===========
1. os version
# cat /proc/version
Linux version 4.4.0-57-generic (buildd@lgw01-54) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016

2. vagrant version
# vagrant -v
Vagrant 1.9.1

3. virtualbox version
# virtualbox --help
Oracle VM VirtualBox Manager 5.1.12
(C) 2005-2016 Oracle Corporation
All rights reserved.

Logs & Configs
==============

liuxin (liuxin)
affects: nova → dragonflow
Changed in dragonflow:
assignee: nobody → 刘鑫 (liuxin)
status: New → In Progress
liuxin (liuxin)
Changed in dragonflow:
assignee: liuxin (liuxin) → nobody
assignee: nobody → liuxin (liuxin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to dragonflow (master)

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

Omer Anson (omer-anson)
Changed in dragonflow:
importance: Undecided → Medium
Changed in dragonflow:
assignee: liuxin (liuxin) → Shachar Snapiri (snapiri)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/419805
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=5b57a4d7d16cac062c06a7b5bf5c37809ef2a5a7
Submitter: Zuul
Branch: master

commit 5b57a4d7d16cac062c06a7b5bf5c37809ef2a5a7
Author: liuxinrj <email address hidden>
Date: Fri Jan 13 16:07:30 2017 +0800

    Fix failure while installing devstack by vagrant.

    Changed box for the different hypervisors to ubuntu 16.04LTS (xenial).
    Updated the etcd checksum, as we are using a different version.
    Changed the VM creation to be serial, as the compute nodes must be
    started after the controller node is already up.
    Updated the script to take the correct configuration file as their
    names were changed over time.
    Changed configuration to use etcd entirely.

    Co-Authored-By: Shachar Snapiri <email address hidden>
    Change-Id: I0c1df8117393c5c65ce93c00604bca1ee7b38d20
    Closes-bug: #1655939

Changed in dragonflow:
status: In Progress → 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.