I figured out the problem by setting the "LC_ALL" locale variable to "C" as
follows:

$ sudo update-locale LC_ALL=C

(logout and back in)


Regards,

*Brady Johnson*
bjohn...@inocybe.ca

<https://twitter.com/inocybetech> <http://www.inocybe.com/>
<https://www.linkedin.com/company/2661537?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A2661537%2Cidx%3A1-1-1%2CtarId%3A1441300264767%2Ctas%3Ainocybe>
[image:
Screenshot 2017-02-14 at 10.43.55 AM.png]
<https://www.youtube.com/channel/UC9uUWABdPR0Je9Du_15FCkw>



On Wed, Dec 6, 2017 at 11:52 AM, Brady Johnson <bjohn...@inocybe.ca> wrote:

>
> Hello,
>
> Im getting this "interesting" error when I execute the xci_deploy.sh
> script:
>
> Oh nooooo! The XCI deployment failed miserably :-(
>
>
> Here's a paste of the information:
>
> Installing setuptools, pkg_resources, pip, wheel...
>   Complete output from command /opt/stack/bifrost/bin/python2 - setuptools
> pkg_resources pip wheel:
>   Traceback (most recent call last):
>   File "<stdin>", line 24, in <module>
>   File 
> "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/__init__.py",
> line 215, in main
>   File "/opt/stack/bifrost/lib/python2.7/locale.py", line 581, in
> setlocale
>     return _setlocale(category, locale)
> locale.Error: unsupported locale setting
> ----------------------------------------
> ...Installing setuptools, pkg_resources, pip, wheel...done.
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2363, in
> <module>
>     main()
>   File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 719, in main
>     symlink=options.symlink)
>   File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 988, in
> create_environment
>     download=download,
>   File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 918, in
> install_wheel
>     call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
>   File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 812, in
> call_subprocess
>     % (cmd_desc, proc.returncode))
> OSError: Command /opt/stack/bifrost/bin/python2 - setuptools pkg_resources
> pip wheel failed with error code 1
>
> -------------------------------------------------------------------------
> Oh nooooo! The XCI deployment failed miserably :-(
>
> If you need help, please choose one of the following options
> * #opnfv-pharos @ freenode network
> * opnfv-tech-discuss mailing list (https://lists.opnfv.org/
> mailman/listinfo/opnfv-tech-discuss)
>   - Please prefix the subject with [XCI]
> * https://jira.opnfv.org (Release Engineering project)
>
> Do not forget to submit the following information on your bug report:
>
> releng-xci tree status: clean
> opnfv/releng-xci version: db9f2f556bf92558275c0422beafb5e68eff59f1
> openstack/bifrost version: db9f2f556bf92558275c0422beafb5e68eff59f1
> openstack/openstack-ansible version: stable/ocata
> xci flavor: noha
> Environment variables:
> XCI_PATH=/home/inocybe/projects/releng-xci/xci
> OPNFV_SCENARIO=os-odl-sfc
> XCI_FLAVOR=noha
> OPENSTACK_BIFROST_PATH=/tmp/.xci-deploy-env/bifrost
> XCI_ANSIBLE_VERBOSITY=
> OPENSTACK_OSA_OPENRC_PATH=/tmp/.xci-deploy-env/openstack-
> ansible-openstack_openrc
> OPENSTACK_OSA_VERSION=stable/ocata
> OPNFV_RELENG_PATH=/tmp/.xci-deploy-env/releng-xci
> OPNFV_RELENG_DEV_PATH=/home/inocybe/projects/releng-xci/
> OPENSTACK_OSA_GIT_URL=https://git.openstack.org/openstack/
> openstack-ansible
> OPNFV_OSA_PLAYBOOK=/tmp/.xci-deploy-env/openstack-ansible/
> playbooks/setup-openstack.yml
> OPNFV_SSH_HOST_KEYS_PATH=/tmp/.xci-deploy-env/ssh_host_keys
> XCI_SSL_SUBJECT=/C=US/ST=California/L=San Francisco/O=IT/CN=xci.releng.
> opnfv.org
> XCI_ANSIBLE_PIP_VERSION=2.3.2.0
> XCI_DEVEL_ROOT=/tmp/.xci-deploy-env
> OPENSTACK_OSA_OPENRC_GIT_URL=https://git.openstack.org/
> openstack/openstack-ansible-openstack_openrc
> OPNFV_RELENG_VERSION=master
> OPENSTACK_OSA_ETC_PATH=/etc/openstack_deploy
> OPNFV_HOST_IP=192.168.122.2
> OPNFV_RELENG_GIT_URL=https://gerrit.opnfv.org/gerrit/releng-xci.git
> OPENSTACK_BIFROST_GIT_URL=https://git.openstack.org/openstack/bifrost
> OPENSTACK_BIFROST_VERSION=db9f2f556bf92558275c0422beafb5e68eff59f1
> OPENSTACK_OSA_PATH=/tmp/.xci-deploy-env/openstack-ansible
> OPNFV_XCI_PATH=/tmp/.xci-deploy-env/releng-xci/xci
> XCI_EXTRA_VARS_PATH=
> XCI_FLAVOR_ANSIBLE_FILE_PATH=/tmp/.xci-deploy-env/releng-xci/xci/file/noha
> -------------------------------------------------------------------------
>
>
> And here is the locale:
>
> $ locale
> LANG=en_US.utf8
> LANGUAGE=en_US.utf8
> LC_CTYPE="en_US.utf8"
> LC_NUMERIC="en_US.utf8"
> LC_TIME="en_US.utf8"
> LC_COLLATE="en_US.utf8"
> LC_MONETARY="en_US.utf8"
> LC_MESSAGES="en_US.utf8"
> LC_PAPER="en_US.utf8"
> LC_NAME="en_US.utf8"
> LC_ADDRESS="en_US.utf8"
> LC_TELEPHONE="en_US.utf8"
> LC_MEASUREMENT="en_US.utf8"
> LC_IDENTIFICATION="en_US.utf8"
> LC_ALL=
>
>
> The locale was previously set to Canada, and after the first failure, I
> set it to en_US.utf8, but I get the same error message.
>
> Any ideas?
>
> Regards,
>
> *Brady Johnson*
> bjohn...@inocybe.ca
>
> <https://twitter.com/inocybetech> <http://www.inocybe.com/>
> <https://www.linkedin.com/company/2661537?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A2661537%2Cidx%3A1-1-1%2CtarId%3A1441300264767%2Ctas%3Ainocybe>
>  [image:
> Screenshot 2017-02-14 at 10.43.55 AM.png]
> <https://www.youtube.com/channel/UC9uUWABdPR0Je9Du_15FCkw>
>
>
>
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to