[Ironic] Deployment failed: Missing a required parameter uids

Bug #1541256 reported by Dmitry Belyaninov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Maciej Kwiek
8.0.x
Fix Released
High
Maciej Kwiek
Mitaka
Fix Released
High
Maciej Kwiek

Bug Description

Scenario:
Deploy cluster with default settings: 1 controller and 1 ironic.
Add 1 compute and redeploy <- FAIL

Error running RPC method granular_deploy: Missing a required parameter uids

But if you want to deploy full cluster(1 controller, 1 ironic, 1 compute) - it will be successful.

[root@nailgun ~]# cat /etc/fuel/version.yaml
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "507"
  build_id: "507"
  fuel-nailgun_sha: "8e954abd70ef0083109f34289de2553dcda544d4"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "ec7e212972ead554f21b52b9e165156665f659df"
  fuel-ostf_sha: "ab5fd151fc6c1aa0b35bc2023631b1f4836ecd61"
  fuel-mirror_sha: "351d568fa3b3e4dd062054b91d766aa54d379867"
  fuelmenu_sha: "234cb4cbb30fbd2df00f388c28f31606d9cae15f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "94507c5e4dad6d8cfbd8f5d41aa8389d5335990a"
[root@nailgun ~]

Note: there is the 1530291 bug with the same scenario and different result.

Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: none → 9.0
assignee: nobody → Fuel Python Team (fuel-python)
importance: Undecided → High
tags: added: area-python
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Maciej Kwiek (maciej-iai)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Maciej Kwiek (maciej-iai) → Bulat Gaifullin (bgaifullin)
assignee: Bulat Gaifullin (bgaifullin) → Maciej Kwiek (maciej-iai)
Revision history for this message
Maciej Kwiek (maciej-iai) wrote :

I was not able to reproduce this locally (I followed steps in description) on ISO 518. Also, astute.log in diagnostic snapshot doesn't show the trace, line containing

"2016-02-02 18:32:37 ERROR [778] Error running RPC method granular_deploy: Missing a required parameter uids, trace:"

is the last line of the log. Marking as incomplete.

Revision history for this message
Maciej Kwiek (maciej-iai) wrote :

I got access to env on which this bug is reproduced, investigating.

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

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

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

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

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

We in HCF state for 8.0 and don't accept High priority fixes. Moving bug to mu-1

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

Reviewed: https://review.openstack.org/276165
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=2a806db75133717eee98f8ec35791d12305d01a6
Submitter: Jenkins
Branch: master

commit 2a806db75133717eee98f8ec35791d12305d01a6
Author: Maciej Kwiek <email address hidden>
Date: Thu Feb 4 12:16:51 2016 +0100

    Check for uids before yielding tasks in CopyKeys hook

    CopyKeys task won't be yielded if get_uids returns empty list.

    Change-Id: I44c088b79bfb392d88174f8101e38a60ac6a6c67
    Closes-Bug: 1541256

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

Reviewed: https://review.openstack.org/276270
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=aeea1a8a5be8bc1b22c2f7c95991cd29fdabc991
Submitter: Jenkins
Branch: stable/8.0

commit aeea1a8a5be8bc1b22c2f7c95991cd29fdabc991
Author: Maciej Kwiek <email address hidden>
Date: Thu Feb 4 12:16:51 2016 +0100

    Check for uids before yielding tasks in CopyKeys hook

    CopyKeys task won't be yielded if get_uids returns empty list.

    Change-Id: I44c088b79bfb392d88174f8101e38a60ac6a6c67
    Closes-Bug: 1541256

tags: added: on-verification
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Fix verified on ISO:
cat /etc/fuel_build_id:
 465
cat /etc/fuel_build_number:
 465
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6349.noarch
 fuel-misc-9.0.0-1.mos8454.noarch
 python-packetary-9.0.0-1.mos140.noarch
 fuel-bootstrap-cli-9.0.0-1.mos285.noarch
 fuel-migrate-9.0.0-1.mos8454.noarch
 rubygem-astute-9.0.0-1.mos750.noarch
 fuel-mirror-9.0.0-1.mos140.noarch
 shotgun-9.0.0-1.mos90.noarch
 fuel-openstack-metadata-9.0.0-1.mos8742.noarch
 fuel-notify-9.0.0-1.mos8454.noarch
 nailgun-mcagents-9.0.0-1.mos750.noarch
 python-fuelclient-9.0.0-1.mos325.noarch
 fuel-9.0.0-1.mos6349.noarch
 fuel-utils-9.0.0-1.mos8454.noarch
 fuel-setup-9.0.0-1.mos6349.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8742.noarch
 fuel-library9.0-9.0.0-1.mos8454.noarch
 network-checker-9.0.0-1.mos74.x86_64
 fuel-agent-9.0.0-1.mos285.noarch
 fuel-ui-9.0.0-1.mos2717.noarch
 fuel-ostf-9.0.0-1.mos935.noarch
 fuelmenu-9.0.0-1.mos274.noarch
 fuel-nailgun-9.0.0-1.mos8742.noarch

tags: removed: on-verification
tags: added: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-octane (master)

Reviewed: https://review.openstack.org/322855
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=fdafa2666dd2948175c8d5297727d42472dc6537
Submitter: Jenkins
Branch: master

