Bug 1048141
Summary: | packstack: fails to install ice-house when using nova-networks | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] RDO | Reporter: | Dafna Ron <dron> | ||||
Component: | openstack-packstack | Assignee: | RHOS Maint <rhos-maint> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Nir Magnezi <nmagnezi> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | aortega, derekh, dron, hateya, kchamart, pbrady, yeylon | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | aarch64 | ||||||
OS: | Linux | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-01-04 03:29:08 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Dafna Ron
2014-01-03 09:38:00 UTC
This might be this unresolved intermittent error? https://bugs.launchpad.net/nova/+bug/1130379 I very much doubt it's a packstack bug in any case. Is mysql up and running and accepting connections? If so, you might try to init the db manually by using the passwords from the packstack answer file with: openstack-db --service nova --rootpw ... --password ... --init If that doesn't work then perhaps resetting the DB may help: openstack-db --service nova --rootpw ... --password ... --drop packstack --anwer-file=...to resume root@cougar06 ~]# openstack-db --service nova --rootpw 123456 --password 123456 --init Verified connectivity to MySQL. Creating 'nova' database. Updating 'nova' database password in /etc/nova/nova.conf Initializing the nova database, please wait... Traceback (most recent call last): File "/usr/bin/nova-manage", line 10, in <module> sys.exit(main()) File "/usr/lib/python2.6/site-packages/nova/cmd/manage.py", line 1326, in main logging.setup("nova") File "/usr/lib/python2.6/site-packages/nova/openstack/common/log.py", line 374, in setup _setup_logging_from_conf() File "/usr/lib/python2.6/site-packages/nova/openstack/common/log.py", line 421, in _setup_logging_from_conf filelog = logging.handlers.WatchedFileHandler(logpath) File "/usr/lib64/python2.6/logging/handlers.py", line 377, in __init__ logging.FileHandler.__init__(self, filename, mode, encoding, delay) File "/usr/lib64/python2.6/logging/__init__.py", line 827, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib64/python2.6/logging/__init__.py", line 846, in _open stream = open(self.baseFilename, self.mode) IOError: [Errno 13] Permission denied: '/var/log/nova/nova-manage.log' ERROR 1146 (42S02) at line 1: Table 'nova.migrate_version' doesn't exist Final sanity check failed. the problem was the log permissions: [root@cougar06 ~]# ls -l /var/log/nova/nova-manage.log rw-r--r--. 1 root root 78878 Jan 3 14:01 /var/log/nova/nova-manage.log after I delete the log I was able to install. I am not sure what changed the log permission in the first place since I did not run anything manual in the system. (In reply to Dafna Ron from comment #2) > root@cougar06 ~]# openstack-db --service nova --rootpw 123456 --password > 123456 --init > Verified connectivity to MySQL. > Creating 'nova' database. > Updating 'nova' database password in /etc/nova/nova.conf > Initializing the nova database, please wait... > Traceback (most recent call last): > File "/usr/bin/nova-manage", line 10, in <module> > sys.exit(main()) > File "/usr/lib/python2.6/site-packages/nova/cmd/manage.py", line 1326, in > main > logging.setup("nova") > File "/usr/lib/python2.6/site-packages/nova/openstack/common/log.py", line > 374, in setup > _setup_logging_from_conf() > File "/usr/lib/python2.6/site-packages/nova/openstack/common/log.py", line > 421, in _setup_logging_from_conf > filelog = logging.handlers.WatchedFileHandler(logpath) > File "/usr/lib64/python2.6/logging/handlers.py", line 377, in __init__ > logging.FileHandler.__init__(self, filename, mode, encoding, delay) > File "/usr/lib64/python2.6/logging/__init__.py", line 827, in __init__ > StreamHandler.__init__(self, self._open()) > File "/usr/lib64/python2.6/logging/__init__.py", line 846, in _open > stream = open(self.baseFilename, self.mode) > IOError: [Errno 13] Permission denied: '/var/log/nova/nova-manage.log' > ERROR 1146 (42S02) at line 1: Table 'nova.migrate_version' doesn't exist > Final sanity check failed. > > the problem was the log permissions: > > [root@cougar06 ~]# ls -l /var/log/nova/nova-manage.log > rw-r--r--. 1 root root 78878 Jan 3 14:01 /var/log/nova/nova-manage.log > > > after I delete the log I was able to install. > I am not sure what changed the log permission in the first place since I did > not run anything manual in the system. Right, it has to be nova:nova And, if you cannot reproduce the issue & think it's due to something in your n test environment, can you please close the bug as WORKSFORME, with a rationale as environment issue (or some such)? yes, once I finish with the test day prep I can try to reproduce this and if cannot will close it. However, I must say that we need better error messaging since I think this sort of error should be printed in the log. Marking the nova-manage permissions issue as a dupe *** This bug has been marked as a duplicate of bug 1044155 *** |