Fuel node deployment failed requests.exceptions.InvalidURL: Failed to parse: 10.109.0.2:None

Bug #1528253 reported by Andrey Sledzinskiy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Roman Prykhodchenko

Bug Description

Steps:
1. Start fuel installation

Actual result - master node depoyment failed
Debug: Executing 'fuel rel --sync-deployment-tasks --dir /etc/puppet/'
Debug: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: Sleeping for 10.0 seconds between tries
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: Traceback (most recent call last):
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/bin/fuel", line 10, in <module>
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: sys.exit(main())
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/cli/error.py", line 115, in wrapper
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: return func(*args, **kwargs)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/cli/parser.py", line 266, in main
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: parser.parse()
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/cli/parser.py", line 143, in parse
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: actions[parsed_params.action].action_func(parsed_params)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/cli/actions/base.py", line 62, in action_func
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: method(params)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/cli/actions/base.py", line 110, in wrapped_f
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: return f(self, params)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/cli/actions/release.py", line 145, in sync_deployment_tasks
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: all_rels = Release.get_all_data()
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/objects/base.py", line 64, in get_all_data
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: return cls.connection.get_request(cls.class_api_path)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 191, in get_request
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: resp = self.get_request_raw(api, ostf, params)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 184, in get_request_raw
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: return self.session.get(url, params=params)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 95, in session
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: self._session = self._make_session()
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 77, in _make_session
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: session.headers.update(self._make_common_headers())
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 58, in _make_common_headers
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: 'X-Auth-Token': self.auth_token}
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 101, in auth_token
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: if self.auth_required:
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/fuelclient/client.py", line 111, in auth_required
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: resp = requests.get(url)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/requests/api.py", line 69, in get
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: return request('get', url, params=params, **kwargs)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/requests/api.py", line 50, in request
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: response = session.request(method=method, url=url, **kwargs)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 451, in request
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: prep = self.prepare_request(req)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 382, in prepare_request
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: hooks=merge_hooks(request.hooks, self.hooks),
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/requests/models.py", line 304, in prepare
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: self.prepare_url(url, params)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: File "/usr/lib/python2.7/site-packages/requests/models.py", line 357, in prepare_url
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: raise InvalidURL(*e.args)
Notice: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: requests.exceptions.InvalidURL: Failed to parse: 10.109.0.2:None
Error: fuel rel --sync-deployment-tasks --dir /etc/puppet/ returned 1 instead of one of [0]
Error: /Stage[main]/Main/Exec[sync_deployment_tasks]/returns: change from notrun to 0 failed: fuel rel --sync-deployment-tasks --dir /etc/puppet/ returned 1 instead of one of [0]
Debug: Class[Main]: The container Stage[main] will propagate my refresh event

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "329"
  build_id: "329"
  fuel-nailgun_sha: "ec25ae8df28e1f1d87da653c5aab2711dff729f6"
  python-fuelclient_sha: "082f9039d7a1aea79ef567071295ce29a268b778"
  fuel-agent_sha: "082fcc56020aa91470896369e088a8decbfba03f"
  fuel-nailgun-agent_sha: "a33a58d378c117c0f509b0e7badc6f0910364154"
  astute_sha: "9ccde3e4914baeb2cf31c0ff983ae073d58c059d"
  fuel-library_sha: "46dde66afd942c408d3e921366137b49fcc70cab"
  fuel-ostf_sha: "b2ebf15a3530b5c7b57707acf8642c1c3ac71bd8"
  fuel-mirror_sha: "8100acb3a566358d0d4ecc66de32d39626263028"
  fuelmenu_sha: "2942a85796d37f09ba8c8c6d762d8813292cf0d4"
  shotgun_sha: "ae9a510f1167df3ff789894b0ef2cc4095291ad1"
  network-checker_sha: "d443ef47abeda58d319bc8d33d5005dd09440a02"
  fuel-upgrade_sha: "718aa3d7021fee2970f0fa6791cf5188578cc516"
  fuelmain_sha: "3faa824728ce60734abe602ff3778976f8a16eed"

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Sergey Slipushenko (sslypushenko) wrote :
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python)
status: New → Confirmed
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Igor Kalnitsky (ikalnitsky)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

Apparently, puppet manifests use incorrect option name - SERVER_PORT, while python-fuelclient uses LISTER_PORT. In order to be consistent with SERVER_ADDRESS, let's rename LISTER_PORT to SERVER_PORT with deprecation period.

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

Reviewed: https://review.openstack.org/260096
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=8ee0036042cf46c121fb55ba95885bc0d14f5585
Submitter: Jenkins
Branch: master

commit 8ee0036042cf46c121fb55ba95885bc0d14f5585
Author: Igor Kalnitsky <email address hidden>
Date: Mon Dec 21 16:52:44 2015 +0000

    Revert "Removes MANIFEST.in as it is not needed explicitely by PBR"

    This reverts commit 49d9920dd7a6a5ea38444714cd754b44f328004b.

    Closes-Bug: #1528253
    Change-Id: I5efa7b704fc01f09c390db0694e30a658b682839

Changed in fuel:
status: In Progress → Fix Committed
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/260149

Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Changing priority from Critical to High because we reverted broken pathset. Roman is working on proper fix.

Changed in fuel:
assignee: Igor Kalnitsky (ikalnitsky) → Roman Prykhodchenko (romcheg)
status: Fix Committed → Confirmed
importance: Critical → Medium
importance: Medium → High
status: Confirmed → In Progress
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
removed: area-library
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Seems like it also affects generation of diagnostic snapshots:

https://paste.mirantis.net/show/1634/

Dmitry Pyzhov (dpyzhov)
tags: added: team-bugfix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

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

commit f6fb0d41e9eb6b7f9e22e895cb14ab98edd22029
Author: Roman Prykhodchenko <email address hidden>
Date: Mon Dec 21 19:22:36 2015 +0100

    Deprecate LISTEN_PORT parameter

    This patch deprecates LISTEN_PORT parameter in favour
    of SERVER_PORT.

    Change-Id: I7ad8b28ac82670f2035e7a21139938a063964cd1
    Closes-bug: #1528253

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

Verified on ISO #427

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "427"
  build_id: "427"
  fuel-nailgun_sha: "9ebbaa0473effafa5adee40270da96acf9c7d58a"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "df16d41cd7a9445cf82ad9fd8f0d53824711fcd8"
  fuel-nailgun-agent_sha: "92ebd5ade6fab60897761bfa084aefc320bff246"
  astute_sha: "c7ca63a49216744e0bfdfff5cb527556aad2e2a5"
  fuel-library_sha: "fae42170a54b98d8e8c8db99b0fbb312633c693c"
  fuel-ostf_sha: "214e794835acc7aa0c1c5de936e93696a90bb57a"
  fuel-mirror_sha: "b62f3cce5321fd570c6589bc2684eab994c3f3f2"
  fuelmenu_sha: "85de57080a18fda18e5325f06eaf654b1b931592"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "9f0ba4577915ce1e77f5dc9c639a5ef66ca45896"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "e8e36cff332644576d7853c80b8a53d5b955420a"

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.