Ask Your Question
1

installation problem with devstack on ubuntu 14.04:error on glance

asked 2014-09-26 16:55:15 -0600

mr_aliagha gravatar image

updated 2014-11-06 07:01:04 -0600

smaffulli gravatar image

Hi, I am going to install full service openstack on single ubuntu 14.04 VM for test purpose. Unfortunately at the step of installing glance I faced with this problem:

2014-09-26 21:46:09.314 | + cp -p '/opt/stack/glance/etc/metadefs/*.json' /etc/glance/metadefs
2014-09-26 21:46:09.316 | cp: cannot stat '/opt/stack/glance/etc/metadefs/*.json': No such file or directory
2014-09-26 21:46:09.316 | + exit_trap
2014-09-26 21:46:09.317 | + local r=1
2014-09-26 21:46:09.317 | ++ jobs -p
2014-09-26 21:46:09.317 | + jobs=
2014-09-26 21:46:09.318 | + [[ -n '' ]]
2014-09-26 21:46:09.318 | + kill_spinner
2014-09-26 21:46:09.318 | + '[' '!' -z '' ']'
2014-09-26 21:46:09.318 | + [[ 1 -ne 0 ]]
2014-09-26 21:46:09.318 | + echo 'Error on exit'
2014-09-26 21:46:09.318 | Error on exit
2014-09-26 21:46:09.318 | + [[ -z /opt/stack/logs ]]
2014-09-26 21:46:09.318 | + /home/openstack/devstack/tools/worlddump.py -d /opt/stack/logs
2014-09-26 21:46:09.377 | + exit 1

I checked and it seems there is no such directory"/opt/stack/glance/etc/metadefs/" Would you please guide me what caused this error and how can I handle it? FYI I used the manual and local.conf from this website: http://www.metalupyouraas.com/2014/04...

Best regards.

edit retag flag offensive close merge delete

5 answers

Sort by » oldest newest most voted
1

answered 2014-09-26 23:00:33 -0600

kristianjf gravatar image

updated 2014-09-26 23:01:22 -0600

I set reclone=yes option to resolve

edit flag offensive delete link more

Comments

Where can we specify this option? Its not in the local.conf

Akshay Patil gravatar imageAkshay Patil ( 2014-11-16 09:19:10 -0600 )edit
1

answered 2014-09-26 21:33:02 -0600

Check the following page: https://github.com/openstack/glance/t...

Put every files on your "/opt/stack/glance/etc/metadefs", that are not existed.

edit flag offensive delete link more
1

answered 2014-09-28 08:57:44 -0600

anurag-kumar gravatar image

I had same issue to solve:

  1. Clone the glance project to a new location git clone https://github.com/openstack/glance.git
  2. Copy metadefs folder from newly cloned glance and paste it to /opt/stack/glance/etc/
  3. do unstack, clean and stack

Hope it helps :)

edit flag offensive delete link more
0

answered 2014-11-06 04:11:48 -0600

git clone https://github.com/openstack-dev/devstack.git (https://github.com/openstack-dev/devs...) -b stable/icehouse

use above for icehouse installation.

you are using the master repository, where as you should use the stable/icehouse reository.

:)

edit flag offensive delete link more
0

answered 2014-10-15 03:30:40 -0600

yoshicide gravatar image

Are you specifying any specific branch other than Juno for Glance in local.conf. If it is so, you better clone devstack not from the master branch but from an other branch. For example, if it is Icehouse

git clone -b stable/icehouse https://github.com/openstack-dev/devstack
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-26 16:55:15 -0600

Seen: 3,580 times

Last updated: Nov 06 '14