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 in OpenStack by akhtar
• 4,500 points
16 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 by MD
• 8,870 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 in OpenStack by MD
• 8,870 points
32 views
0 votes
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 in OpenStack by MD
• 8,870 points
189 views
0 votes
1 answer

Missing credentials cause a 403 forbidden error.

Hi@MD, To resolve this issue, use one of ...READ MORE

answered Mar 23 in OpenStack by akhtar
• 4,500 points
19 views
0 votes
1 answer

Could not able to start the instance, getting error in OpenStack.

Hi@akhtar, You can use the bellow given command ...READ MORE

answered Mar 24 in OpenStack by MD
• 8,870 points
26 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 in OpenStack by akhtar
• 4,500 points
23 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 in OpenStack by MD
• 8,870 points
26 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 in OpenStack by MD
• 8,870 points
24 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 in OpenStack by MD
• 8,870 points
20 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 in OpenStack by MD
• 8,870 points
23 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 in OpenStack by MD
• 8,870 points
21 views