Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 695218 Details for
Bug 909441
packstack fails to setup nova db
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
packstack output, ifconfig, mysql users table
packstack (text/plain), 16.74 KB, created by
Jon Thomas
on 2013-02-08 19:35:19 UTC
(
hide
)
Description:
packstack output, ifconfig, mysql users table
Filename:
MIME Type:
Creator:
Jon Thomas
Created:
2013-02-08 19:35:19 UTC
Size:
16.74 KB
patch
obsolete
>$packstack >Welcome to Installer setup utility >Should Packstack install Glance image service [y|n] [y] : >Should Packstack install Cinder volume service [y|n] [y] : >Should Packstack install Nova compute service [y|n] [y] : >Should Packstack install Horizon dashboard [y|n] [y] : >Should Packstack install Swift object storage [y|n] [n] : >Should Packstack install Openstack client tools [y|n] [y] : >Enter list of NTP server(s). Leave plain if packstack should not install ntpd on instances.: >Enter the path to your ssh Public key to install on servers [/root/.ssh/id_rsa.pub] : >Enter the IP address of the MySQL server [192.168.2.113] : 10.0.10.3 >Enter the password for the MySQL admin user : >Enter the IP address of the QPID service [192.168.2.113] : 10.0.10.3 >Enter the IP address of the Keystone server [192.168.2.113] : 10.0.10.3 >Enter the IP address of the Glance server [192.168.2.113] : 10.0.10.3 >Enter the IP address of the Cinder server [192.168.2.113] : 10.0.10.3 >Enter the IP address of the Nova API service [192.168.2.113] : 10.0.10.3 >Enter the IP address of the Nova Cert service [192.168.2.113] : 10.0.10.3 >Enter the IP address of the Nova VNC proxy [192.168.2.113] : 10.0.10.3 >Enter a comma separated list of IP addresses on which to install the Nova Compute services [192.168.2.113] : 10.0.10.3 >Enter the Private interface for Flat DHCP on the Nova compute servers [eth1] : >Enter the IP address of the Nova Network service [192.168.2.113] : 10.0.10.3 >Enter the Public interface on the Nova network server [eth0] : >Enter the Private interface for Flat DHCP on the Nova network server [eth1] : >Enter the IP Range for Flat DHCP [192.168.32.0/22] : >Enter the IP Range for Floating IP's [10.3.4.0/22] : 192.168.2.224/27 >Enter the IP address of the Nova Scheduler service [192.168.2.113] : 10.0.10.3 >Enter the IP address of the client server [192.168.2.113] : 10.0.10.3 >Enter the IP address of the Horizon server [192.168.2.113] : 10.0.10.3 >Should packstack install EPEL on each server [y|n] [n] : >Enter a comma separated list of URLs to any additional yum repositories to install: >To subscribe each server to Red Hat enter a username here: >To subscribe each server to Red Hat enter your password here : > >Installer will be installed using the following configuration: >============================================================== >os-glance-install: y >os-cinder-install: y >os-nova-install: y >os-horizon-install: y >os-swift-install: n >os-client-install: y >ntp-severs: >ssh-public-key: /root/.ssh/id_rsa.pub >mysql-host: 10.0.10.3 >mysql-pw: ******** >qpid-host: 10.0.10.3 >keystone-host: 10.0.10.3 >glance-host: 10.0.10.3 >cinder-host: 10.0.10.3 >novaapi-host: 10.0.10.3 >novacert-host: 10.0.10.3 >novavncproxy-hosts: 10.0.10.3 >novacompute-hosts: 10.0.10.3 >novacompute-privif: eth1 >novanetwork-host: 10.0.10.3 >novanetwork-pubif: eth0 >novanetwork-privif: eth1 >novanetwork-fixed-range: 192.168.32.0/22 >novanetwork-floating-range: 192.168.2.224/27 >novasched-host: 10.0.10.3 >osclient-host: 10.0.10.3 >os-horizon-host: 10.0.10.3 >use-epel: n >additional-repo: >rh-username: >rh-password: >Proceed with the configuration listed above? (yes|no): yes > >Installing: >Clean Up... [ DONE ] >OS support check... [ DONE ] >Running Pre install scripts... [ DONE ] >Setting Up ssh keys... [ DONE ] >Create MySQL Manifest... [ DONE ] >Creating QPID Manifest... [ DONE ] >Creating Keystone Manifest... [ DONE ] >Adding Glance Keystone Manifest entries... [ DONE ] >Creating Galnce Manifest... [ DONE ] >Adding Cinder Keystone Manifest entries... [ DONE ] >Checking if the Cinder server has a cinder-volumes vg... [ DONE ] >Creating Cinder Manifest... [ DONE ] >Adding Nova API Manifest entries... [ DONE ] >Adding Nova Keystone Manifest entries... [ DONE ] >Adding Nova Cert Manifest entries... [ DONE ] >Adding Nova Compute Manifest entries... [ DONE ] >Adding Nova Network Manifest entries... [ DONE ] >Adding Nova Scheduler Manifest entries... [ DONE ] >Adding Nova VNC Proxy Manifest entries... [ DONE ] >Adding Nova Common Manifest entries... [ DONE ] >Creating OS Client Manifest... [ DONE ] >Creating OS Horizon Manifest... [ DONE ] >Preparing Servers... [ DONE ] >Running Post install scripts... [ DONE ] >Installing Puppet... [ DONE ] >Copying Puppet modules/manifests... [ DONE ] >Applying Puppet manifests... >Applying /var/tmp/packstack/20130208-1417/manifests/10.0.10.3_prescript.pp >Testing if puppet apply is finished : 10.0.10.3_prescript.pp >Testing if puppet apply is finished : 10.0.10.3_prescript.pp OK >Applying /var/tmp/packstack/20130208-1417/manifests/10.0.10.3_mysql.pp >Applying /var/tmp/packstack/20130208-1417/manifests/10.0.10.3_qpid.pp >Testing if puppet apply is finished : 10.0.10.3_mysql.pp >Testing if puppet apply is finished : 10.0.10.3_qpid.pp >Testing if puppet apply is finished : 10.0.10.3_mysql.pp >Testing if puppet apply is finished : 10.0.10.3_qpid.pp >Testing if puppet apply is finished : 10.0.10.3_mysql.pp >Testing if puppet apply is finished : 10.0.10.3_qpid.pp >Testing if puppet apply is finished : 10.0.10.3_mysql.pp OK >Testing if puppet apply is finished : 10.0.10.3_qpid.pp OK >Applying /var/tmp/packstack/20130208-1417/manifests/10.0.10.3_keystone.pp >Applying /var/tmp/packstack/20130208-1417/manifests/10.0.10.3_glance.pp >Applying /var/tmp/packstack/20130208-1417/manifests/10.0.10.3_cinder.pp >Testing if puppet apply is finished : 10.0.10.3_keystone.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_cinder.pp >Testing if puppet apply is finished : 10.0.10.3_keystone.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_cinder.pp >Testing if puppet apply is finished : 10.0.10.3_keystone.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_cinder.pp >Testing if puppet apply is finished : 10.0.10.3_keystone.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_cinder.pp >Testing if puppet apply is finished : 10.0.10.3_keystone.pp OK >Testing if puppet apply is finished : 10.0.10.3_cinder.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_cinder.pp OK >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp >Testing if puppet apply is finished : 10.0.10.3_glance.pp OK >Applying /var/tmp/packstack/20130208-1417/manifests/10.0.10.3_api_nova.pp >Testing if puppet apply is finished : 10.0.10.3_api_nova.pp >Testing if puppet apply is finished : 10.0.10.3_api_nova.pp >ERROR:root:Error during remote puppet apply of /var/tmp/packstack/20130208-1417/manifests/10.0.10.3_api_nova.pp >ERROR:root:warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored on line 142 in file /var/tmp/packstack/20130208-1417/modules/nova/manifests/init.pp >warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored on line 152 in file /var/tmp/packstack/20130208-1417/modules/nova/manifests/init.pp >warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored on line 161 in file /var/tmp/packstack/20130208-1417/modules/nova/manifests/init.pp >warning: Scope(Class[Cinder::Client]): Could not look up qualified variable '::cinder::params::client_package'; class ::cinder::params has not been evaluated >notice: /Stage[main]/Nova/Nova_config[sql_connection]/value: value changed 'mysql://nova:a1b120a4efea49fd@10.0.10.3/nova' to 'mysql://nova:5623d813dd204ac3@10.0.10.3/nova' >notice: /Stage[main]/Nova::Api/Nova_paste_api_ini[filter:authtoken/admin_password]/value: value changed 'c6cd456989ad42b5' to '40e5c1f59d914e22' >notice: /Stage[main]/Nova/Exec[post-nova_config]: Triggered 'refresh' from 2 events >err: /Stage[main]/Nova::Api/Exec[nova-db-sync]: Failed to call refresh: /usr/bin/nova-manage db sync returned 1 instead of one of [0] at /var/tmp/packstack/20130208-1417/modules/nova/manifests/api.pp:98 >notice: /Stage[main]/Nova::Api/Nova::Generic_service[api]/Service[nova-api]/ensure: ensure changed 'stopped' to 'running' >notice: /Stage[main]/Nova::Api/Nova::Generic_service[api]/Service[nova-api]: Triggered 'refresh' from 2 events >notice: Finished catalog run in 2.72 seconds > >Testing if puppet apply is finished : 10.0.10.3_api_nova.pp [ ERROR ] >ERROR:root:Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 806, in main > _main(confFile) > File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 593, in _main > runSequences() > File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 569, in runSequences > controller.runAllSequences() > File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 57, in runAllSequences > sequence.run() > File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 154, in run > step.run() > File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 60, in run > function() > File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 123, in applyPuppetManifest > waitforpuppet(currently_running) > File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 111, in waitforpuppet > validate_puppet_logfile(log) > File "/usr/lib/python2.6/site-packages/packstack/modules/ospluginutils.py", line 137, in validate_puppet_logfile > raise PackStackError(message) >PackStackError: Error during puppet run : err: /Stage[main]/Nova::Api/Exec[nova-db-sync]: Failed to call refresh: /usr/bin/nova-manage db sync returned 1 instead of one of [0] at /var/tmp/packstack/20130208-1417/modules/nova/manifests/api.pp:98 > >Error during puppet run : err: /Stage[main]/Nova::Api/Exec[nova-db-sync]: Failed to call refresh: /usr/bin/nova-manage db sync returned 1 instead of one of [0] at /var/tmp/packstack/20130208-1417/modules/nova/manifests/api.pp:98 >Please check log file /var/tmp/packstack/20130208-1417/openstack-setup.log for more information >[root@small ~(keystone_admin)]$vi admin >[root@small ~(keystone_admin)]$source admin >[root@small ~(keystone_admin)]$keystone endpoint-list >+----------------------------------+-----------+----------------------------------------+----------------------------------------+----------------------------------------+----------------------------------+ >| id | region | publicurl | internalurl | adminurl | service_id | >+----------------------------------+-----------+----------------------------------------+----------------------------------------+----------------------------------------+----------------------------------+ >| 65ccbcd3f32b49b3b00bc14b5189ecd3 | RegionOne | http://10.0.10.3:8774/v2/%(tenant_id)s | http://10.0.10.3:8774/v2/%(tenant_id)s | http://10.0.10.3:8774/v2/%(tenant_id)s | aa59e1761a714c388953acf12212ad6e | >| 70151fb29f36477f80643958677b7969 | RegionOne | http://10.0.10.3:8776/v1/%(tenant_id)s | http://10.0.10.3:8776/v1/%(tenant_id)s | http://10.0.10.3:8776/v1/%(tenant_id)s | 155109907a8d4ca4a0c986c894e0f92d | >| 8876001c30c646c2b27920b50752f95b | RegionOne | http://10.0.10.3:5000/v2.0 | http://10.0.10.3:5000/v2.0 | http://10.0.10.3:35357/v2.0 | 1f61821f38dd475fa53f16f15dddbe95 | >| f5720d314a0847039a0f9ad341d1f16c | RegionOne | http://10.0.10.3:8773/services/Cloud | http://10.0.10.3:8773/services/Cloud | http://10.0.10.3:8773/services/Admin | 0c4bbcd20ac9437181ea1cce9e5fd3a5 | >| fa0f0ce8c4854678b5ef9d319fb12b1a | RegionOne | http://10.0.10.3:9292/v1 | http://10.0.10.3:9292/v1 | http://10.0.10.3:9292/v1 | 38af95dda1ef452684b8d3382fd41fc2 | >+----------------------------------+-----------+----------------------------------------+----------------------------------------+----------------------------------------+----------------------------------+ >[root@small ~(keystone_admin)]$/usr/bin/nova-manage db sync >Command failed, please check log for more info >2013-02-08 14:22:58 28071 CRITICAL nova [-] (OperationalError) (1045, "Access denied for user 'nova'@'192.168.2.113' (using password: YES)") None None >[root@small ~(keystone_admin)]$openstack-db --init --service nova >Please enter the password for the 'root' MySQL user: >Verified connectivity to MySQL. >Creating 'nova' database. >ERROR 1007 (HY000) at line 1: Can't create database 'nova'; database exists >Asking openstack-nova to sync the database. >ERROR 1045 (28000): Access denied for user 'nova'@'localhost' (using password: YES) >Final sanity check failed. >Please file a bug report on bugzilla.redhat.com against the openstack-nova package. >[root@small ~(keystone_admin)]$ifconfig >eth0 Link encap:Ethernet HWaddr 00:23:AE:9B:00:68 > inet addr:192.168.2.113 Bcast:192.168.2.255 Mask:255.255.255.0 > inet6 addr: fe80::223:aeff:fe9b:68/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:57 errors:0 dropped:0 overruns:0 frame:0 > TX packets:57 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:21167 (20.6 KiB) TX bytes:4446 (4.3 KiB) > Interrupt:16 > >eth1 Link encap:Ethernet HWaddr 68:05:CA:0E:CB:72 > inet addr:10.0.10.3 Bcast:10.0.10.255 Mask:255.255.255.0 > inet6 addr: fe80::6a05:caff:fe0e:cb72/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:20696 errors:0 dropped:0 overruns:0 frame:0 > TX packets:14167 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:1830002 (1.7 MiB) TX bytes:2444280 (2.3 MiB) > Interrupt:70 Memory:f7d60000-f7d80000 > >lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:187610 errors:0 dropped:0 overruns:0 frame:0 > TX packets:187610 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:46830951 (44.6 MiB) TX bytes:46830951 (44.6 MiB) > >virbr0 Link encap:Ethernet HWaddr 52:54:00:D8:B6:E9 > inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > >mysql> select User,Host,password from mysql.user; >+----------------+-----------+-------------------------------------------+ >| User | Host | password | >+----------------+-----------+-------------------------------------------+ >| root | localhost | *454658BF65F3AE326A33E2FFE30AFDEC00E26B30 | >| cinder | 127.0.0.1 | *FA4547C04144A64A30E432A2F43165C7DAA15DB8 | >| nova | % | *F121BBA28F9F517627102990347CAC4E71FEFBE6 | >| cinder | % | *FA4547C04144A64A30E432A2F43165C7DAA15DB8 | >| nova | 127.0.0.1 | *F121BBA28F9F517627102990347CAC4E71FEFBE6 | >| glance | % | *FA221A54BA7597B23E244E6851E8D7462FDAFA05 | >| glance | 127.0.0.1 | *FA221A54BA7597B23E244E6851E8D7462FDAFA05 | >| keystone_admin | 127.0.0.1 | *3752C5DD1C40632B7088169BC832BA4EF2C2480E | >| keystone_admin | % | *3752C5DD1C40632B7088169BC832BA4EF2C2480E | >+----------------+-----------+-------------------------------------------+ >9 rows in set (0.00 sec)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 909441
: 695218