packstack | Install utility to deploy OpenStack | Continuous Deployment library
kandi X-RAY | packstack Summary
kandi X-RAY | packstack Summary
Install utility to deploy OpenStack on multiple hosts. This is the GitHub mirror for https://opendev.org/x/packstack.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create the VPN plugins
- Tries to build the FW details
- Return whether or not OpenVswitch VXLAN is used
- Add key to the sorted dictionary
- Prepare server setup
- Return a set of all hostnames in the config
- Manage the centos release - release - release repo
- Checks connectivity between two nspaces
- Execute a command
- Create a storage manifest
- Check network status
- Create a builder manifest
- Translate a CIDR address to an IP address
- Append a recipe
- Create and configure dhcp
- Run Packstack install
- Create a compute manifest
- Create self - signed certificate
- Create the manifest
- Install and install puppet packages
- Copy puppet modules to disk
- Create common manifest
- Applies puppet manifest to the config file
- Create l2 agent manifests
- Attempt to connect to a domain socket
- Main entry point
packstack Key Features
packstack Examples and Code Snippets
Community Discussions
Trending Discussions on packstack
QUESTION
I'm new with cloudformation but on currently project have a template that have all resources in a unique file and we try to separate in multiple files with nested stacks option. When I try to deploy templates, execution failed by next message:
...ANSWER
Answered 2021-Nov-18 at 23:37TemplateURL
should be written as the URL in S3, therefore https://...
.
In this doc, written as:
QUESTION
We are using a packstack installation of Openstack-Train with NFS as the backend driver for Cinder.
We are unable to create VMs using qcow2 images which were built from a cinder volume.
Message Build of instance 8056996a-487c-4730-9ee0-f55dbf2fc320 aborted: Volume 7506ee68-6c9f-427c-bb37-ab6213de1b8e did not finish being created even after we waited 80 seconds or 27 attempts. And its status is error. Code 500 Details Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2168, in _do_build_and_run_instance filter_properties, request_spec) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2478, in build_and_run_instance bdms=block_device_mapping, tb=tb) File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in exit self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2428, in _build_and_run_instance request_group_resource_providers_mapping) as resources: File "/usr/lib64/python2.7/contextlib.py", line 17, in enter return self.gen.next() File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2656, in _build_resources reason=e.format_message()) BuildAbortException: Build of instance 8056996a-487c-4730-9ee0-f55dbf2fc320 aborted: Volume 7506ee68-6c9f-427c-bb37-ab6213de1b8e did not finish being created even after we waited 80 seconds or 27 attempts. And its status is error. Created Aug. 25, 2021, 7:15 a.m.
Here are the key configurations made in the cinder.conf
...ANSWER
Answered 2021-Sep-03 at 11:09Managed to fix this by setting the following parameters in the cinder.conf file (/etc/cinder/cinder.conf):
QUESTION
ANSWER
Answered 2021-Mar-18 at 07:24Actually, without external network its not possible.Your instance should have external(public) ip.I'm using this way but you have other option like proxy.
if your Centos7 machine can connect your instance;
Use HaProxy at Centos machine and proxy instance ssh port to specific centos7 port and connect using this port.I'm using this way on microstack.
QUESTION
I deployed openstack packstack (all-in-one) in centos7 server with 8vcpu and 16gb memory. Deployment of packstack openstack successful completed. I can spin instances with flavor with 2gb or less but when use 4g or 6g ith will return fail instantiate error.
...ANSWER
Answered 2021-Jan-17 at 03:21In my experience, recent versions of Packstack are rather memory-hungry. You can use top and sort by VIRT and/or RES to get an idea which components use memory most. Then try switching off parts that you don't need.
On your running server, you could try stopping the corresponding systemd services if you don't need them. You could also look for parameters in /etc//.conf
that configure number of workers, reduce them and restart the service. Example: osapi_compute_workers
in one of the /etc/nova config files.
Alternatively, generate a default answer file and set appropriate parameters like CONFIG_something_INSTALL to "n". I don't know what Packstack installs by default these days; CONFIG_HEAT_INSTALL or CONFIG_CEILOMETER_INSTALL are hot candidates (of course, only if you don't need them). Then reinstall from scratch.
QUESTION
how to setup multiple provider network in openstack packstack. I'm deploying on single server with 4 port nic physical. The setup as below
...ANSWER
Answered 2020-Dec-07 at 00:00I managed to get it works as follows:-
QUESTION
I have successfully deployed openstack packstack (all-in-one) in single VM. I'm running Centos7 VM. Everything work well and able to instantiate VM over native OVS networking. I plan to have OVS-DPDK enable in my openstack. I have gone through some documentation but still not clear how to enable it. I understand Openstack Queens OVS is already DPDK support.I have seen people asking the same but no answer and I would like again to request on how I can have DPDK support to be enabled over my running openstack. Few method to change neutron configuration file or by deploying SDN controller. Hope no need to redeploy..anyway further advise would be much appreciated.
...ANSWER
Answered 2020-Nov-16 at 09:42Openstack and OVS are 2 different processes, which communicates via openflow rules. That is using neutron plugin which is used in OpenStack needs to configured for the ports in use. In OVS one needs to start with controller IP openstack neutron controller
. Hence changes are listed as
- use neutron or similar plugin for network configuration.
- updated the neutron plugin config file for desired ports for OVS.
- OVS vswitchd is started with IP address of controller.
Note: OVS binary needs to be build with DPDK libraries for having DPDK support. Do not expect by installing DPDK on the distro the OVS binary will become DPDK supported.
QUESTION
after few deployment of openstack (packstack all-in-one) I founded that (from hypervisor summary) the local storage size is around 40G-50G. The disk storage that I deployed is actually around 150G and 250G but keep getting around 40-50G in openstack. The same behavior when I run over VM and baremetal. During OS(Centos7) installation I just using default auto setup...all storage size (sda) and never set manual. For example this is the VGS output from VM with 150G storage running openstack
...ANSWER
Answered 2020-Oct-16 at 05:19What do you mean by storage size? If you mean the amount of storage for Cinder volumes, adjust the CONFIG_CINDER_VOLUMES_SIZE parameter. The documentation isn't clear about it, but I think the number is in Gigabytes. However, this only works if your root filesystem has enough space.
If you mean ephemeral storage, you also need to have a root filesystem that is large enough. I see that your system has three LVM volumes for root, swap and home. My suspicion is that your root volume (named centos-root) is too small. If that is the case, create a Centos installation that does not separate root and home and try again.
Adding additional information to answer the below questions:
The storage size reported in the hypervisor summary refers to the space available in Nova's instances directory, probably under /var/lib/nova (not sure). Which is on your root filesystem.
Packstack uses an LVM volume group as the storage backend for Cinder. The physical volume for that volume group resides on a loop device /dev/loop1, which is a file that resides on the root filesystem. Therefore, Cinder's storage does take up space in your root filesystem. Use the command losetup -a
to see that file.
QUESTION
I am attempting to create various instances and Compute is failing to spawn some of them.
My instance has the following characteristics:
Name: ThirdInstance Created from image: CentOS-7-x86_64 Flavor: m1.medium (2 VCPU, 4GB RAM, 40GB Disk)
I have two other instances running. I was unable to spawn these instances unless I used the flavor m1.small (1VCPU, 2GB RAM, 20GB Disk). Any deviation from that flavor and the instance spawning failed.
Unfortunately, my ThirdInstance fails to spawn regardless of the flavor used. I have tried creating it with m1.small and it fails consistently.
I looked at the Nova logs, and am noting that when I attempt to create this instance I am consistently getting the following message in the nova-conductor.log file:
...ANSWER
Answered 2020-Aug-31 at 14:04Seems to me like you have not enough resources, especially CPU-cores. You have written, that your node has only two cores and you had already spawned 2 VMs with small flavor, which requires 1 core each. This No valid host was found
-error comes also, when no compute-host was found with enough resources for the selected flavor.
You can check this by yourself:
Run openstack hypervisor list
to list your hypervisor and then openstack hypervisor show
with the id of your hypervisor. In the output you find vcpus
and vcpus_used
. vcpus
is the maximum available number of cpu-cores on the selected compute-host. Based on the information of your question, I think both of these values are 2
in your case and that would show you, that you have not enough resources for your third VM.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
Install packstack
You can use packstack like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
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