发起问题

rajivmucheli 的档案 - activity

2019-07-02 04:19:33 -0500 获得奖牌  受欢迎的问题 (source)
2019-07-02 04:18:58 -0500 获得奖牌  粉丝
2019-03-22 03:11:04 -0500 问了问题 There is no Glance quota check for instance snapshot

If the user creates a snapshot for Compute instances and there is not sufficient quota available (e.g. for object store), the snapshot will fail with a non obvious error for the end user. The error message should point to the missing quota.

When user uploads an image and the swift quota is full, glance just resets the connection without notifying about the actual problem

I found https://bugs.launchpad.net/horizon/+b... but the bp doesnt seem to be implemented. Any suggestions how to proceed?

2019-03-12 00:57:19 -0500 获得奖牌  编辑 (source)
2019-02-28 22:10:31 -0500 获得奖牌  学生 (source)
2019-02-28 03:39:38 -0500 获得奖牌  受欢迎的问题 (source)
2019-02-28 03:39:38 -0500 获得奖牌  著名问题 (source)
2019-02-28 03:39:38 -0500 获得奖牌  热门的问题 (source)
2019-02-28 03:38:08 -0500 问了问题 Are there any encryption options to replace kek and doesnt use HSM for barbican store?

Hi All,

I need to change my barbican secret store in production. I looked into https://docs.openstack.org/barbican/r..., apart KEK all other plugins need a device. Is there a way to stay with the "Simple Crypto Plugin", but change kek?

Regards, Rajiv

2018-05-01 13:31:32 -0500 获得奖牌  著名问题 (source)
2017-11-23 06:45:09 -0500 问了问题 How to change the openstack RC file to use tokens instead of passwd

Hi,

I would like to customise the default openrc file, it would be of great help if could get assistance on How to change the openstack RC file to use tokens instead of passwd.

Regards, Rajiv

2017-10-05 05:41:22 -0500 获得奖牌  受欢迎的问题 (source)
2017-10-05 05:39:00 -0500 问了问题 how to calculate used_ram_mb ?

As per, https://github.com/openstack/nova/blob/master/nova/scheduler/filters/ram_filter.py#L48-L53 (https://github.com/openstack/nova/blo...)

    memory_mb_limit = total_usable_ram_mb * ram_allocation_ratio
    used_ram_mb = total_usable_ram_mb - free_ram_mb
    usable_ram = memory_mb_limit - used_ram_mb

In which nova table can i find total_usable_ram_mb, memory_mb_limit & total_usable_ram_mb ? the remaining details can be found in compute_nodes table.

Or does column memory_mb = total_usable_ram_mb ? in compute_node table

2017-08-24 15:53:38 -0500 获得奖牌  著名问题 (source)
2017-08-02 07:55:50 -0500 获得奖牌  热门的问题 (source)
2017-07-31 07:20:11 -0500 获得奖牌  受欢迎的问题 (source)
2017-07-31 00:59:21 -0500 评论问题 CLI authentication using a token instead of a password?

I would like to know this as well!

