Ask Your Question
0

Stack.sh Fail to detect HOST_IP, after changing HOST IP address in cloned machine

asked 2017-02-01 01:19:28 -0500

updated 2017-02-01 01:59:08 -0500

Hi All,

After going through launchpad bugs similar to this issue, raising it "https://bugs.launchpad.net/devstack/+bug/1660909 "

In latest devstack master, after cloning it as non-root user account and done local.conf with $HOST_IP address, after that ran devstack properly without issues. then after sometime just added designate plugin in local.conf and did ./unstack, while doing it faced issues as below

devstack$ ./unstack.sh
[Call Trace]
./unstack.sh:33:source
/home/pandy/devstack/openrc:27:source
/home/pandy/devstack/stackrc:759:die
[ERROR] /home/pandy/devstack/stackrc:759 Could not determine host ip address. See local.conf for suggestions on setting HOST_IP.

any suggestions please, here the ownership of devstack as below

ls -l devstack/
total 336
drwxr-xr-x 6 pandy pandy 4096 Jan 31 13:35 accrc
-rwxrwxr-x 1 pandy pandy 3643 Jan 30 16:09 clean.sh
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 data
drwxrwxr-x 3 pandy pandy 4096 Jan 30 16:09 doc
-rw-rw-r-- 1 pandy pandy 923 Jan 30 16:09 exerciserc
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 exercises
-rwxrwxr-x 1 pandy pandy 1974 Jan 30 16:09 exercise.sh
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 extras.d
drwxrwxr-x 9 pandy pandy 4096 Jan 31 10:54 files
-rw-rw-r-- 1 pandy pandy 25900 Jan 30 16:09 functions
-rw-rw-r-- 1 pandy pandy 75944 Jan 30 16:09 functions-common
-rw-rw-r-- 1 pandy pandy 3774 Jan 30 16:09 FUTURE.rst
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 gate
-rw-rw-r-- 1 pandy pandy 14879 Jan 30 16:09 HACKING.rst
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 inc
drwxrwxr-x 7 pandy pandy 4096 Jan 30 16:09 lib
-rw-rw-r-- 1 pandy pandy 10143 Jan 30 16:09 LICENSE
-rw-rw-r-- 1 pandy pandy 4301 Feb 1 12:12 local.conf
-rw-rw-r-- 1 pandy pandy 1506 Jan 30 16:09 MAINTAINERS.rst
-rw-rw-r-- 1 pandy pandy 2490 Jan 30 16:09 Makefile
-rw-rw-r-- 1 pandy pandy 4137 Jan 30 16:09 openrc
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 pkg
-rw-rw-r-- 1 pandy pandy 3799 Jan 30 16:09 README.md
-rwxrwxr-x 1 pandy pandy 1188 Jan 30 16:09 run_tests.sh
drwxrwxr-x 2 pandy pandy 4096 Feb 1 12:13 samples
-rw-rw-r-- 1 pandy pandy 481 Jan 30 16:09 setup.cfg
-rwxrwxr-x 1 pandy pandy 781 Jan 30 16:09 setup.py
-rw-rw-r-- 1 pandy pandy 34526 Jan 30 16:09 stackrc
-rwxrwxr-x 1 pandy pandy 41312 Jan 30 16:09 stack.sh
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 tests
drwxrwxr-x 4 pandy pandy 4096 Jan 30 16:09 tools
-rw-rw-r-- 1 pandy pandy 1763 Jan 30 16:09 tox.ini
-rwxrwxr-x 1 pandy pandy 4173 Jan 30 16:09 unstack.sh
-rw-r--r-- 1 pandy pandy 404 Feb 1 12:03 userrc_early

Note: my non-root user account "pandy" is similar like "stack" user permission.

Let me know where is issue ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-01 11:55:05 -0500

Hi,

Did you tried doing rejoin-stack.sh ? Please put in the logs as well to further look into more details

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-02-01 01:19:28 -0500

Seen: 1,672 times

Last updated: Feb 01 '17