Deploy fails with error " Could not find init script or upstart conf file"

Bug #1525127 reported by ElenaRossokhina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
MOS Packaging Team

Bug Description

1. Create new environment
2. Choose Neutron, TUN
3. Add 1 controller
4. Add 1 compute
5. Change default public net mask from /24 to /25
6. Uncheck "Cinder LVM over iSCSI for volumes" on 'Settings' tab
7. Verify networks
8. Deploy the environment
9. Verify networks
10. Run OSTF tests

All steps 1-7 passed. Deploy fails with following error
Error
Deployment has failed. Method granular_deploy. Failed to execute hook 'puppet' Puppet run failed. Check puppet logs for details

---
priority: 400
fail_on_error: true
type: puppet
uids:
- '2'
parameters:
  puppet_modules: /etc/puppet/modules
  puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/astute/enable_compute.pp
  timeout: 3600
  cwd: /
.
Inspect Astute logs for the details

Logs:
2015-12-10T22:13:09.422855+00:00 info: (/Stage[main]/Main/Service[nova-compute]) Starting to evaluate the resource
2015-12-10T22:13:09.423413+00:00 debug: (Service[nova-compute](provider=upstart)) Could not find nova-compute.conf in /etc/init
2015-12-10T22:13:09.423413+00:00 debug: (Service[nova-compute](provider=upstart)) Could not find nova-compute.conf in /etc/init.d
2015-12-10T22:13:09.423413+00:00 debug: (Service[nova-compute](provider=upstart)) Could not find nova-compute in /etc/init
2015-12-10T22:13:09.423413+00:00 debug: (Service[nova-compute](provider=upstart)) Could not find nova-compute in /etc/init.d
2015-12-10T22:13:09.423413+00:00 debug: (Service[nova-compute](provider=upstart)) Could not find nova-compute.sh in /etc/init
2015-12-10T22:13:09.423973+00:00 debug: (Service[nova-compute](provider=upstart)) Could not find nova-compute.sh in /etc/init.d
2015-12-10T22:13:09.424973+00:00 err: (/Stage[main]/Main/Service[nova-compute]) Could not evaluate: Could not find init script or upstart conf file for '
ompute'
2015-12-10T22:13:09.425257+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/provider/service/upstart.rb:97:in `searc
2015-12-10T22:13:09.425257+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/provider/service/init.rb:102:in `initscr
2015-12-10T22:13:09.425257+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/provider/service/upstart.rb:165:in `is_u
?'
2015-12-10T22:13:09.425257+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/provider/service/upstart.rb:154:in `stat
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/type/service.rb:90:in `retrieve'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/type.rb:1048:in `retrieve'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/type.rb:1076:in `retrieve_resource'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:236:in `
esource'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:19:in `e
e'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels)
luate'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `trav
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in app
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging
nation'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_cat
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet.rb:244:in `override'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catal
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in ma
2015-12-10T22:13:09.426273+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet.rb:244:in `override'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels)
'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `run'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
2015-12-10T22:13:09.426927+00:00 err: (/Stage[main]/Main/Service[nova-compute]) /usr/bin/puppet:8:in `<main>'
2015-12-10T22:13:09.427955+00:00 info: (/Stage[main]/Main/Service[nova-compute]) Evaluated in 0.00 seconds

Tags: area-mos
Revision history for this message
ElenaRossokhina (esolomina) wrote :
Revision history for this message
ElenaRossokhina (esolomina) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  openstack_version: "2015.1.0-8.0"
  api: "1.0"
  build_number: "263"
  build_id: "263"
  fuel-nailgun_sha: "0e09dce510927f2cc490b898e5fe3f813bd791be"
  python-fuelclient_sha: "f033192b84263f0e699458a4274289a5198ae7e4"
  fuel-agent_sha: "660c6514caa8f5fcd482f1cc4008a6028243e009"
  fuel-nailgun-agent_sha: "a33a58d378c117c0f509b0e7badc6f0910364154"
  astute_sha: "48fd58676debcc85951db68df6d77c22daa55e52"
  fuel-library_sha: "ab7e51f345ffb7c256e0f61addcf86553d7c3867"
  fuel-ostf_sha: "23b7ae2a1a57de5a3e1861ffb7805394ca339cc2"
  fuel-mirror_sha: "6534117233a5bdc51d7d47361bc7d511e4b11e6f"
  fuelmenu_sha: "fcb15df4fd1a790b17dd78cf675c11c279040941"
  shotgun_sha: "a0bd06508067935f2ae9be2523ed0d1717b995ce"
  network-checker_sha: "a3534f8885246afb15609c54f91d3b23d599a5b1"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "26adf12c320936a97a9b0a84169a6e58c530e848"

Changed in fuel:
milestone: none → 8.0
importance: Undecided → High
status: New → Confirmed
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
tags: added: area-library
Revision history for this message
Michael Polenchuk (mpolenchuk) wrote :

This is package related issue:
http://paste.ubuntu.com/14002776/

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel build team (fuel-build)
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Packaging Team (mos-packaging)
tags: added: area-build
removed: area-library
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

Existence of libvirt-* packages was checked:
root@u1404-2:~# apt-cache policy libvirt-daemon-system
libvirt-daemon-system:
  Installed: 1.2.9-9~u14.04+mos3
  Candidate: 1.2.9-9~u14.04+mos3
  Version table:
 *** 1.2.9-9~u14.04+mos3 0
        500 http://perestroika-repo-tst.infra.mirantis.net/mos-repos/ubuntu/8.0/ mos8.0/main amd64 Packages
        100 /var/lib/dpkg/status
root@u1404-2:~# apt-cache policy libvirt-bin
libvirt-bin:
  Installed: 1.2.9-9~u14.04+mos3
  Candidate: 1.2.9-9~u14.04+mos3
  Version table:
 *** 1.2.9-9~u14.04+mos3 0
        500 http://perestroika-repo-tst.infra.mirantis.net/mos-repos/ubuntu/8.0/ mos8.0/main amd64 Packages
        100 /var/lib/dpkg/status
     1.2.2-0ubuntu13.1.14 0
        500 http://ru.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     1.2.2-0ubuntu13.1.7 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     1.2.2-0ubuntu13 0
        500 http://ru.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
 All libvirt-* packages are install-able and resides in Linux binary repository since 25th on November - http://perestroika-repo-tst.infra.mirantis.net/mos-repos/ubuntu/8.0/pool/main/libv/libvirt/.

Reproduction required, can't reproduce issue locally.

Changed in fuel:
status: Confirmed → Incomplete
Roman Vyalov (r0mikiam)
tags: added: area-mos
removed: area-build
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

Issue was in upstream - possible Ubuntu repositories update:
RCA results with enabled Linux binary repos as was made on failed environment:
1)
cat /etc/apt/sources.list
deb file:///var/myrepo/ mos8.0 main - repo from ISO
deb http://mirror.seed-cz1.fuel-infra.org/pkgs/ubuntu-2015-12-02-170158/ubuntu/ trusty multiverse
deb http://mirror.seed-cz1.fuel-infra.org/pkgs/ubuntu-2015-12-02-170158/ubuntu/ trusty universe
deb http://mirror.seed-cz1.fuel-infra.org/pkgs/ubuntu-2015-12-02-170158/ubuntu/ trusty main

2)
apt update
Ign file: mos8.0 InRelease
Ign file: mos8.0 Release.gpg
Ign http://mirror.seed-cz1.fuel-infra.org trusty InRelease
Get:1 file: mos8.0 Release [2214 B]
Hit http://mirror.seed-cz1.fuel-infra.org trusty Release.gpg
Hit http://mirror.seed-cz1.fuel-infra.org trusty Release
Hit http://mirror.seed-cz1.fuel-infra.org trusty/multiverse amd64 Packages
Hit http://mirror.seed-cz1.fuel-infra.org trusty/universe amd64 Packages
Get:2 http://mirror.seed-cz1.fuel-infra.org trusty/main amd64 Packages [1743 kB]
Fetched 1743 kB in 1s (1383 kB/s)
Reading package lists... Done

3)
apt install libvirt-daemon-system --force-yes
...
The following packages have unmet dependencies:
 libvirt-daemon-system : Depends: libvirt-daemon (= 1.2.9-9~u14.04+mos3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

4)
apt install libvirt-daemon --force-yes
...
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libvirt-daemon : Depends: libxen-4.4 (>= 4.4.2) but 4.4.0-0ubuntu5 is to be installed
                  Recommends: qemu-kvm but it is not going to be installed or
                              qemu (>= 0.9.1) but it is not going to be installed
                  Recommends: libxml2-utils but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Required version of libxen resides at upstream Ubuntu repository:

apt-cache policy libxen-4.4
libxen-4.4:
  Installed: 4.4.2-0ubuntu0.14.04.3
  Candidate: 4.4.2-0ubuntu0.14.04.3
  Version table:
 *** 4.4.2-0ubuntu0.14.04.3 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     4.4.0-0ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packag

Changed in fuel:
status: Incomplete → Won't Fix
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

This should really be Invalid.

Changed in fuel:
status: Won't Fix → Invalid
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

*per Igor's comment

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.