[Sahara] Cannot create cluster with enabled "force_config_drive" in nova

Bug #1587919 reported by Evgeny Sikachev
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Fix Released
High
MOS Sahara
9.x
Fix Released
High
Nikita Konovalov

Bug Description

ENVIRONMENT: MOS 9.0 ISO 424

STEPS TO REPRODUCE:
1. Create env with sahara
2. Deploy env with sahara
3. Register image for sahara
4. Run OSTF tests for sahara

EXPECTED RESULT:
Test passed

ACTUAL RESULT:
Test failed with:
2016-06-01 11:11:49.465 3828 ERROR sahara.service.ops [req-952f0471-45dc-4247-8fed-96302c1108bb b9f6b75b59ec4edb9d65e02ee80a359c e829129a5dd147eea19446b8a157033b - - -] [instance: none, cluster: 6e519c4f-1369-4f69-bb9e-e15b82707945] Error during operating on cluster (reason: RemoteCommandException: Error during command execution: "sudo su - -c "mkdir /tmp/oozielib && tar zxf /opt/oozie/oozie-sharelib-*.tar.gz -C /tmp/oozielib && hadoop fs -mkdir /user && hadoop fs -mkdir /user/hadoop && hadoop fs -put /tmp/oozielib/share /user/hadoop/ && rm -rf /tmp/oozielib" hadoop"
Return code: 1
STDERR:
16/06/01 11:11:45 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
mkdir: Cannot create directory /user. Name node is in safe mode.

Error ID: 4cf4defd-20b1-44e1-b7e1-b790ddac6c1e
Error ID: 7e3655db-d111-4168-8c89-4006c158c5fe)

WORKAROUND: in /etc/nova/nova.conf on comuptes disable force_config_drive

tags: added: blocker-for-qa swarm-blocker
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/sahara (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Nikita Konovalov <email address hidden>
Review: https://review.fuel-infra.org/21552

tags: added: swarm-fail
removed: swarm-blocker
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/sahara (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/21552
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: ff0c327c9ac2e37e63a24438ffac15ed2d4e8c2b
Author: Nikita Konovalov <email address hidden>
Date: Thu Jun 2 15:07:43 2016

Fix Nova config drive handling

Nova config drive should not be treated as block device for hdfs.
It is filtered by a hardcoded label 'config-2'

Change-Id: Ib93c5440b4d3d023033a0e4636ca9c58727f8595
Closes-bug: #1587919

Revision history for this message
Evgeny Sikachev (esikachev) wrote :

verified on mos 9.0, iso 432

tags: added: on-verification
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :

Verified on Newton #1556 iso.
There is no problem with cluster with enabled "force_config_drive" parameter

tags: removed: on-verification
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/sahara (mcp/newton)

Fix proposed to branch: mcp/newton
Change author: Nikita Konovalov <email address hidden>
Review: https://review.fuel-infra.org/33709

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/sahara (11.0/ocata)

Fix proposed to branch: 11.0/ocata
Change author: Nikita Konovalov <email address hidden>
Review: https://review.fuel-infra.org/34094

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/sahara (mcp/ocata)

Fix proposed to branch: mcp/ocata
Change author: Nikita Konovalov <email address hidden>
Review: https://review.fuel-infra.org/34744

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/sahara (11.0/ocata)

Change abandoned by Ihor Kalnytskyi <email address hidden> on branch: 11.0/ocata
Review: https://review.fuel-infra.org/34094
Reason: 11.0/ocata is obsolete. We use mcp/ocata instead.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/sahara (mcp/ocata)

Change abandoned by Ihor Kalnytskyi <email address hidden> on branch: mcp/ocata
Review: https://review.fuel-infra.org/34744
Reason: The patch has been upstreamed and is not required for mcp/ocata.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/sahara (mcp/newton)

Change abandoned by Ihor Kalnytskyi <email address hidden> on branch: mcp/newton
Review: https://review.fuel-infra.org/33709
Reason: The patch has been upstreamed and is not required for mcp/newton anymore.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.