0

I tried installing devstack OpenStack-liberty on Ubuntu 14.04 Using VM Virtualbox. I want to integrate nova,swift,cinder along with OpenStack. I have enabled services for cinder in localrc file. After trying so many times i.e stacking(run ./stack.sh) and unstacking ,I ended up getting the same error:

'c-api did not start'

enter image description here

Gynteniuxas
  • 7,035
  • 18
  • 38
  • 54
NaveeNeo
  • 205
  • 3
  • 13
  • Hello, I have edited your question and removed a link to image. Instead, it is better to show a picture itself. :). Also, you can show error messages in quotes so it's easier to see. Good luck. – Gynteniuxas Jul 10 '16 at 10:49
  • 1
    Thank you Sir for your suggestion. i will do that for my next questions. – NaveeNeo Jul 11 '16 at 18:11
  • No problems. It's just a little pity nobody knows the answer to your problem. – Gynteniuxas Jul 11 '16 at 18:44

2 Answers2

1

The problem was due to resources. I was using 4GB RAM which was not sufficient. Few APIs consume more RAM while starting. Openstack Installation console waits for a while and expects APIs to start, which wasn't happening in my case due to less dedicated RAM since I was using 4GB of RAM in which only 2.5GB RAM was given to my VM.

After struggling few days I got to know the issue and upgraded my system's RAM to 8GB, and it worked! So I suggest people who want to work with Openstack-Swift and Openstack-Neutron should dedicate minimum of 5.5GB to VM!

Tomerikoo
  • 18,379
  • 16
  • 47
  • 61
NaveeNeo
  • 205
  • 3
  • 13
0

I had the same problem (only 4GB RAM) in an old laptop. My solution was to modify the variable $SERVICE_TIMEOUT to 160 in the /devstack/stackrc file.