← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362623] [NEW] Check for the max personality files fails

 

Public bug reported:

I tried to create a nova server injecting 7 files, when i checked the
max number of files allowed for that Tenant through  nova absolute-
limits is 6.

Ideally i guess it should throw an error saying the limit got exceeded

nova --version 2.18.1.32

steps i followed

1)  nova  boot  --flavor m1.tiny --image c60462a7-07e3-4703-bbab-
baeaa6b7a2fb --file /home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
/home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
/home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
/home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
/home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
/home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
/home/cirros/abctxt=/home/ubuntu/bsk/abc1   bsk1

Server got created

2) nova absolute-limits
+-------------------------+-------+
| Name                    | Value |
+-------------------------+-------+
| maxServerMeta           | 128   |
| maxPersonality          | 6     |
| maxImageMeta            | 128   |
| maxPersonalitySize      | 10240 |
| maxTotalRAMSize         | 51200 |
| maxSecurityGroupRules   | 20    |
| maxTotalKeypairs        | 100   |
| totalRAMUsed            | 4736  |
| maxSecurityGroups       | 10    |
| totalFloatingIpsUsed    | 0     |
| totalInstancesUsed      | 10    |
| totalSecurityGroupsUsed | 1     |
| maxTotalFloatingIps     | 10    |
| maxTotalInstances       | 15    |
| totalCoresUsed          | 10    |
| maxTotalCores           | 20    |
+-------------------------+-------+

i even checked the limits for nova quota-class-show  for the tenant
'demo' i am working on.

3) nova quota-class-show demo
+-----------------------------+-------+
| Quota                       | Limit |
+-----------------------------+-------+
| instances                   | 10    |
| cores                       | 20    |
| ram                         | 51200 |
| floating_ips                | 10    |
| fixed_ips                   | -1    |
| metadata_items              | 128   |
| injected_files              | 5     |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes    | 255   |
| key_pairs                   | 100   |
| security_groups             | 10    |
| security_group_rules        | 20    |
+-----------------------------+-------+

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: absolute-limits nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1362623

Title:
  Check for the max personality files fails

Status in OpenStack Compute (Nova):
  New

Bug description:
  I tried to create a nova server injecting 7 files, when i checked the
  max number of files allowed for that Tenant through  nova absolute-
  limits is 6.

  Ideally i guess it should throw an error saying the limit got exceeded

  nova --version 2.18.1.32

  steps i followed

  1)  nova  boot  --flavor m1.tiny --image c60462a7-07e3-4703-bbab-
  baeaa6b7a2fb --file /home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
  /home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
  /home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
  /home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
  /home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
  /home/cirros/abctxt=/home/ubuntu/bsk/abc1 --file
  /home/cirros/abctxt=/home/ubuntu/bsk/abc1   bsk1

  Server got created

  2) nova absolute-limits
  +-------------------------+-------+
  | Name                    | Value |
  +-------------------------+-------+
  | maxServerMeta           | 128   |
  | maxPersonality          | 6     |
  | maxImageMeta            | 128   |
  | maxPersonalitySize      | 10240 |
  | maxTotalRAMSize         | 51200 |
  | maxSecurityGroupRules   | 20    |
  | maxTotalKeypairs        | 100   |
  | totalRAMUsed            | 4736  |
  | maxSecurityGroups       | 10    |
  | totalFloatingIpsUsed    | 0     |
  | totalInstancesUsed      | 10    |
  | totalSecurityGroupsUsed | 1     |
  | maxTotalFloatingIps     | 10    |
  | maxTotalInstances       | 15    |
  | totalCoresUsed          | 10    |
  | maxTotalCores           | 20    |
  +-------------------------+-------+

  i even checked the limits for nova quota-class-show  for the tenant
  'demo' i am working on.

  3) nova quota-class-show demo
  +-----------------------------+-------+
  | Quota                       | Limit |
  +-----------------------------+-------+
  | instances                   | 10    |
  | cores                       | 20    |
  | ram                         | 51200 |
  | floating_ips                | 10    |
  | fixed_ips                   | -1    |
  | metadata_items              | 128   |
  | injected_files              | 5     |
  | injected_file_content_bytes | 10240 |
  | injected_file_path_bytes    | 255   |
  | key_pairs                   | 100   |
  | security_groups             | 10    |
  | security_group_rules        | 20    |
  +-----------------------------+-------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1362623/+subscriptions


Follow ups

References