Ask Your Question

abe's profile - activity

2016-12-06 05:16:40 -0500 received badge  Famous Question (source)
2016-11-21 15:12:27 -0500 received badge  Notable Question (source)
2016-11-21 11:02:38 -0500 commented answer First Instance Creation fails: newton rdo branch - Dashboard

I would greatly appreciate if you dont mind describing a little more on your answer/response. Would i need to integrate Ceph Cluster with my openstack installation now since Im using dashboard?

How do i go about NOVA cli?

2016-11-20 15:25:07 -0500 received badge  Popular Question (source)
2016-11-18 13:45:26 -0500 asked a question First Instance Creation fails: newton rdo branch - Dashboard

I was able to bring up my single node openstack on Centos but I cant start or create a instance successfully.

Build of instance 49d6bf7f-f142-41bb-8152-040867ede6c3 aborted: Block Device Mapping is Invalid.
Code: 500
Details: File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1779, in _do_build_and_run_instance filter_properties) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1939, in _build_and_run_instance 'create.error', fault=e) File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1904, in _build_and_run_instance block_device_mapping) as resources: File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2066, in _build_resources reason=e.format_message())

I saw a lot of people facing the same issue, but there is no particular fix for this. I tried few things from out posts:

  • setting few config params or increasing the values for block device mapping in cinder.conf file.

  • Creating instance and waiting for error, then creating a instance from the volume that was created from the previous instance that failed

Nothing seems to work for me.

Please let us know if there is perm fix for this.

Node config:

  1. single node
  2. centos 7
  3. 16 gig memory
  4. 1 tb attached + two 6tbhdd on SATA
  5. Openstack - newton RDO branch
2016-11-18 13:33:43 -0500 received badge  Enthusiast
2016-11-17 13:32:42 -0500 received badge  Supporter (source)
2016-11-17 13:32:40 -0500 received badge  Scholar (source)
2016-11-17 13:06:06 -0500 answered a question packstack-openstack installation on Centos 7 Error - Newton

