Fuel connects to internet when installing local plugin

Bug #1467212 reported by Sam Stoelinga
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Ruslan Aliev

Bug Description

When installing a plugin from local filesystem, Fuel shows an error that it can't connect to MOS repoistory:

fuel plugins --install zabbix_monitoring-1.0-1.0.0-1.noarch.rpm
DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your cust
om settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
auxiliary | 2.9 kB 00:00 ...

http://mirror.fuel-infra.org/mos/centos-6/mos6.1/security/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.fuel-infra.org/mos/centos-6/mos6.1/security/repodata
/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://mirror.fuel-infra.org/mos/centos-6/mos6.1/updates/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.fuel-infra.org/mos/centos-6/mos6.1/updates/repodata/r
epomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
nailgun | 3.9 kB 00:00 ...
Setting up Install Process

Please note that installation of Fuel plugin still succeeded anyway, but error message like that may cause confusion for end-users. Suggest removing the call to external repo if it's unnecessary. Or do a test to see whether it's reachable and show a user friendly message.

Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Fuel Python Team (fuel-python)
milestone: none → 7.0
Changed in fuel:
status: New → Confirmed
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Moved to 8.0, because it does not brake anything. This is only problem small problem with UX

tags: added: feature-plugins tech-debt
Changed in fuel:
milestone: 7.0 → 8.0
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

If you really want this, we can do yum --disablerepo='*' localinstall $rpmfile. Adding tag low-hanging -fruit

tags: added: low-hanging-fruit
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

It does not look like tech-debt because it affects user.

tags: removed: tech-debt
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Ruslan Aliev (raliev)
Changed in fuel:
status: Confirmed → In Progress
assignee: Fuel Python Team (fuel-python) → Ruslan Aliev (raliev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (master)

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

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

Reviewed: https://review.openstack.org/240853
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=561d7363bf1c5b150f5d03fd6ad50fca5af7b270
Submitter: Jenkins
Branch: master

commit 561d7363bf1c5b150f5d03fd6ad50fca5af7b270
Author: Ruslan Aliev <email address hidden>
Date: Fri Oct 30 23:57:19 2015 +0300

    Adds correct plugin installing without internet

    Fuel no longer tries to connect to internet when installing local plugin

    Change-Id: I05cb48fb8cff69c46b4c8be93134dffdfffe3102
    Closes-Bug: 1467212

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #307

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "307"
  build_id: "307"
  fuel-nailgun_sha: "26c78e1c2913b8ca194126ca38161ff9593daef4"
  python-fuelclient_sha: "6810231ec6d333fc10f7020f9bdf5122e05e998a"
  fuel-agent_sha: "f4c22a341ce8a98cc9151bd928f1d97071288b3c"
  fuel-nailgun-agent_sha: "a33a58d378c117c0f509b0e7badc6f0910364154"
  astute_sha: "c56dfde2da034151a7e707b381c4cf9d213b4ba2"
  fuel-library_sha: "03558ce6627a5adb417b1f6bbe1c0b3a853e8d6b"
  fuel-ostf_sha: "9910a4726cbd038c257582b429527e40c4c3cb20"
  fuel-mirror_sha: "5d986722c7e911d1dd44800f2721bdbfcb7f3282"
  fuelmenu_sha: "5abc3c8fea8e578cf9250f40acf9df98adb214a3"
  shotgun_sha: "cacb93cbc28910ff0dc38f30a855efa9af50d8ce"
  network-checker_sha: "d443ef47abeda58d319bc8d33d5005dd09440a02"
  fuel-upgrade_sha: "718aa3d7021fee2970f0fa6791cf5188578cc516"
  fuelmain_sha: "713b2d7421f1ee660d17e406668f74550f96e18a"

Changed in fuel:
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.