2017-07-30 23:01:41 -0500 问了问题 keystoneauth1.exceptions.auth.AuthorizationFailure: Authorization Failed: (http://127.0.0.1/identity/v3/tokens): The resource could not be found. (HTTP 404)

Hi All,

I am trying to install the below prometheus_openstack exporter, on Devstack Pike:

https://github.com/gvauter/prometheus_openstack (https://github.com/gvauter/prometheus...)

All the openstack commands works (with admin credentials), for example:

stack@i331795-devstack:~/devstack$ openstack project list +----------------------------------+--------------------+ | ID | Name | +----------------------------------+--------------------+ | 2d3d2485ba3e4abba3d023737f769e28 | invisible_to_admin | | 39dc7e5682734b55a821f6c7b16ae4ac | alt_demo | | ab7b8e2a24e5425d97fc556d04781b0f | admin | | b84aaa311fdf48bdaf733d8ba0c31679 | service | | bc379373112345eabee389dc6e2806a3 | demo | +----------------------------------+--------------------+

stack@i331795-devstack:~/devstack$ openstack service list +----------------------------------+-------------+----------------+ | ID | Name | Type | +----------------------------------+-------------+----------------+ | 124408cb831a45e0af94df441b35ad4f | cinderv2 | volumev2 | | 12827dffa93643a995675cbf84d2bc17 | glance | image | | 2ec547eb67af4e6da35fc91cd032c121 | cinderv3 | volumev3 | | 4b62270d7d244a0dab1ab7381e5210be | keystone | identity | | 690d2eec94554d7ca7ff6da56edde2e9 | neutron | network | | 6ca258124b8c4ca2837db3320fc43398 | cinder | volume | | 7a00a48b903140569b3c41ad75dd2bb7 | nova | compute | | d6d41cd2847b463584f25217928086ee | nova_legacy | compute_legacy | | efcb5cadc4594e4eb668d2a8b9e3a988 | placement | placement | +----------------------------------+-------------+----------------+

But, while executing openstack_exporter --config config.yaml, as mentioned in the repo, i get the below error:

stack@i331795-devstack:~/devstack$ openstack_exporter --config config.yaml Traceback (most recent call last): File "/usr/local/bin/openstack_exporter", line 21, in <module> start_exporter(yaml.load(args.config), args.port, args.interval) File "/usr/local/lib/python2.7/dist-packages/openstack_exporter/exporter.py", line 12, in start_exporter REGISTRY.register(NovaCollector(config)) File "/usr/local/lib/python2.7/dist-packages/prometheus_client/core.py", line 50, in register names = self._get_names(collector) File "/usr/local/lib/python2.7/dist-packages/prometheus_client/core.py", line 86, in _get_names for metric in desc_func(): File "/usr/local/lib/python2.7/dist-packages/openstack_exporter/collector.py", line 27, in collect auth_url = auth_url) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 176, in __init__ self.authenticate() File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner return wrapped(*args, kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 581, in authenticate resp = self.get_raw_token_from_identity_service(kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 220, in get_raw_token_from_identity_service _("Authorization Failed: %s") % e) keystoneauth1.exceptions.auth.AuthorizationFailure: Authorization Failed: (http://127.0.0.1/identity/v3/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-1f780410-5ea3-4f58-a9d6-119742392351)

Below is the config.yaml:

openstack: username: admin password: secret tenant: admin auth_url: http://127.0.0.1/identity/v3

Troubleshooting: 1. I added the below in keystone.conf

admin_token = gAAAAABZfqcDnDRJ81TnXs6wzTHZlgdJHYeXJRwHbBXSvdaOXhYKVcJLBCdeBjRN9mq8aBYy5_hLGZ516nLqRIo-9r2eG2vt_nYF6Yh0gFy4tH0bmG_1TdZFdjmjAE30Y8fkNXS-Ij5gMBZ8cCO-OQDLkxRtOV8EZS3Z65hnz8Yt6RbN6ScbXYY public_endpoint = http://127.0.0.1/identity/v3

public_endpoint = http://127.0.0.1/identity/v3 admin_endpoint = http://127.0.0.1/identity/v3

  1. /var/log/syslog shows the same authentication error.

  2. I did review this forum but had no luck.

Please check the above and please let me know if further data would be required!!

Regards, Rajiv

2017-07-26 05:43:29 -0500 获得奖牌  热门的问题 (source)
2017-06-21 09:33:36 -0500 获得奖牌  受欢迎的问题 (source)
2017-04-24 05:14:28 -0500 评论问题 how to find the free floatingip per network via postgres?

Thanks, but the o/p of openstack floating ip list to the data in floatingips table is hugely different, any idea why ?

so do we need to consider floating_ip_address or fixed_ip_address to determine free floating ips ?

2017-04-21 16:00:24 -0500 问了问题 How to monitor Cinder Storage capacity with prometheus/grafana ?

Hi,

As the available cinder tables in the below link :

https://ask.openstack.org/en/question/62008/viewing-all-db-tables-in-cinder/ (https://ask.openstack.org/en/question...)

i would like to know if there is any openstack table on the whole which will help me monitor cinder ? i can find sizes for volume, backup, snapshots, etc but i want to know if there is a way to address the below queries :

max storage % Free storage per cinder backend volume count by status per cinder backend.

2017-04-21 16:00:23 -0500 问了问题 how to find the free floatingip per network via postgres?

Hi,

I did research many online blogs / posts but had no luck on how to find the free floatingip per network ?

For example, the below query helps in listing the list of floatingip's based on status: SELECT floating_network_id, COUNT(*) AS gauge, status FROM floatingips WHERE floating_ip_address LIKE '10%' GROUP BY floatingips.floating_network_id, floatingips.status;

it will be great if you could share a command to find free floatingips

  1. is it possible to have a floatingip associated ? whereas fixedip is blank ?
2017-04-21 16:00:23 -0500 问了问题 how to find the free floatingip per network via postgres?

Hi,

I did research many online blogs / posts but had no luck on how to find the free floatingip per network ?

For example, the below query helps in listing the list of floatingip's based on status: SELECT floating_network_id, COUNT(*) AS gauge, status FROM floatingips WHERE floating_ip_address LIKE '10%' GROUP BY floatingips.floating_network_id, floatingips.status;

it will be great if you could share a command to find free floatingips

  1. is it possible to have a floatingip associated ? whereas fixedip is blank ?