neutron fails to deploy when sfc is enabled

Bug #1664493 reported by Eduardo Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Eduardo Gonzalez
Ocata
New
Undecided
Unassigned
Pike
Fix Released
High
Eduardo Gonzalez
kolla-ansible
Fix Released
High
Eduardo Gonzalez
Ocata
New
Undecided
Unassigned
Pike
Fix Released
High
Eduardo Gonzalez

Bug Description

Neutron role fail to deploy while creating config.json due missing neutron-sfc-agent.json.j2 file.

failed: [localhost] (item={'key': u'neutron-sfc-agent', 'value': {u'image': u'192.168.100.215:4000/lokolla/centos-source-neutron-sfc-agent:4.0.0', u'enabled': True, u'host_in_groups': True, u'volumes': [u'/etc/kolla//neutron-sfc-agent/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'/lib/modules:/lib/modules:ro', u'/run:/run:shared', u'kolla_logs:/var/log/kolla/'], u'container_name': u'neutron_sfc_agent', u'privileged': True}}) => {"failed": true, "item": {"key": "neutron-sfc-agent", "value": {"container_name": "neutron_sfc_agent", "enabled": true, "host_in_groups": true, "image": "192.168.100.215:4000/lokolla/centos-source-neutron-sfc-agent:4.0.0", "privileged": true, "volumes": ["/etc/kolla//neutron-sfc-agent/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/lib/modules:/lib/modules:ro", "/run:/run:shared", "kolla_logs:/var/log/kolla/"]}}, "msg": "Unable to find 'neutron-sfc-agent.json.j2' in expected paths."}

Actually don't know if sfc agent ever work or if is useless the image as there is not entrypoint in docker image nor configuration in config.json.

description: updated
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

yes. sfc-agent is not implement. there is no config.json at all.

Changed in kolla-ansible:
status: New → Confirmed
importance: Undecided → Critical
importance: Critical → High
Changed in kolla-ansible:
milestone: none → pike-1
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

seems sfc is not implemented at all.

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

SFC images are really useless, networking-sfc can be installed as neutron-server and neutron-openvswitch-agent plugins.

SFC is loaded with neutron-openvswitch-agent service.
I have to investigate more.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

Changed in kolla-ansible:
milestone: pike-2 → pike-3
Changed in kolla:
milestone: pike-2 → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by Helena (<email address hidden>) on branch: master
Review: https://review.openstack.org/474887
Reason: Duplicate change

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Helena (<email address hidden>) on branch: master
Review: https://review.openstack.org/474888
Reason: Duplicate change

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/461748
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=fb003d66ceb46f35675f7e209b18272717841e4c
Submitter: Jenkins
Branch: master

commit fb003d66ceb46f35675f7e209b18272717841e4c
Author: Eduardo Gonzalez <email address hidden>
Date: Tue May 2 13:41:46 2017 +0200

    Add sfc plugin into neutron-base image

    Neutron-server and openvswitch-agent images consume sfc plugin
    code to run sfc services.

    This change adds db sync for sfc plugin.
    Also move sfc code into neutron-base so other services
    can make use of the plugin.

    Change-Id: I60ba1333231a4ae38a041d41e551f7d74fe15e3b
    Closes-Bug: #1664493

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/461745
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=d4e7dfb3768c3438ea848d4e95a5b1b078d462f6
Submitter: Jenkins
Branch: master

commit d4e7dfb3768c3438ea848d4e95a5b1b078d462f6
Author: Eduardo Gonzalez <email address hidden>
Date: Tue May 2 11:03:52 2017 +0200

    Finish/fix neutron sfc service

    Neutron-sfc-agent start its functions with openvswitch.
    This change moves sfc configuration into neutron-openvswitch-agent.

    Rework config files to use openvswitch when sfc or openvswitch
    are used as network plugin.

    Also adds sfc extension_driver to ml2

    Change-Id: If1ebf9554f6d686cc6d064e698a48f8a6b6172b3
    Closes-Bug: #1664493
    Depends-On: I60ba1333231a4ae38a041d41e551f7d74fe15e3b

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b3

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.0.0b3

This issue was fixed in the openstack/kolla 5.0.0.0b3 development milestone.

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.