Wrong auth url in /opt/hadoop/etc/hadoop/core-site.xml

Bug #1393001 reported by Yaroslav Lobankov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Sergey Reshetnyak

Bug Description

ENVIRONMENT:
CentOS, HA mode, 3 controllers, 1 (compute + cinder LVM)

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "99"
  build_id: "2014-11-12_22-00-23"
  astute_sha: "3c374c9f7bfbdbcd7ce2f716cd704e3044e6fb41"
  fuellib_sha: "bc3c6298f203af3c911a6c5aa11760331c9bdd60"
  ostf_sha: "720cc1308c3a7081736edd167e7928ca61914aaa"
  nailgun_sha: "563749b01dd26e1e0978636efa3a0dafa5745fab"
  fuelmain_sha: "144262798c38c9186ad2d9c71c60a795b1474014"

HOW TO REPRODUCE:
1. Create a cluster (vanilla 2.4.1).
2. SSH to the master node of the cluster.
3. Execute command "vim /opt/hadoop/etc/hadoop/core-site.xml".

OBSERVED RESULT:
See screenshot.

EXPECTED RESULT:
There should be a public address.

Each core-site.xml on all nodes of the cluster has a private address instead of a public one.

Tags: sahara
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :
description: updated
description: updated
description: updated
Changed in mos:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Denis Egorenko (degorenko)
Changed in mos:
assignee: Denis Egorenko (degorenko) → Sergey Reshetnyak (sreshetniak)
Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :

Yaroslav, could you provide information about cluster endpoints?

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :
Download full text (6.4 KiB)

root@node-4:~# nova endpoints
+-------------+--------------------------------------------------------------+
| nova | Value |
+-------------+--------------------------------------------------------------+
| adminURL | http://192.168.0.2:8774/v2/f09245d5e05d4e21bdf05e6d7b1fbde3 |
| id | 34c6a1b77d644b6cabbddb407e398fc2 |
| internalURL | http://192.168.0.2:8774/v2/f09245d5e05d4e21bdf05e6d7b1fbde3 |
| publicURL | http://172.16.44.16:8774/v2/f09245d5e05d4e21bdf05e6d7b1fbde3 |
| region | RegionOne |
| serviceName | nova |
+-------------+--------------------------------------------------------------+
+-------------+----------------------------------+
| neutron | Value |
+-------------+----------------------------------+
| adminURL | http://192.168.0.2:9696/ |
| id | 083920615e1e49a6bbe3f21ce01fa520 |
| internalURL | http://192.168.0.2:9696/ |
| publicURL | http://172.16.44.16:9696/ |
| region | RegionOne |
+-------------+----------------------------------+
+-------------+--------------------------------------------------------------+
| cinderv2 | Value |
+-------------+--------------------------------------------------------------+
| adminURL | http://192.168.0.2:8776/v2/f09245d5e05d4e21bdf05e6d7b1fbde3 |
| id | 1a7c71e51e304630a0c1ee761a10ac59 |
| internalURL | http://192.168.0.2:8776/v2/f09245d5e05d4e21bdf05e6d7b1fbde3 |
| publicURL | http://172.16.44.16:8776/v2/f09245d5e05d4e21bdf05e6d7b1fbde3 |
| region | RegionOne |
+-------------+--------------------------------------------------------------+
+-------------+----------------------------------+
| swift_s3 | Value |
+-------------+----------------------------------+
| adminURL | http://192.168.0.2:8080 |
| id | 06a5b455358e4c8880d26f29c72b29ae |
| internalURL | http://192.168.0.2:8080 |
| publicURL | http://172.16.44.16:8080 |
| region | RegionOne |
+-------------+----------------------------------+
+-------------+----------------------------------+
| glance | Value |
+-------------+----------------------------------+
| adminURL | http://192.168.0.2:9292 |
| id | 47eb24324a4f42a391c3e4a4ae8f1961 |
| internalURL | http://192.168.0.2:9292 |
| publicURL | http://172.16.44.16:9292 |
| region | RegionOne |
+-------------+----------------------------------+
+-------------+----------------------------------+
| heat-cfn | Value |
+-------------+----------------------------------+
| adminURL | http://192.168.0.2:8000/v1/ |
| id | a08ec6202b6d4f0fb6b16a5ea3c0a9d2 |
| internalURL | http://192.168.0.2:80...

Read more...

Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :

Could you please provide me 'sahara.conf' file?

Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package sahara has been built for project openstack/sahara
Package version == 2014.2, package release == fuel6.0.mira16.git.7896b35.7c962f3

Changeset: https://review.fuel-infra.org/997
project: openstack/sahara
branch: openstack-ci/fuel-6.0/2014.2
author: Sergey Reshetnyak
committer: Sergey Reshetnyak
subject: Fix for getting auth url for hadoop-swift
status: patchset-created

Files placed on repository:
sahara-2014.2-fuel6.0.mira16.git.7896b35.7c962f3.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-997/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package sahara has been built for project openstack/sahara
Package version == 2014.2, package release == fuel6.0~mira18+git.7896b35.7c962f3

Changeset: https://review.fuel-infra.org/997
project: openstack/sahara
branch: openstack-ci/fuel-6.0/2014.2
author: Sergey Reshetnyak
committer: Sergey Reshetnyak
subject: Fix for getting auth url for hadoop-swift
status: patchset-created

Files placed on repository:
sahara_2014.2-fuel6.0~mira18+git.7896b35.7c962f3_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-997/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package sahara has been built for project openstack/sahara
Package version == 2014.2, package release == fuel6.0.mira16

Changeset: https://review.fuel-infra.org/997
project: openstack/sahara
branch: openstack-ci/fuel-6.0/2014.2
author: Sergey Reshetnyak
committer: Sergey Reshetnyak
subject: Fix for getting auth url for hadoop-swift
status: change-merged

Files placed on repository:
sahara-2014.2-fuel6.0.mira16.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package sahara has been built for project openstack/sahara
Package version == 2014.2, package release == fuel6.0~mira18

Changeset: https://review.fuel-infra.org/997
project: openstack/sahara
branch: openstack-ci/fuel-6.0/2014.2
author: Sergey Reshetnyak
committer: Sergey Reshetnyak
subject: Fix for getting auth url for hadoop-swift
status: change-merged

Files placed on repository:
sahara_2014.2-fuel6.0~mira18_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

Fix is verified for the release ISO

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "58"
  build_id: "2014-12-26_14-25-46"
  astute_sha: "16b252d93be6aaa73030b8100cf8c5ca6a970a91"
  fuellib_sha: "fde8ba5e11a1acaf819d402c645c731af450aff0"
  ostf_sha: "a9afb68710d809570460c29d6c3293219d3624d4"
  nailgun_sha: "5f91157daa6798ff522ca9f6d34e7e135f150a90"
  fuelmain_sha: "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8"

Changed in mos:
status: Fix Committed → Fix Released
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.