Trouble with installing openstack through devstack script - openstack

I am facing a problem while installing openstack through devstack script on my Ubuntu 15 lts.
It says:
sorry, but this version only supports 100 named groups" AssertionError: sorry, but this version only supports 100 named groups ---------------------------------------- Rolling back uninstall of cryptography

Hi this is due to a pycparser 2.14 package update on pypi today. More details can be found in [1] and [2].
[1] http://lists.openstack.org/pipermail/openstack-dev/2016-October/104909.html
[2] https://github.com/eliben/pycparser/issues/147
Workaround to fix it is to change "pycparser===2.14"in /opt/stack/requirements/upper-constraints.txt to "pycparser===2.13"
Using pip to change the version will not work, because DevStack will uninstall 2.13 version and update it to 2.14, as required in the above file.
========================================================================
Update on 10/4(JST):
according to the update in [2], this bug has been resolved. :)

It's an issue with pythons pycparser lib, install the previous version by setting pycparser==2.13 in your requirements.txt file or via pip.

I have same problem and I resolve this issue after removing 'pycparser' package, using below command:
pip uninstall pycparser

The source package of pycparser doesn't have this problem, only the wheel seems to fail.
Using the --no-binary in your installation command or requirements file should make it work too.
I added --no-binary pycparser in the end of my requirements file and it did the job.

Just adding this so that it may help someone...
Our Devstack also failed because of this pycparser bug. We have just downgraded pycparser to 2.13 in requirement.txt/upper_requirement.txt and disabled 'tempest' service(This service will install cryptography and pycparser) in local.conf. After this, our Devstack installation was successful.
NOTE: comment the line 'RECLONE=yes' in local.conf file.
Thanks

Related

Openstack/devstack Installation - The conflict is caused by: oslo-vmware 3.9.1 depends on suds-jurko>=0.6

I am trying to install devstack on Ubuntu 18.04, using the guide in https://docs.openstack.org/devstack/latest/.
Installation fails with the error,
ERROR: Cannot install cinder because these package versions have conflicting dependencies.
The conflict is caused by:
oslo-vmware 3.9.1 depends on suds-jurko>=0.6
The user requested (constraint) suds-jurko===0.6
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
I have 2 python versions on the machine
stack#stack:~/devstack$ which python
/usr/bin/python
stack#stack:~/devstack$ which python3
/usr/bin/python3
Am I missing something here?
Best Regards,
J
Just install setuptools 57.5.0
vim /opt/stack/requirements/upper-constraints.txt
like this:
#setuptools===58.2.0
setuptools===57.5.0
It works for me.
The issue is that suds-jurko is incompatible with the setuptools 58.0. You would need to downgrade to setuptools 57.5.0, e.g. pip install setuptools==57.5.0, but it's possible that devstack will upgrade it again.
The real solution is a set of upstream patches that are already in the works to fix this, but isn't merged yet (as of this post).
https://review.opendev.org/c/openstack/oslo.vmware/+/813377

Troubles installing RMariaDB on CentOS

I need to install specific version on RMariaDB on CentOS. While installing it via command
install_version('RMariaDB', version='1.0.10', repos='http://cran.us.r-project.org')
I have encountered a strange issue:
/bin/ld: cannot find -lmariadb
So far I was unable to solve this. Tried installing several mariadb packages (i.e. mariadb-devel) on CentOS, but that does not resolved this issue. Can answer any question needed.
As #r2evans wrote in the comment. Correct answer to this would be installing mariadb/mysql devel package. Unfortunately this does not solve this issue, when MariaDB is installed from MariaDB10.repo
After some testing, this issue was solved after installing MariaDB5.5 from official repositories.

Dependency issue installing DevStack

I am trying to install Openstack using DevStack. After correctly creating the user stack and running ./stack.sh, the script starts to install the required dependencies until it hits Obtaining file:///opt/stack/cinder. Then I obtain the following errors:
Exception:
ContextualVersionConflict: (grpcio 1.21.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('grpcio<1.16.0,>=1.0.0'), set(['tooz']))
I understand that there is a conflict in grpcio, but I don't know how to solve it. I already unsuccessfully tried to install a specific version between 1.0.0 and 1.16.0.
The Devstack version I am using is the latest from the git master.
I think I solved the problem myself.
I had the tooz package installed with version 1.62 which was causing the issue.
After removing that package the installation completed.

Unable to locate package libvirt-clients error on ubuntu

I am seeing the below error when deploying devstack (openstack) on ubuntu:
E: Unable to locate package libvirt-clients
E: Unable to locate package libvirt-daemon-system
Any clues pls ?
I have this problem too and i use ubuntu trusty
according to this commit:
https://github.com/openstack-dev/devstack/commit/03fbc0d71bf4ee85820999ef1324dc319ef9d926?diff=split
they changed the repo packages 5 days ago and just for ubuntu xenial its the same as before : "install_package libvirt-bin libvirt-dev"
but other distros: "install_package libvirt-clients libvirt-daemon-system libvirt-dev"
I think we could better edit the file manually until better changes take place.
You're probably trying to install Devstack it on an unsupported version of Linux. Try Ubuntu 16.0.4 (worked for my today without a single problem) or the one that the installation guide says is supported.
Try sudo apt install qemu qemu-kvm virt-manager for more information check this out on github.

Sbt on ubuntu 16.04 installation failure

I am facing a failed downloads problem while trying to install sbt 0.13.13 on ubuntu 16.04 following the documentation on: http://www.scala-sbt.org/release/docs/Installing-sbt-on-Linux.html.
Below, the message log:
I also tried the answer from paradigmatic here: Install sbt on ubuntu, and: https://askubuntu.com/questions/732092/how-to-install-sbt-in-its-latest-version-in-ubuntu-14-04. Those posts are a little old.
Neverhteless, the official method seems to bug so far.
Anyone faced the same impediments?
The cause and solution is actually provided by https://medium.com/#henricook/solution-to-sun-security-validator-validatorexception-e300dd7dba70#.tk7u7klut. The experimental java9 is to blame. Installing java8 as in https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04 will solve it.

Resources