[Openstack] Deployment error on installation of redhat openstack with director on KVM

doun baek dubaek at gmail.com
Wed Jan 17 09:43:43 UTC 2018


​​
Hi all,

I encountered some issue at installation
I deployed redhat openstack using director on KVM, actually that
environment is laptop.

following message is output after overcloud deploy.

2018-01-16 04:44:10Z [overcloud.AllNodesDeploySteps
.ControllerDeployment_Step4.0]: SIGNAL_IN_PROGRESS  Signal: deployment
52e0a433-2680-4c7b-9f5c-e82267bbba66 failed (6)
2018-01-16 04:44:11Z [overcloud.AllNodesDeploySteps
.ControllerDeployment_Step4.0]: CREATE_FAILED  Error: resources[0]:
Deployment to server failed: deploy_status_code : Deployment exited with
non-zero status code: 6
2018-01-16 04:44:11Z
[overcloud.AllNodesDeploySteps.ControllerDeployment_Step4]:
CREATE_FAILED  Resource CREATE failed: Error: resources[0]: Deployment to
server failed: deploy_status_code : Deployment exited with non-zero status
code: 6
2018-01-16 04:44:11Z
[overcloud.AllNodesDeploySteps.ControllerDeployment_Step4]:
CREATE_FAILED  Error: resources.ControllerDeployment_Step4.resources[0]:
Deployment to server failed: deploy_status_code: Deployment exited with
non-zero status code: 6
2018-01-16 04:44:11Z [overcloud.AllNodesDeploySteps]: CREATE_FAILED
Resource CREATE failed: Error:
resources.ControllerDeployment_Step4.resources[0]:
Deployment to server failed: deploy_status_code: Deployment exited with
non-zero status code: 6
2018-01-16 04:44:12Z [overcloud.AllNodesDeploySteps]: CREATE_FAILED  Error:
resources.AllNodesDeploySteps.resources.ControllerDeployment_Step4.resources[0]:
Deployment to server failed: deploy_status_code: Deployment exited with
non-zero status code: 6
2018-01-16 04:44:12Z [overcloud]: CREATE_FAILED  Resource CREATE failed:
Error: resources.AllNodesDeploySteps.resources.ControllerDeployment_Step4.resources[0]:
Deployment to server failed: deploy_status_code: Deployment exited with
non-zero status code: 6

actually status code is -9. i didn't catch the output when i was deploying
overcloud.
but it is printed same error message. you can see it from the bottom.

i also checked heat resource, but i couldn't find any reason related this
problem.
[stack at ospd ~]$ openstack stack resource show
cdc61a5d-bf3e-4fee-9167-a9188fdee44c
0
+------------------------+----------------------------------
------------------------------------------------------------
---------------------------------------------+
| Field                  | Value

                                                |
+------------------------+----------------------------------
------------------------------------------------------------
---------------------------------------------+
| attributes             | {u'deploy_stdout': None, u'deploy_stderr': None,
u'deploy_status_code': None}
                                    |
| creation_time          | 2018-01-17T08:09:55Z

                                                |
| description            |

                                                  |
| links                  | [{u'href': u'https://192.168.200.12:13004/v1/
97489d3f21b3441485bf12b0d39998a3/stacks/overcloud-AllNodesDeploySteps-
gkxwpp3eyz7f-          |
|                        | ControllerDeployment_Step4-
e55vpyi264ub/cdc61a5d-bf3e-4fee-9167-a9188fdee44c/resources/0', u'rel':
u'self'}, {u'href':                    |
|                        | u'https://192.168.200.12:13004/v1/
97489d3f21b3441485bf12b0d39998a3/stacks/overcloud-AllNodesDeploySteps-
gkxwpp3eyz7f-                     |
|                        | ControllerDeployment_Step4-
e55vpyi264ub/cdc61a5d-bf3e-4fee-9167-a9188fdee44c', u'rel':
u'stack'}]                                         |
| logical_resource_id    | 0

                                                |
| parent_resource        | ControllerDeployment_Step4

                                                |
| physical_resource_id   | ef0ae4c3-d39a-485c-92ce-
9b18ed6b2e57
                                                      |
| required_by            | []

                                                |
| resource_name          | 0

                                                |
| resource_status        | CREATE_FAILED

                                                |
| resource_status_reason | Error: resources[0]: Deployment to server
failed: deploy_status_code : Deployment exited with non-zero status code:
-9                    |
| resource_type          | OS::Heat::StructuredDeployment

                                      |
| updated_time           | 2018-01-17T08:09:55Z

                                                |
+------------------------+----------------------------------
------------------------------------------------------------
---------------------------------------------+

So, i connected ssh via heat-admin account and checked /var/log/message in
controller node.
I found what i thought was related to the problem.

