Error when glance-manage db sync glance executed

0 votes

Hi Guys,

I am getting the below error, when I run the below given command.

$ glance-manage db_sync glance
/usr/lib/python2.6/site-packages/glance/cmd/manage.py:41: DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead. from oslo.config import cfg /usr/lib64/python2.6/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability. _warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning) 2015-02-03 22:00:02.848 8671 CRITICAL glance [-] DbMigrationError: version should be an integer

Thank You

Mar 26, 2020 in OpenStack by akhtar
• 38,260 points
645 views

1 answer to this question.

0 votes

Hi@akhtar,

This has something to do with the version of GMP installed. As you can see from the above error, PyCrypto needs libgmp version >=5. To fix this, follow the below given steps.

Download and install gmp-6.0.0.a

$ bunzip2 gmp-6.0.0a.tar.bz2 $ tar xvf gmp-6.0.0a.tar $ cd gmp-6.0.0a.tar 
$ ./configure
$ make
$ make check 
$ make install

Now you have the right version of GMP installed and with these libraries you can install PyCrypto. To do that, run the below command.

$ pip install --ignore-installed PyCrypto

Hope this will work.

Thank You

answered Mar 26, 2020 by MD
• 95,460 points

Related Questions In OpenStack

0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,460 points
9,623 views
0 votes
1 answer

error: server error. Is Neutron not working properly?

Hi@akhtar, We can't say Neutron is the one ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,460 points
1,181 views
+1 vote
1 answer

error: cannot uninstall 'simplejson', not able to install on Ubuntu 18.04,

Hi@akhtar, This error occurs because of pip install ...READ MORE

answered Mar 20, 2020 in OpenStack by MD
• 95,460 points
8,091 views
0 votes
1 answer

error: 403 forbidden error Missing credentials

Hi@MD, To resolve this missing credentials issue, use ...READ MORE

answered Mar 23, 2020 in OpenStack by akhtar
• 38,260 points
1,228 views
0 votes
1 answer

Can anyone explain me the Architecture of Glance service in OpenStack?

Hi, OpenStack Glance has a client-server architecture that ...READ MORE

answered Mar 16, 2020 in OpenStack by akhtar
• 38,260 points
1,586 views
0 votes
1 answer

What is basic OpenStack Architecture?

Hi@akhtar, Basic Architecture of OpenStack is given below. OpenStack ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,460 points
2,344 views
0 votes
1 answer

How to create an image in OpenStack?

Hi@akhtar, Actually this is the fun in OpenStack. ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,460 points
2,889 views
0 votes
1 answer

How to delete image in OpenStack?

Hi@akhtar, There are two ways to delete an ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,460 points
4,297 views
0 votes
1 answer

Do we need internet connection when installing OpenStack in our own system?

Hi@akhtar, Yes, you need internet connection at the time ...READ MORE

answered Mar 13, 2020 in OpenStack by MD
• 95,460 points
658 views
0 votes
1 answer

What is the meaning of term “Glance” in OpenStack service?

Hi@akhtar, Glance is image service in OpenStack. The ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,460 points
1,387 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP