devstack | quickly installing an OpenStack cloud
kandi X-RAY | devstack Summary
kandi X-RAY | devstack Summary
System for quickly installing an OpenStack cloud from upstream git for testing and development. Mirror of code maintained at opendev.org.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of devstack
devstack Key Features
devstack Examples and Code Snippets
Community Discussions
Trending Discussions on devstack
QUESTION
$ cat /etc/issue
Ubuntu 18.04.6 LTS \n \l
...ANSWER
Answered 2022-Jan-02 at 05:50Does the support for Ubuntu 18.04.6 LTS (bionic) deprecated?
Not exactly.
As a general rule, the latest version of the script targets the latest supported (by Openstack) versions of the host operating systems. Older versions may work. But there might be minor issues ... that someone with the ability to read / diagnose shell scripts ought to be able to figure out.
If you need a version of the script that explicitly supports (say) Bionic, there will be one in the Git6 repo history.
(This is in line with general OpenStack Ubuntu support. The latest OpenStack release is Wallably and Wallaby no longer supports Bionic. The Bionic -> Focal cross-over release of Openstack was Ussuri; see https://ubuntu.com/openstack/docs/supported-versions. Note that Devstack is not an official OpenStack product, but they are effectively forced to track the "supported release" rules, at least loosely.)
The version of the Devstack script that you checked out does not explicitly supports Focal rather than Bionic.
If you look at https://opendev.org/openstack/devstack/src/branch/master/stack.sh on line 230, it currently says:
QUESTION
I want to develop a Neutron ML2 mechanism driver. The reason is because I want that my own implementation of a software L2 Switch and my own Network Management Agent is able to interact with OpenStack. I have never worked with OpenStack before, but as I have been reading out there, the first thing I have to do is to install Devstack on a VM in order to be able to test the driver. However, I am really struggling on getting Devstack installed on the VM. The installer is always complaining about broken/incompatible dependencies, and when I try to fix them, it just takes forever to install.
Following the official documentation does not work for me, it always complains about broken dependencies.
Perhaps someone can point me to an exact distribution/OS version and an OpenStack version that will work for sure?
...ANSWER
Answered 2021-Oct-20 at 03:16I recently installed and ran devstack successfully on Ubuntu 20.04. I also followed the devstack guide you recommended. The only additional steps I did before starting was to first apt update
and then install git
.
I usually have to set HOST_IP
in local.conf
to my servers ip address as well.
This is where you can download Ubuntu 20.04: https://releases.ubuntu.com/20.04/
QUESTION
I am trying to install devstack on Ubuntu 18.04, using the guide in https://docs.openstack.org/devstack/latest/.
Installation fails with the error,
...ANSWER
Answered 2021-Oct-13 at 06:14The issue is that suds-jurko
is incompatible with the setuptools 58.0. You would need to downgrade to setuptools 57.5.0, e.g. pip install setuptools==57.5.0
, but it's possible that devstack will upgrade it again.
The real solution is a set of upstream patches that are already in the works to fix this, but isn't merged yet (as of this post). https://review.opendev.org/c/openstack/oslo.vmware/+/813377
QUESTION
So I have a for loop that spits out the information I want (A list of OpenStack Projects), and I want it to make directories for me. However, sometimes, people name their projects with whitespaces in between and I need to account for it. Here is an example of the output from my command:
...ANSWER
Answered 2021-Aug-06 at 15:04So unfortunately I couldn't use the regular for-loop syntax to achieve this. Instead I had to use a while loop (many thanks to Jetchisel on helping me acheive this outcome). The following method worked for me:
QUESTION
Hi so I have a task whereby which I need to move over projects from one cluster to another. The only way I can do that is if I re-create the projects. I have a script that works and gathers the listed projects within a running OpenStack cluster, but I need to be able to take the file I store out and use it to re-create the projects.
Here is the script that gathers the available projects:
...ANSWER
Answered 2021-Aug-05 at 20:43You can also use mapfile
for an array.
QUESTION
I have installed Openstack Ussuri and Wallaby (two different VMs) using devstack on Ubuntu 18.04 and 20.04 machines (more than one). I'm capable of spawning instances (using openstack server create
) and all is good. However, I wish to see the logs of the system, which suppose to be at /var/logs/
(according to this official doc). However, I have no such directories at all, even after getting an error on instance spawning.
I have checked, and at the nova.conf
I have: debug = True
, I do get the logs from the RabbitMQ, OpenVSwitch and so on, but not from any of the openstack services.
I even searched my entire filesystem for a file that contains nova
and log
and there is nothing.
ANSWER
Answered 2021-Jun-27 at 19:20You can still configure the services to log to a file, but keep in mind that you need to rotate the logs otherwise they will eventually fill up the disk.
To enable logs just add log_file
under the [DEFAULT]
section of the service configuration (e.g. /etc/nova/nova.conf
).
QUESTION
I'm trying to set up openstack compute nodes that mimics a real node, however never actually sets up the VMs on a physical host.
In the openstack tests, there are usages of fake drivers (defined in nova/virt/fake.py
) through a complex system of testing classes.
I wish to get such a node up and running not within a test (meaning, I don't want to use these classes to spawn the compute node), but on an actual VM/container, however, I cannot figure out how to get a compute process to run with this fake hypervisor (or more specifically, one that will be defined by me).
How do I inject this fake driver instead of the real driver in a compute node?
(also, I'm installing OS using devstack (latest))
For more clarification, my goal is to do stress testing of OS, running multiple fake compute nodes, not in all-in-one configuration. The usage of devstack to setup the controller node is for simplifying the process, but the system should be:
- A controller node, running the core services (Nova, Glance, Keystone etc.).
- Multiple compute nodes, using fake hypervisors on different machines.
ANSWER
Answered 2021-May-25 at 14:07When installing a new compute node, there is a configuration file nova-compute.conf
that is being created automatically.
It seems that in /etc/nova/nova-compute.conf
there is an option:
QUESTION
I have installed devstack in my server as per this steps and I was looking for some updated instructions to install kubernates cluster in it. Even though my question is on kubernetes I would like to clarify few points.
- Is Openstack opensource ? or the opensource version is called devstack. Because I was trying to install a production ready environment but everywhere I see examples to install devstack or the one is few years old.
- How to Install Openstack not Devstack
And finally can someone please help me with instruction to install kubernetes on devstack as thats the one I could install now and I guess the instructions would be almost similar.
I know there are posts but almost all of them are few years old so a help would be greatly appreciated.
...ANSWER
Answered 2021-May-09 at 04:35Hoping that it is allowed to reference my own work: I wrote a short series of articles about Kubernetes on Devstack, both Kubernetes from scratch and using OpenStack Magnum.
The document that you used to install OpenStack describes not Devstack, but Microstack.
OpenStack is 100% open-source, yes. See https://www.openstack.org/.
Devstack is one of the many ways to deploy an OpenStack cloud. Its original purpose is to set up a test environment for OpenStack developers, and not so much to be user-friendly, but it is often used for training or proof-of-concept.
There are many other deployment methods: Microstack (easy but not very flexible), Packstack (requires RHEL or Centos), Tripleo (also requires RHEL or Centos and a bit more powerful hardware), Kolla-Ansible, and the best method for learners in my opinion: Manual setup. This list is far from complete.
QUESTION
I have a bamboo.yaml (same project) which is used on 2 diffrent Bambooservers - this is needed (cause of staging concept and other stufff)
The buildjobs differ a bit on those bambooinstances, i could solve this by using global-variables and conditional Task. Like this:
...ANSWER
Answered 2021-Mar-16 at 11:40FYI: Found a Solution
its possible to define the bamboo-server name in the yaml - bamboo will skip the configurations which have another servername as itself :)
QUESTION
I have done a DevStack installation of OpenStack on a server.
I have added ICMP and SSH rules to the security group. And have made instances on it.
I can ssh and ping these instances from the host machine.
Now the problem is that I'm unable to ssh or even ping my instances from other machines on this network. And the fun part is that these instances can ssh/ping other machines and even ping my other server and ssh VM's on this server.
I hope I made sense but if you have more to ask, please let me know
...ANSWER
Answered 2021-Mar-01 at 13:21ADMIN_PASSWORD=openstack
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=192.168.4.72
enable_service s-proxy s-object s-container s-account
SWIFT_REPLICAS=1
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
enable_service h-eng h-api h-api-cfn h-api-cw
enable_plugin heat git://git.openstack.org/openstack/heat
FLOATING_RANGE=192.168.4.240/29
FLAT_INTERFACE=eno1
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install devstack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page