Ask Your Question
0

flavor resource not found 404

asked 2015-03-05 03:57:52 -0500

ivica gravatar image

Hey,

I'm setting up a test lab for personal use following the official [CentOS 7 install guide] ( http://docs.openstack.org/juno/install-guide/install/yum/content/ (http://docs.openstack.org/juno/instal...) )

When I try to run an instance as the demo user (sourced demo-openrc.sh) with this command

nova --debug boot --flavor m1.medium --image cirros-0.3.3-x86_64 --nic net-id=bfc92b52-8202-4333-9aac-401407dd4184 --security-group default --key-name demo-key my-instance

an error states:

ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-b12665bb-e140-4ef7-b29f-3a0361977118

Network list:

neutron net-list
+--------------------------------------+----------+--------------------------------------------------+
| id                                   | name     | subnets                                          |
+--------------------------------------+----------+--------------------------------------------------+
| bfc92b52-8202-4333-9aac-401407dd4184 | demo-net | cea18f08-34e1-4a85-a896-055d056a8a05 10.0.0.0/24 |
| 028f2186-154c-4b77-89c6-617e2e9e9b30 | ext-net  | fd640912-258b-4b96-976c-5ead96ce7c14             |
+--------------------------------------+----------+--------------------------------------------------+

Keypair list:

nova keypair-list
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| demo-key | 8e:f2:de:cf:55:e4:5c:03:f2:7b:bc:f6:ee:fe:d1:d2 |
+----------+-------------------------------------------------+

Flavor list

nova flavor-list
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID                                   | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 2                                    | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      |
| 23dccaa1-9d44-43e9-a09c-3f926e2b2b87 | m1.tiny   | 64        | 1    | 0         |      | 1     | 1.0         | True      |
| 3                                    | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      |
| 4                                    | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      |
| 5                                    | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+

Logs aren't showing anything useful other than successful RabbitMQ connections. I'm attaching nova --debug info for further debugging because it contains one 404 error regarding flavors. http://pastebin.com/2KXpht4V

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2015-03-05 04:49:32 -0500

hey there, try these out

# nova reset-state --active instance name/id
# nova delete instance name/id

and cirros is a test image m1.medium is too much for cirros just provide m1.tiny. my suspicion is lack of availbility of resources.

edit flag offensive delete link more

Comments

Thank you for replying. I'm unable to reset the instance because there is no instance running, it won't start at all. Also, m1.medium is just an example - instances won't start with any flavor (tried with m1.tiny and m1.small)

ivica gravatar imageivica ( 2015-03-05 05:08:14 -0500 )edit

make sure you have installed and runing memcached on both (controller, compute) nodes, also is it possible to ping one from each other using hostnames.

PradeepNaik gravatar imagePradeepNaik ( 2015-03-05 05:24:11 -0500 )edit

Memcached is running on controller, installed it on compute (even thou the manual doesn't mention that) with no luck - instance won't start.

ivica gravatar imageivica ( 2015-03-05 06:03:50 -0500 )edit

firewall_driver=nova.virt.firewall.NoopFirewallDriver #security_group_api=neutron

ie. comment out the security_group as it is futile to have it enabled while the firewall itself is off. Hope this helps!

PradeepNaik gravatar imagePradeepNaik ( 2015-03-05 06:07:56 -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: 2015-03-05 03:57:52 -0500

Seen: 889 times

Last updated: Mar 05 '15