Ask Your Question
0

Help! Unable to create flavors

asked 2017-02-19 11:44:39 -0500

TechGuyChris gravatar image

Hello,

I am unable to create flavors using the "opentstack create flavor" command. When I issue the command:

[root@ctrlnode1 ~]# openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.nano

The output I receive is this:

'flavor'

I am unable to proceed to the next step following the guide because of this issue and I am unable to create flavors. Where do I start with troubleshooting or where are the logs?

I am new to this and the guide doesnt tell me where to locate logs in case of issues that arise. I've also not been able to find anything on this site or stack exchange, stack overflow about issues creating flavors.

I did a strace command and debugged the command I issued but I am not sure where to troubleshoot. I've attached the output from the strace command. I also attached the log form /var/log/nova/nova-api.log

Please help

edit retag flag offensive close merge delete

Comments

What happens to your openstack command points to some inaccuracy when installing the openstack client; try to remove it and reinstall it and watch any error messages. What happens if you use the --debug option?

As a workaround, try the nova flavor-create command.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-19 17:05:12 -0500 )edit

I'm just going to restart on everything :-/ i've troubleshooted for about 6 hours now.

TechGuyChris gravatar imageTechGuyChris ( 2017-02-19 21:43:18 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-19 12:26:07 -0500

dbaxps gravatar image

updated 2017-02-19 14:29:31 -0500

TripleO Master Branch deployed HA Enveronment

][root@overcloud-controller-0 ~]# openstack flavor create --public m1.small --id 2 \
      --ram 1000 --disk 20 --vcpus 1 --rxtx-factor 1 

    +----------------------------+----------+
    | Field                      | Value    |
    +----------------------------+----------+
    | OS-FLV-DISABLED:disabled   | False    |
    | OS-FLV-EXT-DATA:ephemeral  | 0        |
    | disk                       | 20       |
    | id                         | 2        |
    | name                       | m1.small |
    | os-flavor-access:is_public | True     |
    | properties                 |          |
    | ram                        | 1000     |
    | rxtx_factor                | 1.0      |
    | swap                       |          |
    | vcpus                      | 1        |
    +----------------------------+----------+

Current release

    [root@overcloud-controller-0 ~]# rpm -qa \*python-openstackclient\*
    python-openstackclient-3.8.1-0.20170206165751.1e3dc48.el7.centos.noarch

    [root@overcloud-controller-0 ~]# nova-manage --version
    15.0.0
edit flag offensive delete link more

Comments

Thanks. But it still only output the word flavor.

TechGuyChris gravatar imageTechGuyChris ( 2017-02-19 13:25:29 -0500 )edit

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: 2017-02-19 11:44:39 -0500

Seen: 403 times

Last updated: Feb 19 '17