Ask Your Question
0

How does an instance with flavor m1.nano (disk = 0, RAM =64) has disk.usage >0 ?

asked 2015-09-10 05:52:22 -0500

abhishek-talwar gravatar image

updated 2015-09-10 15:56:09 -0500

I have installed devstack kilo version of OpenStack and created an instance on it with flavor “m1.nano” that gives a disk of 0 to your instance.

But while checking disk usage of the instance using “disk.usage” meter it gives the output to be greater than 0 so how is it possible ?

**stack@abhishek:/opt/stack/ceilometer$ nova show e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa**
+--------------------------------------+----------------------------------------------------------------+
| Property                             | Value                                                          |
+--------------------------------------+----------------------------------------------------------------+
| OS-DCF:diskConfig                    | AUTO                                                           |
| OS-EXT-AZ:availability_zone          | nova                                                           |
| OS-EXT-SRV-ATTR:host                 | tcs-HP-Compaq-Elite-8300-SFF                                   |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | tcs-HP-Compaq-Elite-8300-SFF                                   |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000002                                              |
| OS-EXT-STS:power_state               | 1                                                              |
| OS-EXT-STS:task_state                | -                                                              |
| OS-EXT-STS:vm_state                  | active                                                         |
| OS-SRV-USG:launched_at               | 2015-09-10T05:24:19.000000                                     |
| OS-SRV-USG:terminated_at             | -                                                              |
| accessIPv4                           |                                                                |
| accessIPv6                           |                                                                |
| config_drive                         | True                                                           |
| created                              | 2015-09-10T05:24:10Z                                           |
| flavor                               | m1.nano (42)                                                   |
| hostId                               | 4a3e03e0a89fbf3790a1b1cd59b1b10acbaad6aa31a4361996d52440       |
| id                                   | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa                           |
| image                                | cirros-0.3.2-x86_64-uec (221c46b3-9619-485e-8f60-0e1a363fc0e5) |
| key_name                             | -                                                              |
| metadata                             | {}                                                             |
| name                                 | vmssasa                                                        |
| os-extended-volumes:volumes_attached | []                                                             |
| progress                             | 0                                                              |
| public network                       | 172.24.4.4                                                     |
| security_groups                      | default                                                        |
| status                               | ACTIVE                                                         |
| tenant_id                            | 5f4f5ee531a441d7bb3830529e611c7d                               |
| updated                              | 2015-09-10T05:24:19Z                                           |
| user_id                              | d04b218204414a1891646735befd449c                               |
+--------------------------------------+----------------------------------------------------------------+

**stack@abhishek:/opt/stack/ceilometer$ nova flavor-show m1.nano**
+----------------------------+---------+
| Property                   | Value   |
+----------------------------+---------+
| OS-FLV-DISABLED:disabled   | False   |
| OS-FLV-EXT-DATA:ephemeral  | 0       |
| disk                       | 0       |
| extra_specs                | {}      |
| id                         | 42      |
| name                       | m1.nano |
| os-flavor-access:is_public | True    |
| ram                        | 64      |
| rxtx_factor                | 1.0     |
| swap                       |         |
| vcpus                      | 1       |
+----------------------------+---------+

**stack@abhishek:/opt/stack/ceilometer$ ceilometer sample-list -m 'cpu_util' -q "resource_id=e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa"**
+--------------------------------------+------------+-------+------------+------+---------------------+
| Resource ID                          | Name       | Type  | Volume     | Unit | Timestamp           |
+--------------------------------------+------------+-------+------------+------+---------------------+
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T10:30:54 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T10:20:54 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T10:10:54 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T10:00:54 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T09:48:25 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T09:38:25 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T09:21:42 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T09:11:42 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T09:01:42 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T08:51:42 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T08:41:42 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T08:31:42 |
| e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0 | B    | 2015-09-10T08:21:42 |


+--------------------------------------+------------+-------+------------+------+---------------------+
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2015-09-10 10:21:51 -0500

Probably a ramdisk, what does df show?

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: 2015-09-10 05:52:22 -0500

Seen: 348 times

Last updated: Sep 10 '15