What is the best way for testing the keystone component?

asked 2018-09-23 07:48:48 -0600

mikym7 gravatar image

Hello to everyone! I am a newbie with Opoenstack. As a personal project I need to learn how the Openstack keystone works. I have only one pc with 16 gigabytes of RAM but I hope it is enough just to learn the mechanisms and simulate the basic operation. I saw that there are two different ways to use Opentack on a single machine, namely All in one openstack and devstack. Devstack I read that it automatically installs all the components but does not have parts related to the stop and start and once it is shut down Openstack is not said to restart, while it is not clear to me that components install the installation all in one. Which mode would you recommend to follow? Do you have any suggestions on how I could implement a use case to test and understand the behavior of Keystone?

Thanks a lot

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2018-09-27 06:34:27 -0600

In the past, Devstack used a rather unique way of managing services, which made it hard to restart it. More recently, Devstack uses systemd for service management and is easier to handle, though you need to fix some networking and storage settings after a reboot.

Packstack is another all-in-one setup method, which only works on RHEL and RHEL clones like Centos. In my experience, it also requires a little bit of network adjustment when rebooting, but I haven’t checked it post-Newton.

There are other setup methods that require little effort and should work on your PC, such as OpenStack Ansible, or Kolla.

If you really want to understand how Keystone functions, I would go for a manual installation as recommended by Eranachandran. It takes longer and requires more effort, but the effort is not wasted, since the setup is part of your learning. The installation tutorial uses two nodes, but that’s fine on a 16GB PC.

edit flag offensive delete link more

answered 2018-09-27 02:38:58 -0600

If you are going to use OpenStack for Development Environment, you can go with Devstack. Devstack is an easy Installation method, OpenStack is installed by running a script.

If you want to know about the OpenStack in Infrastructure level, you should go with OpenStack Single Node Installation. In this method, you need to configure these core OpenStack services (keystone, glance, Nova, neutron, Horizon).you can follow this link for Installation https://docs.openstack.org/install-guide/ (https://docs.openstack.org/install-gu...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-09-23 07:48:48 -0600

Seen: 98 times

Last updated: Sep 27 '18