[fuel-createmirror] We need to replace usage of fuel-create mirror to replaced by fuel-mirror utils

Bug #1518960 reported by Andrey Sledzinskiy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexandr Kostrikov
8.0.x
Fix Released
High
Alexandr Kostrikov
Mitaka
Fix Released
High
Alexandr Kostrikov

Bug Description

Scenario ( https://mirantis.testrail.com/index.php?/tests/view/1896299 ):

1. Revert snapshot 'empty' with default set of repositories
2. Bootstrap 5 slave nodes
3. Run 'fuel-createmirror' to replace default repositories
with local mirrors

Actual result - mirroring fails with
Unexpected exit_code returned: actual 2, expected 0. Command: 'fuel-createmirror' Details: {'host': '10.109.0.2', 'command': 'fuel-createmirror', 'exit_code': 2, 'stderr': ['Starting new HTTP connection (1): 10.109.0.2\n', 'Starting new HTTP connection (1): 10.109.0.2\n', 'Starting new HTTP connection (1): 10.109.0.2\n', 'Starting new HTTP connection (1): 10.109.0.2\n', 'usage: fuel-mirror create [-h] (-I PATH | -P NAME) -G GROUPS [GROUPS ...]\n', 'fuel-mirror create: error: one of the arguments -I/--input-file -P/--pattern is required\n', 'Starting new HTTP connection (1): 10.109.0.2\n', 'Starting new HTTP connection (1): 10.109.0.2\n', 'Starting new HTTP connection (1): 10.109.0.2\n', 'Starting new HTTP connection (1): 10.109.0.2\n', 'usage: fuel-mirror apply [-h] (-I PATH | -P NAME) -G GROUPS [GROUPS ...]\n', ' [--default] [-e ENV [ENV ...]]\n', 'fuel-mirror apply: error: one of the arguments -I/--input-file -P/--pattern is required\n'], 'stdout': ['This script is DEPRECATED. Please use fuel-mirror utility!\n']}

logs are attached

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  openstack_version: "2015.1.0-8.0"
  api: "1.0"
  build_number: "195"
  build_id: "195"
  fuel-nailgun_sha: "8d6ef41f1bef84378a61ee98b46aeb2b925fd10f"
  python-fuelclient_sha: "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"
  fuel-agent_sha: "1d98edb0468aa70b9b3a43b8422804e9095e7d9d"
  fuel-nailgun-agent_sha: "b56f832abc18aee9a8c603fd6cc2055c5f4287bc"
  astute_sha: "c8400f51b0b92254da206de55ef89d17fdf35393"
  fuel-library_sha: "33c0fa3aada734dc9e6f315197ce0e4a16f5987c"
  fuel-ostf_sha: "11afd5743a12b1006317d3ca7000d1ede77bdae2"
  fuel-createmirror_sha: "994fed9b1ed889718b61a59733275c08c2dd4c64"
  fuelmenu_sha: "d12061b1aee82f81b3d074de74ea27a6e962a686"
  shotgun_sha: "c377d163519f6d10b69a654019d6086ba5f14edc"
  network-checker_sha: "2c62cd52655ea6456ff6294fd63f18d6ea54fe38"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "22fe551f5525d11a1854fd87dbc8c77fae8fec08"

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Dmitry Pyzhov (dpyzhov)
tags: added: area-python fuel-createmirror team-enhancements
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Bulat Gaifullin (bgaifullin)
Revision history for this message
Bulat Gaifullin (bulat.gaifullin) wrote :

The fuel-creatembirror was rewritten in python in fuel-8.0. [1]
this bug is obsolete.

[1] https://bugs.launchpad.net/fuel/+bug/1487077

Changed in fuel:
status: New → Won't Fix
Revision history for this message
Nastya Urlapova (aurlapova) wrote : Re: [fuel-createmirror] Fails with Upstream mirror archive.ubuntu.com does not support rsync protocol, aborting

@Bulat, actually we met issue, while fuel-create mirror will re-written in python we can reset issue status.

summary: - fuel-createmirror] Fails with Upstream mirror archive.ubuntu.com does
+ [fuel-createmirror] Fails with Upstream mirror archive.ubuntu.com does
not support rsync protocol, aborting
Changed in fuel:
status: Won't Fix → Confirmed
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

@Nastya, we have an issue and we are not going to do anything with it. There is no point to keep it open.

Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

Issue is still reproduced though https://bugs.launchpad.net/fuel/+bug/1487077 was merged.
So issue is present and it affects swarm results

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
status: Won't Fix → New
Dmitry Klenov (dklenov)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Alexey Shtokolov (ashtokolov) wrote :

Fuel-createmirror was deprecated and replaced by fuel-mirror in 8.0

Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Move to fuel QA according to we need to make replacement

summary: - [fuel-createmirror] Fails with Upstream mirror archive.ubuntu.com does
- not support rsync protocol, aborting
+ [fuel-createmirror] We need to replace usage of fuel-create mirror to
+ replaced by fuel-mirror utils
Changed in fuel:
assignee: Bulat Gaifullin (bgaifullin) → Fuel QA Team (fuel-qa)
status: Won't Fix → Confirmed
description: updated
Dmitry Pyzhov (dpyzhov)
tags: added: area-qa
removed: area-python
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Alexandr Kostrikov (akostrikov-mirantis)
Changed in fuel:
assignee: Alexandr Kostrikov (akostrikov-mirantis) → Alexander Kurenyshev (akurenyshev)
Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Alexander Kurenyshev (akurenyshev) → Alexandr Kostrikov (akostrikov-mirantis)
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

That would be replaced by use-mirror test group.

Andrey Maximov (maximov)
tags: removed: team-enhancements
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

I have checked fix form master - it works, now we got to wait for cherry-pick to stable/8.0

tags: added: non-release
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

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

Change abandoned by Alexandr Kostrikov (<email address hidden>) on branch: master
Review: https://review.openstack.org/255843
Reason: It is fixed in https://review.openstack.org/#/c/277335/.
Further fixes will be applied later based on that patch

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

Reviewed: https://review.openstack.org/277335
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=6dc3d8785685aa1dca1099acf862623f667293a9
Submitter: Jenkins
Branch: master

commit 6dc3d8785685aa1dca1099acf862623f667293a9
Author: Alexandr Kostrikov <email address hidden>
Date: Mon Feb 8 13:43:42 2016 +0300

    Fix multiple roles with local mirror

    Mirrors are replaced and ubuntu is used as default to
    be able to build bootstrap image.

    Change-Id: I2e0971a6b49b457c03a82fcc1c9bd3b06ebaec60
    Closes-bug: #1518960

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/278295

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

Reviewed: https://review.openstack.org/278295
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=bb0d51ed43d866c3a2ea5c468dcc8ad2d8480e59
Submitter: Jenkins
Branch: stable/8.0

commit bb0d51ed43d866c3a2ea5c468dcc8ad2d8480e59
Author: Alexandr Kostrikov <email address hidden>
Date: Mon Feb 8 13:43:42 2016 +0300

    Fix multiple roles with local mirror

    Mirrors are replaced and ubuntu is used as default to
    be able to build bootstrap image.

    Change-Id: I2e0971a6b49b457c03a82fcc1c9bd3b06ebaec60
    Closes-bug: #1518960
    (cherry picked from commit 6dc3d8785685aa1dca1099acf862623f667293a9)

Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :
tags: removed: non-release
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.