location of nailgun agent was changed

Bug #1492449 reported by Sergey Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Low
Sergey Kulanov

Bug Description

Location for nailgun-agent was changed:

from /opt/bin/nailgun/agent to /usr/bin/nailgun-agent

https://github.com/stackforge/fuel-nailgun-agent/blob/master/specs/fuel-nailgun-agent.spec#L43

So, need to re-check fuel-qa code

https://github.com/stackforge/fuel-qa/blob/ab2d5f51cb465d9e05d6d7539015cfe8dba5c0c2/fuelweb_test/models/environment.py#L486

Environment, any master:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "273"
  build_id: "273"
  nailgun_sha: "7defd390b4768ff465979eac4e6234bcfe54a1d7"
  python-fuelclient_sha: "1ce8ecd8beb640f2f62f73435f4e18d1469979ac"
  fuel-agent_sha: "082a47bf014002e515001be05f99040437281a2d"
  fuel-nailgun-agent_sha: "d7027952870a35db8dc52f185bb1158cdd3d1ebd"
  astute_sha: "ad6d59812b775bc12e7bd7aec8f81374595ffa63"
  fuel-library_sha: "25d8c118d248e04edc83e34a04e8fa010cc80c64"
  fuel-ostf_sha: "1f08e6e71021179b9881a824d9c999957fcc7045"
  fuelmain_sha: "9ab01caf960013dc882825dc9b0e11ccf0b81cb0"

In logs:
2015-09-04T19:26:19.762448+00:00 info: /bin/sh: /opt/nailgun/bin/agent: No such file or directory

Tags: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/221096

Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

run_nailgun_agent() is not used in system tests and should be removed.

The error caused by nailgun-agent itself at start, see the fist line of every agent.log, for example (see the attached diagnostic snapshot):

/10.109.2.2/var/log/docker-logs/remote/node-1.test.domain.local/bootstrap/agent.log:

----------------
2015-09-07T04:31:52.319064+00:00 info: /bin/sh: /opt/nailgun/bin/agent: No such file or directory
2015-09-07T04:32:06.852746+00:00 info: at depth 0 - 18: self signed certificate
2015-09-07T04:32:06.852867+00:00 debug: 04:32:02.768572 #1104] DEBUG -- : Sleep for 4 seconds before sending request
2015-09-07T04:32:06.853035+00:00 info: 04:32:06.772991 #1104] INFO -- : Trying to load agent config /etc/nailgun-agent/config.yaml
----------------

Moving to 8.0 as it is not affecting corrent deploy.

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Fuel Python Team (fuel-python)
importance: Undecided → Low
milestone: 7.0 → 8.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-agent (master)

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

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Sergey Kulanov (skulanov)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/221096
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=f2cc7c619940a6bc6efd8f333ab2e3961bf47f7b
Submitter: Jenkins
Branch: master

commit f2cc7c619940a6bc6efd8f333ab2e3961bf47f7b
Author: Dennis Dmitriev <email address hidden>
Date: Mon Sep 7 22:02:10 2015 +0300

    Remove method run_nailgun_agent()

    run_nailgun_agent() is not used in system tests and should be
    removed.

    Change-Id: I9b80a6a222b1d6e134d35712c5607fd0a4e72771
    Related-Bug:#1492449

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (stable/7.0)

Related fix proposed to branch: stable/7.0
Review: https://review.openstack.org/221249

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (stable/7.0)

Reviewed: https://review.openstack.org/221249
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=4a69e687654473cfe13f729ff5a1f4fd0e471c7b
Submitter: Jenkins
Branch: stable/7.0

commit 4a69e687654473cfe13f729ff5a1f4fd0e471c7b
Author: Dennis Dmitriev <email address hidden>
Date: Mon Sep 7 22:02:10 2015 +0300

    Remove method run_nailgun_agent()

    run_nailgun_agent() is not used in system tests and should be
    removed.

    Change-Id: I9b80a6a222b1d6e134d35712c5607fd0a4e72771
    Related-Bug:#1492449
    (cherry picked from commit f2cc7c619940a6bc6efd8f333ab2e3961bf47f7b)

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

Reviewed: https://review.openstack.org/221103
Committed: https://git.openstack.org/cgit/stackforge/fuel-agent/commit/?id=27d296042de521f3ff5cfef7945914b74cc58510
Submitter: Jenkins
Branch: master

commit 27d296042de521f3ff5cfef7945914b74cc58510
Author: Sergey Kulanov <email address hidden>
Date: Mon Sep 7 23:33:54 2015 +0300

    Fix path to nailgun-agent

    nailgun-agent package was updated and agent was renamed to
    nailgun-agent [1, 2]. So we need to update path both for
    CentOS and Ubuntu packages

    [1]. https://github.com/stackforge/fuel-nailgun-agent/blob/master/specs/fuel-nailgun-agent.spec#L37
    [2]. https://github.com/stackforge/fuel-nailgun-agent/blob/master/debian/rules#L12

    Change-Id: I26207927a67ffd6f1f340ad717bcf291af4874ea
    Closes-bug: #1492449

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

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

Reviewed: https://review.openstack.org/247463
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=22fe551f5525d11a1854fd87dbc8c77fae8fec08
Submitter: Jenkins
Branch: master

commit 22fe551f5525d11a1854fd87dbc8c77fae8fec08
Author: Sergey Kulanov <email address hidden>
Date: Thu Nov 19 14:11:01 2015 +0200

    Fix path to nailgun-agent

    nailgun-agent package was updated and agent was renamed to
    nailgun-agent [1, 2]. So we need to update path both for
    CentOS and Ubuntu packages

    [1]. https://github.com/openstack/fuel-nailgun-agent/blob/master/specs/fuel-nailgun-agent.spec#L37
    [2]. https://github.com/openstack/fuel-nailgun-agent/blob/master/debian/rules#L12

    Change-Id: Ia9ecdd96bb2eb989c2bcfb3cd51efbfd12e8f9ea
    Closes-bug: #1492449

Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Verified on on 8.0-553.

Changed in fuel:
status: Fix Committed → Won't Fix
status: Won't Fix → 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.