Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ OpenStack Folsom create an instance of the failure of the Quota Fixed_IP articles     - iptables allow only specific ip address to access the specified port (Linux)

- Linux Operating System Security Management Experience (Linux)

- Ubuntu 14.04 + xRDP + Xfce implement Windows Remote Desktop Connection (Linux)

- Kibana Apache Password Authentication (Server)

- CentOS 7 x64 compiler installation Tengine 2.0.3 Comments (Server)

- Virtual Judge environment to build and configure under Ubuntu (Server)

- Use libcurl library download url image (Programming)

- VirtualBox - Linux system virtual machine shared folders (Linux)

- ORA-30926 and MERGE tables empty the temporary occupation problem (Database)

- RHEL7 unattended automatic installation DHCP + TFTP + SYSLINUX + TFTP + Kickstart (Linux)

- Linux firewall rules example Extracts (Linux)

- 14.04.3 Ubuntu configuration and successfully compiled source code Android 6.0 r1 (Programming)

- Java Generics (Programming)

- Linux command in the dialog whiptail (Linux)

- cp: omitting directory error solutions under Linux (Linux)

- Git you do not know about some of the things (Linux)

- Oracle bug Ora-04043 (Database)

- Linux system - The understanding cpu load (Linux)

- Simple security measures to reinforce the Linux kernel (Linux)

- Shell array: Define Shell array, the array length (Programming)

 
         
  OpenStack Folsom create an instance of the failure of the Quota Fixed_IP articles
     
  Add Date : 2018-11-21      
         
         
         
  OpenStack Folsom has a BUG, ​​that is Fixed_Ips quota issue

Check out the official documentation obtained, the default quota of quota OpenStack
Table 3.1. Description of nova.conf file configuration options for quotas
Configuration option = Default value (Type) Description
quota_cores = 20

(IntOpt) number of instance cores allowed per project (tenant)

quota_floating_ips = 10

(IntOpt) number of floating ips allowed per project (tenant)

quota_gigabytes = 1000

(IntOpt) number of volume gigabytes allowed per project (tenant)

quota_injected_file_content_bytes = 10240

(IntOpt) number of bytes allowed per injected file

quota_injected_file_path_bytes = 255

(IntOpt) number of bytes allowed per injected file path

quota_injected_files = 5

(IntOpt) number of injected files allowed

quota_instances = 10

(IntOpt) number of instances allowed per project (tenant)

quota_key_pairs = 100

(IntOpt) number of key pairs allowed per user

quota_metadata_items = 128

(IntOpt) number of metadata items allowed per instance

quota_ram = 51200

(IntOpt) megabytes of instance ram allowed per project (tenant)

quota_security_group_rules = 20

(IntOpt) number of security rules per security group

quota_security_groups = 10

(IntOpt) number of security groups per project (tenant)

quota_volumes = 10

(IntOpt) number of volumes allowed per project (tenant)

Which does not indicate Fixed_Ips parameters and configuration, and use in Dashboard Administrator console to view the default when the default Quota
In the Project can Modify Quotas functionality of the console, also found no editable items Fix_Ips
Now and then configure official Nova documentation indicating Quotas default values ​​can be configured by modifying the configuration file /etc/nova/nova.conf nova official documents Address: http: //docs.openstack.org/folsom/openstack-compute/admin/ content / list-of-compute-config-options.html, where quotas on the configuration parameters as follows:

 

Table 5.8. Description of nova.conf file configuration options for quotas
Configuration option = Default value

(Type) Description

max_age = 0

(IntOpt) number of seconds between subsequent usage refreshes

quota_cores = 20

(IntOpt) number of instance cores allowed per project (tenant)

quota_driver = nova.quota.DbQuotaDriver

(StrOpt) Default driver to use for quota checks

quota_floating_ips = 10

(IntOpt) number of floating ips allowed per project (tenant)

quota_gigabytes = 1000

(IntOpt) number of volume gigabytes allowed per project (tenant)

quota_injected_file_content_bytes = 10240

(IntOpt) number of bytes allowed per injected file

