[Sahara] Incorrect name of network in puppets

Bug #1520574 reported by Evgeny Sikachev
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Denis Egorenko

Bug Description

ENVIRONMENT: ISO 207

STEPS TO REPRODUCE:
1. Deploy env with sahara

EXPECTED RESULT:
Deploy on controller corrected

ACTUAL RESULT:
Controller in Error state.
Default name of network is net04
 (/Stage[main]/Sahara_templates::Create_templates/Sahara_cluster_template[vanilla-2]) /etc/puppet/modules/sahara_templates/lib/puppet/provider/sahara_openstack.rb:160:in `create_cluster_template'

Changed in mos:
importance: Undecided → High
status: New → Confirmed
no longer affects: mos
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Denis Egorenko (degorenko)
milestone: none → 8.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/252882

Changed in fuel:
status: Confirmed → In Progress
Dmitry Pyzhov (dpyzhov)
tags: added: area-mos
Revision history for this message
magicboiz (magicboiz) wrote :

Hi

can change #252882 (patch set 4) be applied to MOS6.1?

thx

Revision history for this message
Denis Egorenko (degorenko) wrote :

Hi,

it doesn't affect MOS6.1, because network name is unchanged.

Revision history for this message
magicboiz (magicboiz) wrote :

Hi

well, I'm facing the bug when installing MOS61 + SAHARA..............¿?¿? Please, see https://bugs.launchpad.net/fuel/+bug/1522032

maybe it shouldn't be marked as duplicated.

Regards

Revision history for this message
Denis Egorenko (degorenko) wrote :

Hi,

that's strange. Because mos6.1 has old network name. Can you provide info about your iso 6.1?

Revision history for this message
magicboiz (magicboiz) wrote :

Hi

I haved installed official MOS61 + updates (yum update; dockerctl destroy all; bootstrap_admin).
My OpenStack installation is configured with:
 - QEMU
 - GRE
 - Ceph (glance + cinder)
 - Sahara
 - (Juniper) Contrail Plugin
 - 3 controllers + 2 Ceph OSD nodes + 1 compute node + 3 base OS (contrail nodes).

It always fails. You can check my output here: https://bugs.launchpad.net/fuel/+bug/1522032

Revision history for this message
Denis Egorenko (degorenko) wrote :

Hi,

Can you provide diagnostic snapshot? Because as i said above, this bug is not affect MOS 6.1. It seems like another bug.

tags: added: blocker-for-qa
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/252882
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=303eb161993ec78fc379a8897968cc1711e4c26d
Submitter: Jenkins
Branch: master

commit 303eb161993ec78fc379a8897968cc1711e4c26d
Author: Denis Egorenko <email address hidden>
Date: Thu Dec 3 14:06:11 2015 +0300

    Fix internal Neutron network name for Sahara templates

    Default name for internal Neutron network was changed to 'admin_internal_net',
    hence we need also update default for Sahara templates.

    Change-Id: I4bcd8156494859a57e207ccedb0e9e562f8e5974
    Closes-bug: #1520574

Changed in fuel:
status: In Progress → Fix Released
Revision history for this message
magicboiz (magicboiz) wrote :
Revision history for this message
Denis Egorenko (degorenko) wrote :

Thank you magicboiz,

but you have disabled debug logging for OpenStack components. So, i don't see why Sahara returns 400. Can you enable debug logging for OpenStack components and attach a new snapshot?

Revision history for this message
Denis Egorenko (degorenko) wrote :

Btw, today i have deployed env with MOS6.1 with 2 controllers and then was added 1 more - deployment was succeeded.

Revision history for this message
magicboiz (magicboiz) wrote :

Hi Denis

I did a fresh fuel61 install.....and again, the same problem.
Snapshot (with puppet debug + openstack debug enabled): https://dl.dropboxusercontent.com/u/1425379/fuel-snapshot-2015-12-10_10-41-15.tar.xz

Revision history for this message
Denis Egorenko (degorenko) wrote :

Hi magicboiz,

Thank you again. I will check your logs.

Revision history for this message
Denis Egorenko (degorenko) wrote :

So, i see validation error in logs:

2015-12-10T10:39:20.134321+00:00 debug: Validation Error occurred: error_code=400, error_message=None is not of type 'string', error_name=VALIDATION_ERROR
2015-12-10T10:39:20.139334+00:00 info: 10.100.2.2 - - [10/Dec/2015 10:39:20] "POST /v1.1/51c94ec90c2245d5929f53709dd51584/node-group-templates HTTP/1.1" 400 239 0.007639

For creating sahara templates we use resources from neutron (external network id) and nova flavor id. It seems like some problem with getting neutron external network id. Can you please tell me, which version of Contrail plugin did you used?

Revision history for this message
Denis Egorenko (degorenko) wrote :

magicboiz,

actually, will be better if you file a new bug :) With whole description of env and attached snapshot above. Please, set assign it to me.

Revision history for this message
magicboiz (magicboiz) wrote :

Denis, see bug https://bugs.launchpad.net/fuel/+bug/1524810
 I cannot assign it to you directly :)

Revision history for this message
Denis Egorenko (degorenko) wrote :

magicboiz,

thanks you. Let's move all discussion to a new bug.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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