SriniG's profile - activity

2019-03-07 08:20:33 -0600 answered a question How to see the "real" available resources ?

openstack host list (it shows the hostnames/ service/ zone)

| Hostname | Service | Zone | +-----------+-------------+---------------+ | Host Name | Service | Zone | +-----------+-------------+---------------+ | contr00 | consoleauth | internal | | contr00 | scheduler | internal | | contr00 | conductor | internal | | compu00 | compute | build | | compu01 | compute | build | | compu02 | compute | build | | compu03 | compute | build | | compu04 | compute | nova |

+-----------+-------------+---------------+

openstack host show HOSTNAME_From_the_above_output

This will show each hypervisor CPU / RAM / Disk usage +-----------+----------------------------------+-----+-----------+---------+ | Host | Project | CPU | Memory MB | Disk GB | +-----------+----------------------------------+-----+-----------+---------+ | compu00 | (total) | 12 | 96518 | 2656 | | compu00 | (used_now) | 3 | 5067 | 1633 | | compu00 | (used_max) | 75 | 153600 | 2956 | | compu00 | 0ba8f04fe5a145e5a9820454c991b1c7 | 75 | 153600 | 2956 | +-----------+----------------------------------+-----+-----------+---------+

Overall usage

openstack usage list

Usage from 2019-02-07 to 2019-03-08: +---------+---------+--------------+-----------+---------------+ | Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours | +---------+---------+--------------+-----------+---------------+ | jenkin | 803 | 24786055.59 | 12102.57 | 763136.95 | | user | 197 | 512767089.93 | 256350.06 | 8613798.97 | +---------+---------+--------------+-----------+---------------+

2018-11-26 11:42:20 -0600 asked a question How to get a openstack instances report & hypervisor report

Hi Everyone , good day

we have openstack environment in our office, I am new to openstack and I need assistance for the below

we have 1 controller node + 1 Block node + 10 hypervisors added in our environment. (Ubuntu 16.04 + openstack) . we have separate projects and

One of the developer is not able to create new instances , getting this error (then someone said openstack is running out of resources , if I saw the Admin view overview- it has 1/3 utilization in RAM, VCPU is little full , 1/3 utilization in Disk- not sure how it is full)

openstack --os-project-id=0ba8f04fe5a145e5a9820454c991b2c9 --os-user-domain-name=Default --os-auth-url=http://OPENSTACKAPI:5000/v3/ --os-identity-api-version=3 --os-username=test --os-password=TEST server list The request you have made requires authentication. (HTTP 401) (Request-ID: req-ffcab1d8-84cb-4b39-89b6-b1c2d272d906)

So my manager requested me to make a report on open stack utilization.

Can some one please assist me how to get this done 1. How to find the non-utilized instances(not running from the past 30 days ...etc) 2. Do we have any tools to get the utilization metrics in open stack. 3.