Ask Your Question
0

packstack installation could not prefetch nova_flavour provider ' openstack: could not authenticate

asked 2016-11-22 15:42:36 -0500

masber gravatar image

updated 2016-11-22 16:52:42 -0500

Hi,

I am trying to install openstack using packstack in a allinone configuration. However the instalation stops with an eror saying:

Error: Could not prefetch nova_flavour provider 'openstack': Could not authenticate.

this is the command I am using for installation:

packstack --allinone --provision-demo=n --os-neutron-ovs-bridge-mappings=extnet:br-ext --os-neutron-ovs-bridge-interfaces=br-ex:enp1s0f1--os-neutron-ml2-type-drivers=vxlan,flat --ntp-servers=pool.ntp.org

this is what I can see form the /var/tmp/packstack/20161122-170816-DG0QRU/manifests/129.94.72.54_controller.pp.log file:

[mNotice: /Stage[main]/Swift::Storage::Container/Swift::Storage::Generic[container]/Swift::Service[swift-container-replicator]/Service[swift-container-replicator]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Account/Swift::Service[swift-account-reaper]/Service[swift-account-reaper]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Account/Swift::Storage::Generic[account]/Swift::Service[swift-account-replicator]/Service[swift-account-replicator]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Container/Swift::Storage::Generic[container]/Swift::Service[swift-container-auditor]/Service[swift-container-auditor]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Container/Swift::Storage::Generic[container]/Swift::Service[swift-container-server]/Service[swift-container-server]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Account/Swift::Storage::Generic[account]/Swift::Service[swift-account-server]/Service[swift-account-server]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Object/Swift::Storage::Generic[object]/Swift::Service[swift-object-server]/Service[swift-object-server]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Object/Swift::Storage::Generic[object]/Swift::Service[swift-object-replicator]/Service[swift-object-replicator]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Objectexpirer/Swift::Service[swift-object-expirer]/Service[swift-object-expirer]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Object/Swift::Storage::Generic[object]/Swift::Service[swift-object-auditor]/Service[swift-object-auditor]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Account/Swift::Storage::Generic[account]/Swift::Service[swift-account-auditor]/Service[swift-account-auditor]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Proxy/Swift::Service[swift-proxy-server]/Service[swift-proxy-server]: Triggered 'refresh' from 4 events^[[0m
^[[mNotice: /Stage[main]/Swift::Keystone::Auth/Keystone::Resource::Service_identity[swift]/Keystone_user[swift]/password: changed password^[[0m
^[[mNotice: /Stage[main]/Keystone::Roles::Admin/Keystone_user[admin]/password: changed password^[[0m
^[[1;31mError: Could not prefetch nova_flavor provider 'openstack': Could not authenticate^[[0m
^[[1;31mError: Could not authenticate^[[0m
^[[1;31mError: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.medium]/ensure: change from absent to present failed: Could not authenticate^[[0m
^[[1;31mError: Could not authenticate^[[0m
^[[1;31mError: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.small]/ensure: change from absent to present failed: Could not authenticate^[[0m
^[[1;31mError: Could not authenticate^[[0m
^[[1;31mError: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.tiny]/ensure: change from absent to present failed: Could not authenticate^[[0m
^[[1;31mError: Could not authenticate^[[0m
^[[1;31mError: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.xlarge]/ensure: change from absent to present failed: Could not authenticate^[[0m
^[[1;31mError: Could not authenticate^[[0m
^[[1;31mError: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.large]/ensure: change from absent to present failed: Could not authenticate^[[0m
^[[mNotice: /Stage[main]/Glance::Deps/Anchor[glance::service::begin]: Triggered 'refresh ...
(more)
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-30 06:48:01 -0500

amit_bahuguna gravatar image

I got same error after failed installation but fo rme it was misleading error as when flavors were not fetched, it created new flavors like below :

[[mNotice: /Stage[main]/Keystone::Roles::Admin/Keystone_user[admin]/password: changed password^[[0m ^[[mNotice: /Stage[main]/Keystone::Roles::Admin/Keystone_user[admin]/email: defined 'email' as 'root@localhost'^[[0m ^[[mNotice: /Stage[main]/Keystone::Roles::Admin/Keystone_user_role[admin@admin]/roles: roles changed ['admin'] to 'admin _member_ heat_stack_owner'^[[0m ^[[1;31mError: Could not prefetch nova_flavor provider 'openstack': Command: 'openstack ["flavor", "list", "--quiet", "--format", "csv", ["--long", "--all"]]' has been running for more than 40 seconds (tried 3, for a total of 170 seconds)^[[0m ^[[mNotice: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.medium]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.small]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Packstack::Manila::Backend::Generic/Nova_flavor[m1.manila]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.tiny]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.xlarge]/ensure: created^[[0m

So, after following installation logs "controller.pp.log", I found low memory issue for Trove installation on my VM.

edit flag offensive delete link more
0

answered 2016-11-30 23:42:51 -0500

amit_bahuguna gravatar image

In my case, I got the same error during installationit raised same error but then created flavors like below : [[mNotice: /Stage[main]/Keystone::Roles::Admin/Keystone_user_role[admin@admin]/roles: roles changed ['admin'] to 'admin _member_ heat_stack_owner'^[[0m ^[[1;31mError: Could not prefetch nova_flavor provider 'openstack': Command: 'openstack ["flavor", "list", "--quiet", "--format", "csv", ["--long", "--all"]]' has been running for more than 40 seconds (tried 3, for a total of 170 seconds)^[[0m ^[[mNotice: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.medium]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.small]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Packstack::Manila::Backend::Generic/Nova_flavor[m1.manila]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.tiny]/ensure: created^[[0m ^[[mNotice: /Stage[main]/Packstack::Nova::Api/Nova_flavor[m1.xlarge]/ensure: created^[[0m

But my installation failed further on trove installation due to lack of memory.

edit flag offensive delete link more
0

answered 2016-11-26 22:25:59 -0500

masber gravatar image

updated 2017-01-05 00:00:27 -0500

I had a TYPO on my packstack command, the right way is like below:

packstack --allinone --provision-demo=n --os-neutron-ovs-bridge-mappings=extnet:br-ex --os-neutron-ovs-bridge-interfaces=br-ex:enp1s0f1--os-neutron-ml2-type-drivers=vxlan,flat --ntp-servers=pool.ntp.org

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: 2016-11-22 15:42:36 -0500

Seen: 936 times

Last updated: Jan 05 '17