devstack | running quickly to develop or extend Open edX services | Continuous Deployment library
kandi X-RAY | devstack Summary
kandi X-RAY | devstack Summary
Get up and running quickly to develop or extend Open edX services
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
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
QUESTION
I want to write openstack/swift middleware. but I don't know where to put my code after development so that I can put it on the pipeline later. According to it's document I have to put it on /opt/stack/swift. but I didn't install openstack-swift via "devstack" so I don't have that path.
what should I do now?
...ANSWER
Answered 2020-Dec-12 at 05:02As I understood we have yo put our middleware code in this path in the proxy node:
/usr/lib/python3/site-packages/swift/common/middleware/MIDDLEWARE_NAME.py
then configuring the /etc/swift/proxy-server.conf
QUESTION
I'm going through the devstack tutorial and I'm trying to setup the Controller Node as explained in the instruction. Unfortinately, I'm getting the following error when running for i in
seq 2 10; do /opt/stack/nova/bin/nova-manage fixed reserve 10.4.128.$i; done
:
ANSWER
Answered 2020-Sep-06 at 20:12The file nova-mange
is actually in /usr/local/bin/nova-manage
QUESTION
I have my clouds config clearly defined in ~/.config/openstack/clouds.yaml
Running the CLI openstack
command works fine (eg: openstack domains list
, etc.)
Trying to run the CLI nova
command (eg: nova service-list
) returns ERROR (CommandError): You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]) or an auth token (via --os-token).
Shouldn't nova
use the same clouds.yaml
config?
Note: This happens on all clouds (switching them with export OS_CLOUD=
) and only fails for nova
..
EDIT: This is not a devstack deployment I can control. I only have the config information for each cloud and admin credentials for making changes as needed.
...ANSWER
Answered 2020-Sep-01 at 14:14You should use the openstack-commands, because the client-libraries like the nova-command are deprecated. So use openstack compute service list
instead of nova service-list
.
Beside this the nova-command also need the same authentification, like the openstack-command, so if your login credentials are in the cloud.yaml, then your nova-command need this too.
QUESTION
I am attempting to install DevStack on a CentOS system. I have performed the necessary setup for running stack.sh, but when I run it I am getting the following failure:
...ANSWER
Answered 2020-Aug-29 at 18:02I have found a solution to my problem:
Do not use Devstack. Use Packstack.
I have even posted a bug report on this problem for Devstack. It doesn't appear that it is going to be fixed in the near future. Consequently, those seeking to create a development installation should use Packstack. I was able to install and run Openstack with Packstack using the instructions provided in:
https://www.linuxtechi.com/install-openstack-centos-8-with-packstack/
QUESTION
I installed Openstack using Devstack on a VirtualBox VM running Ubuntu 18.04. I am trying to create a provider network with the following command:
...ANSWER
Answered 2020-May-15 at 23:19You should use the openstack-client commands like
openstack network create ...
, because the client-commands of the single libraries, like yourneutron net-create
, are deprecated. There are some really special cases, which are only possible with the client-library of the single components, but the most is covered by the openstack-client. Unfortunately there are often used the old commands in documentations, because many documents are not up-to-date.To avoid the error you had, you only need to remove the
--provider:physical_network=physnet_em1
and--provider:segmentation_id=500
from your command. The physical network and vlan-range should be defined within theml2_conf.ini
of the neutron-server, like this for example:
QUESTION
I am trying to install Devstack on Ubuntu 18.04 according to this tutorial. I created the user stack
and the file local.conf
with the following content:
ANSWER
Answered 2020-May-11 at 16:26As the error was related to enum
Python lib (AttributeError: module 'enum' has no attribute 'IntFlag'
), I followed the suggestion of Haken-lid in this question and it worked for me:
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