fresh install of cent os and your blog(http://dbaxps.blogspot.com/2016/11/packstack-install-rdo-newton-with.html) worked for me. Im running openstack now! thanks for all the feedback/responses @dbaxps

2016-11-17 11:34:52 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

Yep. Exactly what I'm doing right now ;-)

2016-11-16 13:05:28 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

@dbaxps Could you let me know how to remove packages associated with it other old repo tags? for example: i have packages for @centos-openstack-newton repo which needs to be removed, I have few rpm's from previous installations which needs to go.

2016-11-16 10:59:17 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

thanks for the blog. Posted a comment on it @dbaxps.

2016-11-15 17:59:12 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

Updated 11/15/2016 above in the original question!

2016-11-15 17:58:14 -0500 commented question packstack-openstack installation on Centos 7 Error - Newton

Output:

Failed to start OpenStack Nova Cert Server.
Unit openstack-nova-cert.service entered failed state.
openstack-nova-cert.service failed.
2016-11-14 22:12:52 -0500 received badge  Famous Question (source)
2016-11-14 19:13:43 -0500 received badge  Commentator
2016-11-14 19:13:43 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

I dont have Mariadb running and when i try to install it directly. Its complaining about dependencies with openstack

2016-11-14 19:10:01 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

$ yum install -y centos-release-openstack-mitaka $ yum update -y $ yum install -y openstack-packstack $ packstack --answer-file 11.09.16.conf

Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install mariadb' returned 1: Error: Package: 3:mariadb-10.1.17-1.el7.x86_64 (centos-openstack-mitaka)

2016-11-14 12:48:48 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

There are few dependencies Error: Package: 1:python2-keystoneclient-3.5.0-1.el7.noarch (openstack-newton) Requires: python-keystoneauth1 >= 2.10.0 Installing: python2-keystoneauth1-2.4.2-0.20161014125112.e8a06de.el7.centos.noarch (delorean)

Maybe start fresh?

2016-11-14 11:45:13 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

Continued from above: Execution of '/usr/bin/yum -d 0 -e 0 -y install python-openstackclient' returned 1: Error: Package: 1:python2-keystoneclient-3.5.0-1.el7.noarch (openstack-newton)

2016-11-14 11:44:35 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

$yum install -y centos-release-openstack-mitaka 1857 packages excluded due to repository priority protections Now running: $packstack --answer-file 11.09.16.conf ERROR : Error appeared during Puppet run: xx.2xx.0.2x0_keystone.pp

2016-11-14 10:46:18 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

1857 packages excluded due to repository priority protections No packages marked for update

2016-11-14 10:43:28 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

@dbaxps Here is what I am doing, I have installed yum-plugin-priorities yum install https://trunk.rdoproject.org/centos7-... yum install http://buildlogs.centos.org/centos/7/... $yum update -y

2016-11-12 19:19:13 -0500 received badge  Notable Question (source)
2016-11-11 19:40:47 -0500 received badge  Student (source)
2016-11-11 19:38:40 -0500 received badge  Popular Question (source)
2016-11-11 17:11:21 -0500 commented answer packstack-openstack installation on Centos 7 Error - Newton

@dbaxps. I appreciate your response.

After yum priority package installation, there are 1800 packages excluded due to priority protection. Now i cant run yum -y update

Can you please explain the yum installation steps for a working openstack with packstack on cent-os? That would be helpful. Thank

2016-11-11 11:40:22 -0500 commented question packstack-openstack installation on Centos 7 Error - Newton

@dbaxps Added the requested files. Looks like it is newton. i can post another file: CentOS-OpenStack-mitaka.repo

2016-11-11 11:37:41 -0500 received badge  Editor (source)
2016-11-11 10:51:14 -0500 commented question packstack-openstack installation on Centos 7 Error - Newton

@dbaxps Nope it is mitaka, I specifically ran this cmd : yum install -y centos-release-openstack-mitaka

2016-11-10 16:19:54 -0500 asked a question packstack-openstack installation on Centos 7 Error - Newton

Hello,

here is the output and error. Please do let me know if you need me to post any other logs. I cannot hit the dashboard on the IP address/dashboard

System config: centos 7 on Xeon CPU + 16 GB memory Packstack on mitaka branch

 Copying Puppet modules and manifests       [ DONE ]
 Applying 10.211.0.250_controller.pp
10.211.0.250_controller.pp:                       [ ERROR ]           
Applying Puppet manifests                         [ ERROR ]

 ERROR : Error appeared during Puppet run: 10.211.0.250_controller.pp
 Error: Could not start Service[nova-cert]: Execution of '/usr/bin/systemctl start openstack-nova-cert' returned 1: Job for     openstack-nova-cert.service failed because the control process exited with error code. See "systemctl status openstack-nova-cert.service" and "journalctl -xe" for details.

$systemctl status openstack-nova-scheduler.serviceopenstack-nova-scheduler.service
openstack-nova-scheduler.serviceopenstack-nova-scheduler.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
$journalctl -xe
Subject: Unit openstack-nova-conductor.service has begun start-up
Defined-By: systemd
Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Unit openstack-nova-conductor.service has begun starting up.
Nov 10 12:41:33 aodh-evaluator[8901]: Traceback (most recent call last):
Nov 10 12:41:33 aodh-evaluator[8901]: File "/usr/bin/aodh-evaluator", line 6, in <module>
Nov 10 12:41:33  aodh-evaluator[8901]: from aodh.cmd.alarm import evaluator
Nov 10 12:41:33 aodh-evaluator[8901]: File "/usr/lib/python2.7/site-packages/aodh/cmd/alarm.py", line 20, in <module>
Nov 10 12:41:33  aodh-evaluator[8901]: from aodh import evaluator as evaluator_svc
Nov 10 12:41:33 aodh-evaluator[8901]: File "/usr/lib/python2.7/site-packages/aodh/evaluator/__init__.py", line 37, in <module>
Nov 10 12:41:33  aodh-evaluator[8901]: from aodh import keystone_client
Nov 10 12:41:33  aodh-evaluator[8901]: File "/usr/lib/python2.7/site-packages/aodh/keystone_client.py", line 20, in <module>
Nov 10 12:41:33  aodh-evaluator[8901]: from keystoneauth1 import loading as ka_loading
Nov 10 12:41:33  aodh-evaluator[8901]: File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/__init__.py", line 18, in   <module>
Nov 10 12:41:33  aodh-evaluator[8901]: from keystoneauth1.loading import session
Nov 10 12:41:33  aodh-evaluator[8901]: File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/session.py", line 20, in <module>
Nov 10 12:41:33  aodh-evaluator[8901]: from keystoneauth1 import session
Nov 10 12:41:33  aodh-evaluator[8901]: File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 26, in <module>
Nov 10 12:41:33  aodh-evaluator[8901]: import requests
Nov 10 12:41:33  aodh-evaluator[8901]: File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 64, in <module>
Nov 10 12:41:33  aodh-evaluator[8901]: from . import utils
Nov 10 12:41:33  aodh-evaluator[8901]: File "/usr/lib/python2.7/site-packages/requests/utils.py", line 29, in <module>
Nov 10 12:41:33  aodh-evaluator[8901]: from .exceptions import InvalidURL, InvalidHeader, FileModeWarning
Nov 10 12:41:33 aodh-evaluator[8901]: ImportError: cannot import name InvalidHeader
Nov 10 12:41:33  systemd[1]: openstack-aodh-evaluator.service: main process exited, code=exited, status=1/FAILURE
Nov 10 12:41:33  systemd[1]: Unit openstack-aodh-evaluator.service entered failed state.
Nov ...
(more)