Influxdb node installation fails with "/sbin/nologin must exist"

Bug #1523579 reported by Ilya Shakhat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
High
Simon Pasquier
0.8
Fix Released
Undecided
Unassigned

Bug Description

MOS 8 cluster deployment with master influxdb plugin fails. The traceback is following:

2015-12-07 11:59:12 +0000 Puppet (err): Shell /sbin/nologin must exist
/usr/lib/ruby/vendor_ruby/puppet/provider/user/useradd.rb:119:in `check_valid_shell'
/usr/lib/ruby/vendor_ruby/puppet/provider/user/useradd.rb:84:in `shell='
/usr/lib/ruby/vendor_ruby/puppet/property.rb:178:in `call_provider'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:503:in `set'
/usr/lib/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:204:in `sync'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `block in perform_changes'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `each'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `perform_changes'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
/usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
/usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
/usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
/usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
/usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
/usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
/usr/lib/ruby/vendor_ruby/puppet.rb:244:in `override'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
/usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
/usr/lib/ruby/vendor_ruby/puppet.rb:244:in `override'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
/usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
/usr/bin/puppet:8:in `<main>'
2015-12-07 11:59:12 +0000 /Stage[main]/Main/User[influxdb]/shell (err): change from to /sbin/nologin failed: Shell /sbin/nologin must exist

Revision history for this message
Ilya Shakhat (shakhat) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  openstack_version: "2015.1.0-8.0"
  api: "1.0"
  build_number: "242"
  build_id: "242"
  fuel-nailgun_sha: "1b6ae6c7fd4766f4a57d90afc1cd0f2315255a42"
  python-fuelclient_sha: "91474bd8c526f4f536ab13368feb4a5c1b84d185"
  fuel-agent_sha: "660c6514caa8f5fcd482f1cc4008a6028243e009"
  fuel-nailgun-agent_sha: "a33a58d378c117c0f509b0e7badc6f0910364154"
  astute_sha: "b60624ee2c5f1d6d805619b6c27965a973508da1"
  fuel-library_sha: "413eb6bdaee49f204aaa0575fba47dedf3aa6acf"
  fuel-ostf_sha: "a98973482f839554d90cc1c071d625a01e018cfe"
  fuel-mirror_sha: "5a1efffd411611b87cbd45af59b9733b7e170cd4"
  fuelmenu_sha: "fcb15df4fd1a790b17dd78cf675c11c279040941"
  shotgun_sha: "25a0cc461a9fa4f7684f04cef0ff4ad9aa99a64d"
  network-checker_sha: "a3534f8885246afb15609c54f91d3b23d599a5b1"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "d1cda9fa50cb8f90e7655ee1046802c56ed3d69f"

Changed in lma-toolchain:
importance: Undecided → High
milestone: none → 0.9.0
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-influxdb-grafana (master)

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

Changed in lma-toolchain:
assignee: nobody → Simon Pasquier (simon-pasquier)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-influxdb-grafana (master)

Reviewed: https://review.openstack.org/254377
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-influxdb-grafana/commit/?id=ad85fdacc27779ff115d01d9f8c2e38688be2815
Submitter: Jenkins
Branch: master

commit ad85fdacc27779ff115d01d9f8c2e38688be2815
Author: Simon Pasquier <email address hidden>
Date: Mon Dec 7 21:39:51 2015 +0100

    Fix nologin path

    Change-Id: Ic6ff1764fb8c7de91044b16147c368ff63bb2839
    Closes-Bug: #1523579

Changed in lma-toolchain:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-influxdb-grafana (stable/0.8)

Fix proposed to branch: stable/0.8
Review: https://review.openstack.org/258605

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-influxdb-grafana (stable/0.8)

Reviewed: https://review.openstack.org/258605
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-influxdb-grafana/commit/?id=74191e13ce7583eeaa2d41e3e09a29123d6689e2
Submitter: Jenkins
Branch: stable/0.8

commit 74191e13ce7583eeaa2d41e3e09a29123d6689e2
Author: Simon Pasquier <email address hidden>
Date: Mon Dec 7 21:39:51 2015 +0100

    Fix nologin path

    Change-Id: Ic6ff1764fb8c7de91044b16147c368ff63bb2839
    Closes-Bug: #1523579
    (cherry picked from commit ad85fdacc27779ff115d01d9f8c2e38688be2815)

Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

Also affects the LMA collector plugin.

tags: added: influxdb
tags: added: influxdb-grafana lma-collector
removed: influxdb
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-lma-collector (master)

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

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

Reviewed: https://review.openstack.org/260627
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-lma-collector/commit/?id=6bd8565bd013c2d30187929d01d16f3d331da02a
Submitter: Jenkins
Branch: master

commit 6bd8565bd013c2d30187929d01d16f3d331da02a
Author: Simon Pasquier <email address hidden>
Date: Tue Dec 22 17:51:15 2015 +0100

    Fix nologin path

    Change-Id: I62e5287fb8292ba89c24f03c3e49cf2318f6a2cd
    Closes-Bug: #1523579

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-lma-collector (stable/0.8)

Fix proposed to branch: stable/0.8
Review: https://review.openstack.org/260995

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-lma-collector (stable/0.8)

Reviewed: https://review.openstack.org/260995
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-lma-collector/commit/?id=2a565deea03fb3f53db4cc5ed3428d2d9819e4e7
Submitter: Jenkins
Branch: stable/0.8

commit 2a565deea03fb3f53db4cc5ed3428d2d9819e4e7
Author: Simon Pasquier <email address hidden>
Date: Tue Dec 22 17:51:15 2015 +0100

    Fix nologin path

    Change-Id: I62e5287fb8292ba89c24f03c3e49cf2318f6a2cd
    Closes-Bug: #1523579
    (cherry picked from commit 6bd8565bd013c2d30187929d01d16f3d331da02a)

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