Ask Your Question
0

Understanding Openstack API

asked 2013-05-08 23:57:01 -0500

djangoat gravatar image

updated 2013-05-10 18:48:31 -0500

smaffulli gravatar image
"injected_file_content_bytes": 10240,
"injected_file_path_bytes": 255,
"injected_files": 5,
"metadata_items": 128,

These are some data from the Openstack API

I would like to ask some description regarding the data mentioned above.

I would like to create a module where in a user are able to modify its own tenant settings.

edit retag flag offensive close merge delete

Comments

Hi, the question seems to be very wide and open ended, hard to answer to it on this site. Maybe you want to start a conversation on the General mailing list http://wiki.openstack.org/MailingLists? Is this related to the other question you asked?

smaffulli gravatar imagesmaffulli ( 2013-05-09 17:12:38 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-05-13 16:02:02 -0500

scott-devoid gravatar image

These are quotas, which should only be modified by the administer of the OpenStack deployment using the nova-manage administrative tool:

$ nova-manage project quota --project=ID --key=metadata-items --value=129

Or modified after logging in as an administrator in Horizon and going through the "Admin" > "Project" > "Modify Quotas" tabs.

What do each of these quotas limit?

  • injected_files : maximum number of files that may be supplied with a $ nova boot --file src=dest command.
  • injected_file_content_bytes : maximum size of each file
  • injected_file_path_bytes : maximum length of the file path
  • metadata_items: maximum number of key-value pairs in the metadata. $ nova boot --meta key=val

These attributes have quotas to prevent potential abuse of the system through requests that starve resources (i.e. denial of service). As such, it is a good idea to only modify them if there are legitimate use cases for raising the limits.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-05-08 23:57:01 -0500

Seen: 183 times

Last updated: May 13 '13