developer ISO still uses python VENVs

Bug #1314165 reported by Vladimir Sharshov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Matthew Mosesohn

Bug Description

I try to build ISO with PRODUCTION=dev, i get such error. If i use PRODUCTION=docker, it will build and bootstrap master node without problem.

[root@fuel ~]# grep -ri "error" /var/log/puppet/bootstrap_admin_node.log
Error: Could not find resource 'Exec[ostf-init]' for relationship from 'Postgresql::Db[ostf]' on node fuel.domain.tld
Error: Could not find resource 'Exec[ostf-init]' for relationship from 'Postgresql::Db[ostf]' on node fuel.domain.tld

VERSION:
  mirantis: "no"
  production: "dev"
  release: "5.0"
  astute_sha: "3cffebde1e5452f5dbf8f744c6525fc36c7afbf3"
  api: "1.0"
  fuellib_sha: "06da95acca273b1bbadd11719035f15230661ae9"
  api: "1.0"
  ostf_sha: "134765fcb5a07dce0cd1bb399b2290c988c3c63b"
  api: "1.0"
  nailgun_sha: "fe267587558274e9d101e76b2fff3540e22b6b04"
  api: "1.0"
  fuelmain_sha: "44313efa62a87656527ec1be49076664c4dc3bc5"

Tags: fuel fuel-main
description: updated
Changed in fuel:
assignee: nobody → Fuel for Openstack (fuel)
assignee: Fuel for Openstack (fuel) → Fuel Library Team (fuel-library)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Bogdan Dobrelya (bogdando)
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to fuel-library (master)

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

summary: - Could not find resource 'Exec[ostf-init]' for relationship from
- 'Postgresql::Db[ostf]'
+ developer ISO still uses python VENVs
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

The screenshot with example of Fuel Master node installation (Fuel 5.0 iso 157)

Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

this happens only of PRODUCTION variable is set to 'dev' and because of some venv/egg-related stuff in nailgun manifests

Changed in fuel:
importance: Critical → High
assignee: Bogdan Dobrelya (bogdando) → Matthew Mosesohn (raytrac3r)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

After the title have updated, the fix became a partial. But it should fix the error given here as well.
The full fix would be to handle the whole deprecated(?) 'prod=dev' case as apropriate.

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Dev mode production was removed by dpyzhov last week. We haven't cleaned out the puppet code yet. Non-docker deployment requires PRODUCTION=prod. This will be renamed to legacy soon.

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/90994
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=49ba9d42bc76686e28fe52318c367b073b9bf1ee
Submitter: Jenkins
Branch: master

commit 49ba9d42bc76686e28fe52318c367b073b9bf1ee
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Apr 29 15:22:42 2014 +0300

    Fix collectors and dependencies for ostf-init and Postgre::Db

    * Put Exec[ostf-init] after its definition instead of before
    * Use -> instead of before/require (should not be used ot once)
    * Fix case 'dev' logic by moving collection to the appropriate place

    Closes-bug: #1314165

    Change-Id: Ib1b4f14bd24594c6a506450c436baf64ff39b74d
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.