'/root/openrc's resource duplicate declaration

Bug #1636472 reported by chendengyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Mikhail Zhnichkov
Nominated for Ocata by Oleksiy Molchanov
Mitaka
Fix Released
High
Mikhail Zhnichkov
Newton
Fix Committed
High
Mikhail Zhnichkov

Bug Description

User configures Username(root) and Home directory(/root) in Operating System Access, and will throw the error that Credentials_file[/root/openrc] is already declared in deployment.

Tags: area-library
Changed in fuel:
milestone: none → 11.0
tags: added: area-library
Changed in fuel:
status: New → Confirmed
assignee: nobody → Oleksiy Molchanov (omolchanov)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
chendengyi (chendy-0598) wrote :

I commits this bug for git log. Review: https://review.openstack.org/#/c/390133/

Changed in fuel:
assignee: Oleksiy Molchanov (omolchanov) → chendengyi (chendy-0598)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Oleksiy Molchanov (<email address hidden>) on branch: master
Review: https://review.openstack.org/390568

Changed in fuel:
assignee: chendengyi (chendy-0598) → Stanislaw Bogatkin (sbogatkin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
assignee: Stanislaw Bogatkin (sbogatkin) → Mikhail Zhnichkov (mzhnichkov)
Changed in fuel:
assignee: Mikhail Zhnichkov (mzhnichkov) → slava valyavskiy (slava-val-al)
Changed in fuel:
assignee: slava valyavskiy (slava-val-al) → Mikhail Zhnichkov (mzhnichkov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/397032
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=12769a9127b438c324a2c4189a7db61aa3f958d2
Submitter: Jenkins
Branch: master

commit 12769a9127b438c324a2c4189a7db61aa3f958d2
Author: Mikhail <email address hidden>
Date: Mon Nov 14 10:32:04 2016 +0300

    Fix duplicate declaration

    User configures Username(root) and Home directory(/root) in
    Operating System Access, and will throw the error that
    Credentials_file[/root/openrc] is already declared in deployment.

    Change-Id: I6f437550edd78af372e5f52b55663beab86edfee
    Closes-Bug: #1636472

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/406976

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/406980

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

Reviewed: https://review.openstack.org/406976
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=d4393bb8da8f11099aea485a0e405a093a4211ad
Submitter: Jenkins
Branch: stable/mitaka

commit d4393bb8da8f11099aea485a0e405a093a4211ad
Author: Mikhail <email address hidden>
Date: Mon Nov 14 10:32:04 2016 +0300

    Fix duplicate declaration

    User configures Username(root) and Home directory(/root) in
    Operating System Access, and will throw the error that
    Credentials_file[/root/openrc] is already declared in deployment.

    Change-Id: I6f437550edd78af372e5f52b55663beab86edfee
    Closes-Bug: #1636472
    (cherry picked from commit 12769a9127b438c324a2c4189a7db61aa3f958d2)

tags: added: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/newton)

Reviewed: https://review.openstack.org/406980
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=87204b82ebb786a9b8552d82d8ff94c4328ea286
Submitter: Jenkins
Branch: stable/newton

commit 87204b82ebb786a9b8552d82d8ff94c4328ea286
Author: Mikhail <email address hidden>
Date: Mon Nov 14 10:32:04 2016 +0300

    Fix duplicate declaration

    User configures Username(root) and Home directory(/root) in
    Operating System Access, and will throw the error that
    Credentials_file[/root/openrc] is already declared in deployment.

    Change-Id: I6f437550edd78af372e5f52b55663beab86edfee
    Closes-Bug: #1636472
    (cherry picked from commit 12769a9127b438c324a2c4189a7db61aa3f958d2)

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verification of this bug is blocked by https://bugs.launchpad.net/fuel/+bug/1648359.

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #567.

Steps to verify:
1. Deploy Fuel 9.0 RC2 from image (Build 495)
2. Upgrade the fuel master node to 9.2
3. Change operator_user's name value from 'fueladmin' to 'root' and operator_user's homedir value from '/home/fueladmin' to '/root' in /usr/lib/python2.7/site-packages/nailgun/fixtures/openstack.yaml
4. systemctl restart nailgun
5. Apply workaround for bug https://bugs.launchpad.net/fuel/+bug/1651416 (changes in openstack.yaml are not applied after upgrade to 9.2 by default, we need to set name and homedir values manually in db):
sudo -u postgres psql
\c nailgun
begin;
update releases set attributes_metadata = regexp_replace(attributes_metadata, '"value": "fueladmin"', '"value": "root"');
update releases set attributes_metadata = regexp_replace(attributes_metadata, '"value": "\/home\/fueladmin"', '"value": "/root"');
commit;
6. Create cluster with 1 controller, add mos9.0-proposed repo and deploy it

Actual results:
Deployment is finished successfully.

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Fuel DevOps Robot (<email address hidden>) on branch: master
Review: https://review.openstack.org/390133
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 11.0.0.0rc1

This issue was fixed in the openstack/fuel-library 11.0.0.0rc1 release candidate.

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.