Bug 1343316 - Message "ValueError: Port tcp/2223 already defined" while upgrading ovirt-vmconsole-host
Summary: Message "ValueError: Port tcp/2223 already defined" while upgrading ovirt-vmc...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-vmconsole
Classification: oVirt
Component: Core
Version: 1.0.3
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ovirt-4.0.1
: 1.0.4
Assignee: Francesco Romani
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-07 06:44 UTC by Francesco Romani
Modified: 2016-07-19 06:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 06:23:59 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)

Description Francesco Romani 2016-06-07 06:44:37 UTC
Description of problem:
When upgrading the ovirt-vmconsole-host package, the message

ValueError: Port tcp/2223 already defined

is emitted on standard error


Version-Release number of selected component (if applicable):
1.0.3

How reproducible:
100%

Steps to Reproduce:
1. install ovirt-vmconsole-host
2. upgrade the package to a newer version


Actual results:
Error message printed on screen on upgrading. No other misbehaviour or negative effect on the system.

Expected results:
No useless error message on upgrading.

Comment 1 Red Hat Bugzilla Rules Engine 2016-06-07 06:44:42 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Red Hat Bugzilla Rules Engine 2016-06-07 06:44:42 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Francesco Romani 2016-06-14 08:19:17 UTC
https://gerrit.ovirt.org/#/c/58279/2 merged -> MODIFIED

Comment 4 Nikolai Sednev 2016-07-13 17:35:27 UTC
Did not received the version yet, still running on:
ovirt-vmconsole-host-1.0.3-1.el7ev.noarch

Comment 6 Nikolai Sednev 2016-07-14 09:31:18 UTC
Manual update of vm-console-host component working fine, no messages about "ValueError: Port tcp/2223 already defined" was seen:


Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository rhel-7.2 is listed more than once in the configuration
Repository rhel-72-optional is listed more than once in the configuration
Repository latest_rhel_z_stream is listed more than once in the configuration
Repository rhev-72-hypervisor is listed more than once in the configuration
ovirt-vmconsole-host-1.0.4-1.el7ev.noarch.rpm                                                                              |  16 kB  00:00:00     
Examining /var/tmp/yum-root-eZGrac/ovirt-vmconsole-host-1.0.4-1.el7ev.noarch.rpm: ovirt-vmconsole-host-1.0.4-1.el7ev.noarch
Marking /var/tmp/yum-root-eZGrac/ovirt-vmconsole-host-1.0.4-1.el7ev.noarch.rpm as an update to ovirt-vmconsole-host-1.0.3-1.el7ev.noarch
Resolving Dependencies
--> Running transaction check
---> Package ovirt-vmconsole-host.noarch 0:1.0.3-1.el7ev will be updated
---> Package ovirt-vmconsole-host.noarch 0:1.0.4-1.el7ev will be an update
--> Processing Dependency: ovirt-vmconsole = 1.0.4-1.el7ev for package: ovirt-vmconsole-host-1.0.4-1.el7ev.noarch
--> Running transaction check
---> Package ovirt-vmconsole.noarch 0:1.0.3-1.el7ev will be updated
---> Package ovirt-vmconsole.noarch 0:1.0.4-1.el7ev will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================
 Package                           Arch                Version                      Repository                                               Size
==================================================================================================================================================
Updating:
 ovirt-vmconsole-host              noarch              1.0.4-1.el7ev                /ovirt-vmconsole-host-1.0.4-1.el7ev.noarch               30 k
Updating for dependencies:
 ovirt-vmconsole                   noarch              1.0.4-1.el7ev                rhev-4.0.1-2                                             29 k

Transaction Summary
==================================================================================================================================================
Upgrade  1 Package (+1 Dependent package)

Total size: 60 k
Total download size: 29 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
ovirt-vmconsole-1.0.4-1.el7ev.noarch.rpm                                                                                   |  29 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : ovirt-vmconsole-1.0.4-1.el7ev.noarch                                                                                           1/4 
  Updating   : ovirt-vmconsole-host-1.0.4-1.el7ev.noarch                                                                                      2/4 
  Cleanup    : ovirt-vmconsole-host-1.0.3-1.el7ev.noarch                                                                                      3/4 
  Cleanup    : ovirt-vmconsole-1.0.3-1.el7ev.noarch                                                                                           4/4 
  Verifying  : ovirt-vmconsole-1.0.4-1.el7ev.noarch                                                                                           1/4 
  Verifying  : ovirt-vmconsole-host-1.0.4-1.el7ev.noarch                                                                                      2/4 
  Verifying  : ovirt-vmconsole-1.0.3-1.el7ev.noarch                                                                                           3/4 
  Verifying  : ovirt-vmconsole-host-1.0.3-1.el7ev.noarch                                                                                      4/4 

Updated:
  ovirt-vmconsole-host.noarch 0:1.0.4-1.el7ev                                                                                                     

Dependency Updated:
  ovirt-vmconsole.noarch 0:1.0.4-1.el7ev                                                                                                          

Complete!

Changing status to verified as of this specific issue was resolved and there is a work around to manually update only ovirt-vmconsole-host component, so 1356489 no longer blocks.

Comment 7 Sandro Bonazzola 2016-07-19 06:23:59 UTC
Since the problem described in this bug report should be
resolved in oVirt 4.0.1 released on July 19th 2016, it has been closed with a
resolution of CURRENT RELEASE.

For information on the release, and how to update to this release, follow the link below.

If the solution does not work for you, open a new bug report.

http://www.ovirt.org/release/4.0.1/


Note You need to log in before you can comment on or make changes to this bug.