quota_injected_file_path_bytes = 255

(IntOpt) number of bytes allowed per injected file path

quota_injected_files = 5

(IntOpt) number of injected files allowed

quota_instances = 10

(IntOpt) number of instances allowed per project (tenant)

quota_key_pairs = 100

(IntOpt) number of key pairs allowed per user

quota_metadata_items = 128

(IntOpt) number of metadata items allowed per instance

quota_ram = 51200

(IntOpt) megabytes of instance ram allowed per project (tenant)

quota_security_group_rules = 20

(IntOpt) number of security rules per security group

quota_security_groups = 10

(IntOpt) number of security groups per project (tenant)

quota_volumes = 10

(IntOpt) number of volumes allowed per project (tenant)

reservation_expire = 86400

(IntOpt) number of seconds until a reservation expires

until_refresh = 0

(IntOpt) count of reservations until usage is refreshed

Look carefully, none of which about Fixed_Ips configuration, more doubts, but the problem does not exist, create an error occurs when more than 10 instances in the Project, the log shows the error reads as follows:

2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] Traceback (most recent call last):
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/dist-packages/nova/compute/manager .py ", line 749, in _spawn
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] block_device_info)
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/dist-packages/nova/exception.py ", line 117, in wrapped
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] temp_level, payload)
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] self.gen.next ()
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/dist-packages/nova/exception.py ", line 92, in wrapped
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] return f (* args, ** kw)
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt /driver.py ", line 1086, in spawn
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] block_device_info = block_device_info)
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt /driver.py ", line 1863, in to_xml
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] rescue, block_device_info)
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt /driver.py ", line 1821, in get_guest_config
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] cfg = self.vif_driver.plug (instance, (network, mapping))
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt /vif.py ", line 111, in plug
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] return self._get_configurations (instance, network, mapping)
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt /vif.py ", line 68, in _get_configurations
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] conf.add_filter_param ( "IP", mapping [ 'ips'] [0] [' ip '])
2013-04-24 12:14:05 10555 TRACE nova.compute.manager [instance: cc8a04a5-c320-464a-b21c-9014ce3e56ca] IndexError: list index out of range

Puzzling, Google has not found the problem, the official said only bug fixes have modified the BUG, ​​and in the latest version of Grizzly has no such problem, but did not give Folsom and Essex Edition version of the solution, so , take chances, according to official documents Quota other configuration parameters in the file, add a nova.conf configuration:

quota_fixed_ips = 100

Then restart nova Service

cd /etc/init.d/; for i in $ (ls nova- *); do sudo service $ i restart; done

In the control nodes and network nodes perform again, back to the Dashboard console and saw Quotas in Fixed Ips has changed, and then create an instance of the normal, the problem is solved.
     
         
         
         
  More:      
 
- How UTorrent download the ISO image from the command line (Linux)
- How to use the ps command to monitor progress in the implementation of Linux commands (Linux)
- Linux system Iptables Firewall User Manual (Linux)
- CentOS7 Kubernetes used on container management (Server)
- These days have been tossing in the Linux under the ASP.NET 5, on the next in the other operating systems in the ASP.NET 5 or. NET applications, in order to complete the MS VM (CoreCLR) run is not far Reach, the effect of the application.

Cur
(Server)
- C / C ++ language variable scope: local variables, global variables, file-level variables (Programming)
- ORA-08102 errors (Database)
- Use SecureCRT to transfer files between local and remote hosts (Linux)
- How to manage your to-do list with the Go For It on Ubuntu (Linux)
- Linux environment installation of rvm and ruby (Linux)
- Linux system security infrastructure Highlights (Linux)
- Android LayoutInflater source parsing (Programming)
- Hadoop new and old version of the difference in the size of the InputSplit (Server)
- CentOS minimal network is unavailable resolved (Linux)
- CentOS / Linux SELinux Close (Linux)
- 8 Git tips (Linux)
- Sturdy build secure Linux server (Linux)
- Let MySQL 5.6 support Emoji expression (Database)
- Linux foreground to background process switch (Linux)
- Linux protobuf-c (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.