Jan 17 03:16:59 localhost os-collect-config: #033[mNotice:
/Stage[main]/Heat::Deps/Anchor[heat::service::begin]: Triggered 'refresh'
from 2 events#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[mNotice:
/Stage[main]/Heat::Api_cfn/Service[heat-api-cfn]/ensure: ensure changed
'stopped' to 'running'#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[mNotice:
/Stage[main]/Heat::Engine/Service[heat-engine]: Triggered 'refresh' from 1
events#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[mNotice:
/Stage[main]/Heat::Api/Service[heat-api]/ensure: ensure changed 'stopped'
to 'running'#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[mNotice:
/Stage[main]/Heat::Api_cloudwatch/Service[heat-api-cloudwatch]/ensure:
ensure changed 'stopped' to 'running'#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[mNotice:
/Stage[main]/Heat::Deps/Anchor[heat::service::end]: Triggered 'refresh'
from 4 events#033[0m
Jan 17 03:16:59 localhost os-collect-config: [2018-01-17 08:16:58,994]
(heat-config) [INFO] exception: connect failed
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Cinder::Api]): keystone_enabled is deprecated, use
auth_strategy instead.#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Keystone]): Fernet token is recommended in Mitaka release. The
default for token_provider will be changed to 'fernet' in O release.#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Glance::Api]): default_store not provided, it will be
automatically set to glance.store.http.Store#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Swift::Client]): Could not look up qualified variable
'::swift::client_package_ensure'; class ::swift has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Heat]): keystone_user_domain_id is deprecated, use the name
option instead.#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Heat]): keystone_project_domain_id is deprecated, use the name
option instead.#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Neutron::Agents::L3]): parameter external_network_bridge is
deprecated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Neutron::Server::Notifications]): nova_url is deprecated and
will be removed after Newton cycle.#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova]): Could not look up qualified variable
'::nova::scheduler::filter::cpu_allocation_ratio'; class
::nova::scheduler::filter has not been evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova]): Could not look up qualified variable
'::nova::scheduler::filter::ram_allocation_ratio'; class
::nova::scheduler::filter has not been evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova]): Could not look up qualified variable
'::nova::scheduler::filter::disk_allocation_ratio'; class
::nova::scheduler::filter has not been evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Mongodb::Server]): Replset specified, but no replset_members or
replset_config provided.#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Keystone::Authtoken]): Could not look up qualified
variable '::nova::api::admin_user'; class ::nova::api has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Keystone::Authtoken]): Could not look up qualified
variable '::nova::api::admin_password'; class ::nova::api has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Keystone::Authtoken]): Could not look up qualified
variable '::nova::api::admin_tenant_name'; class ::nova::api has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Keystone::Authtoken]): Could not look up qualified
variable '::nova::api::auth_uri'; class ::nova::api has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Keystone::Authtoken]): Could not look up qualified
variable '::nova::api::auth_version'; class ::nova::api has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Keystone::Authtoken]): Could not look up qualified
variable '::nova::api::identity_uri'; class ::nova::api has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable
'::nova::compute::vncproxy_host'; class ::nova::compute has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable
'::nova::compute::vncproxy_protocol'; class ::nova::compute has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable
'::nova::compute::vncproxy_port'; class ::nova::compute has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable
'::nova::compute::vncproxy_path'; class ::nova::compute has not been
evaluated#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Ceilometer]): Both $metering_secret and $telemetry_secret
defined, using $telemetry_secret#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning: You cannot
collect exported resources without storeconfigs being set; the collection
will be ignored on line 166 in file /etc/puppet/modules/gnocchi/ma
nifests/api.pp#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Gnocchi::Api]): gnocchi:api::keystone_identity_uri is
deprecated, use gnocchi::keystone::authtoken::auth_url instead#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Class[Gnocchi::Api]): gnocchi::api::keystone_auth_uri is deprecated,
use gnocchi::keystone::authtoken::auth_uri instead#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning: Not
collecting exported resources without storeconfigs#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning: Not
collecting exported resources without storeconfigs#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning:
Scope(Haproxy::Config[haproxy]): haproxy: The $merge_options parameter will
default to true in the next major release. Please review the documentation
regarding the implications.#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning: Not
collecting exported resources without storeconfigs#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning: Not
collecting exported resources without storeconfigs#033[0m
Jan 17 03:16:59 localhost os-collect-config: #033[1;31mWarning: Not
collecting exported resources without storeconfigs#033[0m
Jan 17 03:16:59 localhost os-collect-config: [2018-01-17 08:16:58,994]
(heat-config) [ERROR] Error running /var/lib/heat-config/heat-conf
ig-puppet/d13987d5-3d6e-4c8c-a0d1-dad32a967ae4.pp. [-9]

for example, i searched cpu_allocation_ratio in nova.conf. but i couldn't
find that.
i guess that puppet script didn't work properly. so it was printed some
error.

below command is deploy command.
openstack overcloud deploy --templates \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml
\
-e ~/templates/network-environment.yaml \
-e ~/templates/firstboot-environment.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml
\
--control-scale 1 \
--compute-scale 1 --control-flavor control \
--compute-flavor compute --ntp-server 8.8.8.8 \
--neutron-network-type vxlan --neutron-tunnel-types vxlan \
--validation-errors-fatal --validation-warnings-fatal --timeout 90

for reference, i referred following page.
all of template files same except ip addresss.
- https://keithtenzer.com/2017/04/20/red-hat-openstack-platform-10-newton-
installation-and-configuration-guide/

I don't know what i need to do more.

Thank you for in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180117/b0b3b26a/attachment.html>


More information about the Openstack mailing list