unable to find tacker.conf file after tacker installation

Bug #1649191 reported by Amit Bhardwaj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
New
Undecided
Veena

Bug Description

I have tried installing Tacker from stable/newton branch. I am following this link for installation on Newton controller: http://docs.openstack.org/developer/tacker/install/manual_installation.html

Both Tacker server and client are on controller node only.

Following is the trace that I am getting after installation (tacker.conf generation is missing it seems)

creating /usr/local/etc/rootwrap.d
copying etc/tacker/rootwrap.d/tacker.filters -> /usr/local/etc/rootwrap.d
creating /usr/local/etc/tacker
copying etc/tacker/api-paste.ini -> /usr/local/etc/tacker
copying etc/tacker/policy.json -> /usr/local/etc/tacker
copying etc/tacker/rootwrap.conf -> /usr/local/etc/tacker
creating /usr/local/etc/init.d
copying etc/init.d/tacker-server -> /usr/local/etc/init.d
running install_egg_info
Copying tacker.egg-info to /usr/local/lib/python2.7/dist-packages/tacker-0.5.1.dev12.egg-info
running install_scripts
Installing tacker-server script to /usr/local/bin
Installing tacker-rootwrap script to /usr/local/bin
Installing tacker-db-manage script to /usr/local/bin

While generating tacker.conf, I am getting this trace:

root@controller:/home/ubuntu/tacker# tox -e config-gen
config-gen create: /home/ubuntu/tacker/.tox/config-gen
config-gen installdeps: -r/home/ubuntu/tacker/requirements.txt, -r/home/ubuntu/tacker/test-requirements.txt, setuptools-git>=0.4
ERROR: invocation failed, logfile: /home/ubuntu/tacker/.tox/config-gen/log/config-gen-1.log
ERROR: actionid=config-gen
msg=getenv
cmdargs=[local('/home/ubuntu/tacker/.tox/config-gen/bin/pip'), 'install', '-U', '-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/newton}', '-r/home/ubuntu/tacker/requirements.txt', '-r/home/ubuntu/tacker/test-requirements.txt', 'setuptools-git>=0.4']
env={'PYTHONIOENCODING': 'utf_8', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'root', 'USER': 'root', 'PATH': '/home/ubuntu/tacker/.tox/config-gen/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games', 'HOME': '/home/ubuntu/tacker/.tox/config-gen/tmp/pseudo-home', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SUDO_USER': 'ubuntu', 'USERNAME': 'root', 'XDG_RUNTIME_DIR': '/run/user/1000', 'SUDO_UID': '1000', 'VIRTUAL_ENV': '/home/ubuntu/tacker/.tox/config-gen', 'LC_ALL': 'en_US.UTF-8', 'XDG_SESSION_ID': '7', '_': '/usr/bin/tox', 'SUDO_COMMAND': '/bin/su', 'SUDO_GID': '1000', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'OLDPWD': '/home/ubuntu/tacker/tacker', 'PWD': '/home/ubuntu/tacker', 'MAIL': '/var/mail/root', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}

Usage:
  pip install [options] <requirement specifier> ...
  pip install [options] -r <requirements file> ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: -c

ERROR: could not install deps [-r/home/ubuntu/tacker/requirements.txt, -r/home/ubuntu/tacker/test-requirements.txt, setuptools-git>=0.4]
______________________________________ summary _______________________________________
ERROR: config-gen: could not install deps [-r/home/ubuntu/tacker/requirements.txt, -r/home/ubuntu/tacker/test-requirements.txt, setuptools-git>=0.4]

Revision history for this message
yong sheng gong (gongysh) wrote :

it seems you should upgrade your pip.

pip install -U pip

Revision history for this message
Sridhar Ramaswamy (srics-r) wrote :

What version of pip are you using?

I verified this works fine with,

$ pip --version
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)

Revision history for this message
Amit Bhardwaj (bhardwajamit23) wrote :

$ pip --version
pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)

I upgraded pip version and now tacker.conf is getting generated. Can anyone please update the documentation as well. Looks like it requires updation.

Veena (mveenasl)
Changed in tacker:
assignee: nobody → Veena (mveenasl)
Revision history for this message
Manpreet Kaur (manpreetk) wrote :

In the master branch, https://docs.openstack.org/tacker/latest/install/manual_installation.html document section "Installing Tacker Server" step number 4 "Install required packages and tacker itself." provides information to install required packages using "pip3". This step is performed before generating "tacker.conf".

Looks like the requested information regarding pip already exists in the documentation.

Please let me know if anything else is required otherwise please close the issue.

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.