devstack | quickly installing an OpenStack cloud

 by   openstack Shell Version: queens-eol License: Apache-2.0

kandi X-RAY | devstack Summary

kandi X-RAY | devstack Summary

devstack is a Shell library. devstack has no bugs, it has a Permissive License and it has medium support. However devstack has 1 vulnerabilities. You can download it from GitHub.

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

            kandi-support Support

              devstack has a medium active ecosystem.
              It has 1963 star(s) with 1360 fork(s). There are 240 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              devstack has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of devstack is queens-eol

            kandi-Quality Quality

              devstack has 0 bugs and 0 code smells.

            kandi-Security Security

              devstack has 1 vulnerability issues reported (0 critical, 0 high, 0 medium, 1 low).
              devstack code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              devstack is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              devstack releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of devstack
            Get all kandi verified functions for this library.

            devstack Key Features

            No Key Features are available at this moment for devstack.

            devstack Examples and Code Snippets

            No Code Snippets are available at this moment for devstack.

            Community Discussions

            QUESTION

            Openstack installation issue on ubuntu-18.04
            Asked 2022-Jan-02 at 08:59
            $ cat /etc/issue
            Ubuntu 18.04.6 LTS \n \l
            
            ...

            ANSWER

            Answered 2022-Jan-02 at 05:50

            Does 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:

            Source https://stackoverflow.com/questions/70553278

            QUESTION

            Can't install Devstack for ML2 Mechanism Driver Development
            Asked 2021-Dec-22 at 08:24

            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:16

            I 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/

            Source https://stackoverflow.com/questions/69567932

            QUESTION

            Openstack/devstack Installation - The conflict is caused by: oslo-vmware 3.9.1 depends on suds-jurko>=0.6
            Asked 2021-Oct-14 at 16:44

            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:14

            The 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

            Source https://stackoverflow.com/questions/69516182

            QUESTION

            How To Handle White Space in Forloop from Dynamic Command to Create Directories
            Asked 2021-Aug-06 at 16:07

            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:04

            So 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:

            Source https://stackoverflow.com/questions/68683294

            QUESTION

            How to Account for White Space and Append Strings in Double Quotes in Bash Script
            Asked 2021-Aug-05 at 20:43

            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:43

            You can also use mapfile for an array.

            Source https://stackoverflow.com/questions/68667397

            QUESTION

            Openstack can't find logs from services (nova, neutron etc.)
            Asked 2021-Jun-27 at 19:20

            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:20

            You 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).

            Source https://stackoverflow.com/questions/68150800

            QUESTION

            Setting Openstack compute node with a fake hypervisor
            Asked 2021-May-25 at 14:07

            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:07

            When 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:

            Source https://stackoverflow.com/questions/67677398

            QUESTION

            Install kubernetes cluster in devstack
            Asked 2021-May-09 at 04:35

            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.

            1. 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.
            2. 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:35

            Hoping 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.

            Source https://stackoverflow.com/questions/67453631

            QUESTION

            How to handle multiple bambooinstances with one bamboo.yaml
            Asked 2021-Mar-16 at 11:40

            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:40

            FYI: 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 :)

            Source https://stackoverflow.com/questions/66650909

            QUESTION

            Cant access OpenStack instance from other devices
            Asked 2021-Mar-11 at 08:28

            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:21
            ADMIN_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
            

            Source https://stackoverflow.com/questions/66382070

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install devstack

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/openstack/devstack.git

          • CLI

            gh repo clone openstack/devstack

          • sshUrl

            git@github.com:openstack/devstack.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Shell Libraries

            awesome

            by sindresorhus

            ohmyzsh

            by ohmyzsh

            realworld

            by gothinkster

            nvm

            by nvm-sh

            papers-we-love

            by papers-we-love

            Try Top Libraries by openstack

            openstack

            by openstackPython

            nova

            by openstackPython

            swift

            by openstackPython

            openstack-ansible

            by openstackPython

            neutron

            by openstackPython