Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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.

Any advise?

thank you

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

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

Any advise?

thank you

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

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' from 2 events^[[0m
^[[mNotice: /Stage[main]/Glance::Registry/Service[glance-registry]: Triggered 'refresh' from 1 events^[[0m
^[[mNotice: /Stage[main]/Glance::Api/Service[glance-api]: Triggered 'refresh' from 1 events^[[0m
^[[mNotice: /Stage[main]/Glance::Deps/Anchor[glance::service::end]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Object/Swift::Service[swift-object-updater]/Service[swift-object-updater]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Cinder::Deps/Anchor[cinder::service::end]: Triggered 'refresh' from 4 events^[[0m
^[[1;31mError: Could not prefetch cinder_type provider 'openstack': Could not authenticate^[[0m
^[[1;31mError: Could not authenticate^[[0m
^[[1;31mError: /Stage[main]/Packstack::Cinder::Backend::Lvm/Cinder::Type[iscsi]/Cinder_type[iscsi]/ensure: change from absent to present failed: Could not authenticate^[[0m
^[[mNotice: /Stage[main]/Swift::Storage::Container/Swift::Service[swift-container-updater]/Service[swift-container-updater]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Swift::Deps/Anchor[swift::service::end]: Triggered 'refresh' from 14 events^[[0m
^[[mNotice: /Stage[main]/Neutron::Deps/Anchor[neutron::config::end]: Triggered 'refresh' from 4 events^[[0m
^[[mNotice: /Stage[main]/Neutron::Db::Mysql/Openstacklib::Db::Mysql[neutron]/Openstacklib::Db::Mysql::Host_access[neutron_%]/Mysql_user[neutron@%]/password_hash: password_hash changed '*A89C7E711552278E10C28DFDB3243246ED9A0BB2' to '*529B77B3399BD63610D7788FE33204B8F553E5D9'^[[0m
^[[mNotice: /Stage[main]/Neutron::Deps/Anchor[neutron::db::end]: Triggered 'refresh' from 1 events^[[0m
^[[mNotice: /Stage[main]/Neutron::Deps/Anchor[neutron::dbsync::begin]: Triggered 'refresh' from 1 events^[[0m
^[[mNotice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Neutron::Deps/Anchor[neutron::dbsync::end]: Triggered 'refresh' from 1 events^[[0m
^[[mNotice: /Stage[main]/Neutron::Deps/Anchor[neutron::service::begin]: Triggered 'refresh' from 2 events^[[0m
^[[mNotice: /Stage[main]/Neutron::Server/Service[neutron-server]: Triggered 'refresh' from 1 events^[[0m
^[[mNotice: /Stage[main]/Neutron::Deps/Anchor[neutron::service::end]: Triggered 'refresh' from 1 events^[[0m
^[[mNotice: Finished catalog run in 658.31 seconds^[[0m

this is what I can see form the /var/tmp/packstack/20161122-170816-DG0QRU/openstack-setup.log file:

cd /var/tmp/packstack/20161122-170816-DG0QRU/hieradata
tar --dereference -cpzf - ../hieradata | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@129.94.72.54 tar -C /var/tmp/packstack/00367dca314a4816a8a612862be8dd97 -xpzf -
cd /usr/lib/python2.7/site-packages/packstack/puppet
cd /var/tmp/packstack/20161122-170816-DG0QRU/manifests
tar --dereference -cpzf - ../manifests | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@129.94.72.54 tar -C /var/tmp/packstack/00367dca314a4816a8a612862be8dd97 -xpzf -
cd /usr/share/openstack-puppet/modules
tar --dereference -cpzf - aodh apache ceilometer certmonger cinder concat firewall glance gnocchi heat horizon inifile ironic keystone manila memcached mongodb mysql neutron nova nssdb openstack openstacklib oslo packstack rabbitmq redis remote rsync sahara ssh stdlib swift sysctl tempest trove vcsrepo vswitch xinetd | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@129.94.72.54 tar -C /var/tmp/packstack/00367dca314a4816a8a612862be8dd97/modules -xpzf -
2016-11-22 17:20:08::ERROR::run_setup::1018::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 993, in main
    single_step_aio_install(options, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 760, in single_step_aio_install
    single_step_install(options, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 791, in single_step_install
    _main(options, answerfilepath, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 214, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 128, in wait_for_puppet
    validate_logfile(log)
  File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile
    raise PuppetError(message)
PuppetError: Error appeared during Puppet run: 129.94.72.54_controller.pp
Error: Could not prefetch nova_flavor provider 'openstack': Could not authenticate^[[0m
You will find full trace in log /var/tmp/packstack/20161122-170816-DG0QRU/manifests/129.94.72.54_controller.pp.log

2016-11-22 17:20:08::INFO::shell::94::root:: [129.94.72.54] Executing script:
rm -rf /var/tmp/packstack/00367dca314a4816a8a612862be8dd97

Any advise?

thank you