python base (34): threads

1. python thread 1.1 Global Interpreter Lock GIL The execution of Python code is controlled by the Python virtual machine (also known as the interpreter main loop).Python was designed to have only one thread executing in the main loop at the same time.Although multiple threads can be "run" in a Python interpreter, only one thread can ...

Posted on Sat, 16 Nov 2019 12:50:59 -0500 by ryanbutler

iaas (openstack) super detailed construction and installation of keystone authentication service

Note: update with the previous blog Because the whole open source openstack installation process is too tedious, the command is too long, too tedious, so the entire installation command is written as a shell script. Too many scripts have been pushed github Source hosting center. This is the content of this script github Warehous ...

Posted on Mon, 11 Nov 2019 17:28:50 -0500 by Azeryk

iaas (openstack) super detailed firewall building operation

This blog introduces the basic operation of firewall in openstack All ports are open here to add firewall rules due to non production environment You can use the neutron basic command to view [root@controller html]# neutron --help | grep fire firewall-create Create a firewall. firewall-delete ...

Posted on Mon, 11 Nov 2019 13:27:22 -0500 by rallen102

iaas (openstack) super detailed setup and installation of Glance image service

Note: update with the previous blog Because the whole open source openstack installation process is too tedious, the command is too long, too tedious, so the entire installation command is written as a shell script. Too many scripts have been pushed github Source hosting center. This is the content of this script github Warehous ...

Posted on Mon, 11 Nov 2019 11:38:11 -0500 by JC99

Configuring the cinder volume service to use ceph as back-end storage

Execute on ceph monitor CINDER_PASSWD='cinder1234!' controllerHost='controller' RABBIT_PASSWD='0penstackRMQ' 1. Create pool pool Create a pool pool for the cinder volume service (since I have only one OSD node, set the number of replicas to 1) ceph osd pool create cinder-volumes 32 ceph osd pool set cinder-volumes size 1 ceph osd pool applicat ...

Posted on Sun, 20 Oct 2019 16:33:32 -0400 by BrianPeiris

Using ubuntu18.04 LTS to deploy opesntack tranning labs for testing

opesntack tranning labs provides a simple way to deploy virtualized OpenStack in a desktop environment. Training Labs supports all modern Linux, Windows and macOS platforms. Before running Training Labs, you need to install VirtualBox or KVM / libvirt. Unzip the compressed file into a folder and prepare to deploy your own OpenStack Training La ...

Posted on Fri, 06 Sep 2019 00:17:12 -0400 by Jewelie

Disclosure of Calico Network Communication Principle

Calico is a pure three-tier data center network solution, and seamlessly integrated Iaas cloud architecture like OpenStack can provide controllable IP communication between VM, container and bare computer. Why is it pure three? Because all data packets are routed to find the corresponding host and conta ...

Posted on Tue, 30 Jul 2019 11:10:04 -0400 by Jackanape

Python Concurrent Programming Multiple Processes

1. What is a process Process: A process or task in progress.The cpu is responsible for the task. Process is the basic unit of resource allocation Processes are composed of code, data, and process control blocks (PCB s) DIFFERENCE BETWEEN PROCESS AND PROCEDURE A program is just a bunch of code, and a process is how a program runs. Give an exampl ...

Posted on Sun, 14 Jul 2019 13:18:28 -0400 by bravo81

openstack login dashboard interface authentication error

openstack displays authentication errors when it opens the dashboard interface and logs in. It has been determined that the domain account passwords are correct. Solution: Look at the log file first: First look at keystone's log 2019-04-03 13:51:36.969 11355 INFO keystone.token.providers.fernet.utils [req-76bb2d23-6fb6-4386-a573-9649962bbbdf ...

Posted on Wed, 03 Apr 2019 18:15:29 -0400 by cluce

OpenStack-Rocky version of stand-alone deployment

1. Installation environment: centos 7.5 192.168.254.10 openstack-server 2. System configuration: [root@localhost ~]# hostname openstack-server.smoke.com [root@openstack-server ~]# vim /etc/hostname openstack-server.smoke.com [root@openstack-server ~]# vim /etc/hosts 192.168.254.10 openstack-server openstack-server.smoke.com [root@openstack-se ...

Posted on Tue, 29 Jan 2019 06:42:15 -0500 by stan801003