יום שני, 21 באפריל 2014

Installing DevStack in ubuntu server

Installing devstack is very easy by following the Official documentation .
however there is an issue of firewalls preventing git access in order to solve it in the devstack/stackrc file
change from
GIT_BASE=${GIT_BASE:-git://git.openstack.org}
to
GIT_BASE=${GIT_BASE:-https://git.openstack.org}

install by
./stack.sh

In case of error before reinstalling call
./clean.sh

After Installing if the Result is ok :
Horizon is now available at http://192.168.1.21/
Keystone is serving at http://192.168.1.21:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: a243a75f003a77249a1b
This is your host ip: 192.168.1.21
stack.sh completed in 1917 seconds.
zvika@zvika-openstack:~/devstack$ 

Note that the machine came to me very loaded in work after installation .

To check the version call:
curl http://192.168.1.21:35357/v2.0/
The result:
{"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://192.168.1.21:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/", "type": "text/html", "rel": "describedby"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf", "type": "application/pdf", "rel": "describedby"}]}}

References:
http://stackoverflow.com/questions/20390267/installing-openstack-errors
http://api.openstack.org/api-ref-guides/bk-api-ref.pdf
http://devstack.org/guides/single-machine.html
http://docs.openstack.org/developer/keystone/api_curl_examples.html
http://devstack.org/


אין תגובות:

הוסף רשומת תגובה