commit fdafa2666dd2948175c8d5297727d42472dc6537
Author: Sergey Abramov <email address hidden>
Date: Mon May 30 17:40:57 2016 +0300

    Patch nailgun serializer on cluster upgrade handlers

    CopyKeys task won't be yielded if get_uids returns empty list.

    Change-Id: Ifd4589b6a0e9a8e8636fea9a36afa091b230ab11
    Closes-bug: 1584658
    Closes-bug: 1584041
    Related-bug: 1541256

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

Related fix proposed to branch: stable/8.0
Review: https://review.openstack.org/335860

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

Reviewed: https://review.openstack.org/335860
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=b991d9996f64301d3308a03dfb1bb2f00aec580e
Submitter: Jenkins
Branch: stable/8.0

commit b991d9996f64301d3308a03dfb1bb2f00aec580e
Author: Sergey Abramov <email address hidden>
Date: Mon May 30 17:40:57 2016 +0300

    Patch nailgun serializer on cluster upgrade handlers

    CopyKeys task won't be yielded if get_uids returns empty list.

    Change-Id: Ifd4589b6a0e9a8e8636fea9a36afa091b230ab11
    Closes-bug: 1584658
    Closes-bug: 1584041
    Related-bug: 1541256
    (cherry picked from commit fdafa2666dd2948175c8d5297727d42472dc6537)

Revision history for this message
Vladimir Jigulin (vjigulin) wrote :

Verified on mos 8.0mu2

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-octane (master)

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

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

Change abandoned by Ilya Kharin (<email address hidden>) on branch: master
Review: https://review.openstack.org/351721
Reason: This patch have to go in stable/mitaka instead of master.

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

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/351728

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-octane (stable/mitaka)
Download full text (17.8 KiB)

Reviewed: https://review.openstack.org/351728
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=3101bf302ea0f2d501fd42a6ae6046c3587ac093
Submitter: Jenkins
Branch: stable/mitaka

commit a05d2ecf13e15c12f10e1517fae425e583e0d714
Author: Nikita Zubkov <email address hidden>
Date: Thu Aug 4 17:51:56 2016 +0300

    fix ssh connection auth

    According to spec [1] service user must use key authentication​ for ssh

    [1] https://github.com/openstack/fuel-specs/blame/ba4504/specs/9.0/fuel-nonroot-openstack-nodes.rst#L61-L64

    Change-Id: I461f659d4f0985283a43ec6a702bdd78af91a072

commit 7140398e501879a4e1f5605f3d1cc99195464850
Author: Sergey Abramov <email address hidden>
Date: Tue Aug 2 12:12:57 2016 +0300

    Setup upgrade levels for each fuel version

    Setup upgrade levels block in nova.conf for each fuel version,
    this is required for backward compatibility on RPC.

    Change-Id: I6ccbc34457d11616b015cdb1e46e733b0b49ce58

commit 9e2a419ac79ad591faee9afe16419bf4497eacad
Author: Vladimir Khlyunev <email address hidden>
Date: Mon Aug 1 21:31:56 2016 +0300

    Fix several typos

    Copypasting is evil, lets remove typos

    Change-Id: Icf4bec1a3de954911a469fa98380af2b6175da08

commit 013a7ded2275245a38ee58289dac2bc8b90fa37e
Author: Sergey Abramov <email address hidden>
Date: Wed Jul 20 16:05:10 2016 +0300

    Host evacuation using nova

    Evacuate instance from compute node using
    nova host-evacuate-live except host_evacuation.sh script

    Change-Id: I01a04cfa1ed2aafce7987e523e6b589dea21fbb0

commit 00a1d0dce1f7ae5db6706a59353403516f7913dc
Author: Sergey Abramov <email address hidden>
Date: Tue Jul 19 17:10:44 2016 +0300

    Change shutoff vm command

    * run nova commands using nova util function
    * host filter using get nova node handle method(
        hostname for fuel < 6.1 and fqdn for newer version)

    Change-Id: Ib5c373714e359982b13910a225787167db7b35e9

commit 49357c98313c5f551b13d0877581c5fb5e108db1
Author: Nikita Zubkov <email address hidden>
Date: Mon Jun 27 18:40:13 2016 +0300

    Add `stderr_log_level` parameter to popen

    Now posible to set logging level in popen for logging stderr

    fuel-bootstrap build comand stderr now logged with INFO level

    Change-Id: Ibaa2be54c68ce7a428e07052c917f54e99b95a5e

commit fb582b271dab4bdd10d27149a77c0e1f6a580b9e
Author: Sergey Abramov <email address hidden>
Date: Thu Jul 21 17:56:41 2016 +0300

    Add run_nova_cmd function

    This is required for running nova command on contoller without
    manipulating manipulating with command.

    It makes code easier and more readable

    Usage:

        from fuelclient.objects import environment as environment_obj

        from octane.util import env
        from octane.util import nova

        env_id = ...
        my_env = environment_obj.Environment(env_id)
        controller = env.get_one_controller(my_env)
        nova_cmd_just_run = [...]
        nova_cmd_with_output = [...]
        nova.run_nova_cmd(nova_cmd_just_run, controller, False)
        result = nova.run_nova_cmd(nova_cmd_w...

tags: added: in-stable-mitaka
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.