Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Example generated manifest is missing properties/jobs #115

Closed
jeanbza opened this issue Jun 29, 2016 · 5 comments
Closed

Example generated manifest is missing properties/jobs #115

jeanbza opened this issue Jun 29, 2016 · 5 comments
Labels

Comments

@jeanbza
Copy link

jeanbza commented Jun 29, 2016

  1. Check out cf-mysql-release

  2. Note that branch is set to develop

  3. Go about instructions for deploying on aws

  4. See error:

    Deploying
    ---------
    Are you sure you want to deploy? (type 'yes' to continue): yes
    
    Director task 253
    Started preparing deployment > Preparing deployment. Failed: Can't find job 'rejoin-unsafe' (00:00:01)
    
    Error 190011: Can't find job 'rejoin-unsafe'
    
  5. Switch branch to master per @aaronshurley (on slack)

    Aaron Hurley [9:24 AM]
    @jdeklerk: which branch are you on for manifest generation? master should work, or you can git checkout that tag

  6. Attempt to regenerate deployment manifest per the docs

  7. See new error about unresolved nodes:

    /usr/bin/env bash /Users/pivotal/Library/Preferences/IntelliJIdea2016.1/scratches/scratch.sh
    2016/06/29 12:06:51 error generating manifest: unresolved nodes:
    (( property_overrides.mysql.bootstrap_endpoint ))   in /Users/pivotal/workspace/jean-temp/cf-mysql-release/manifest-generation/cf-mysql-template.yml    properties.cf_mysql.mysql.bootstrap_endpoint    ()
    2016/06/29 12:06:51 error parsing stub [/tmp/mysql_manifest.yNDCM/mysql-config.yml]: Expected document start at line 0, column 0
    
    
@cf-gitbot
Copy link
Collaborator

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/123536841

The labels on this github issue will be updated when the story is started.

@jeanbza
Copy link
Author

jeanbza commented Jun 29, 2016

Turns out master branch has the correct files, so doing a git checkout master before going through copying everything works fine. Might be worth a note in the README? Either way this seems to be a non-issue.

@menicosia
Copy link
Contributor

@jadekler -- what version of spiff do you have? Current develop branch requires 1.0.7. You can't see that yet coz the release notes haven't been published yet.

Your point that the README.md should tell you which version of spiff is required is well taken.

@jeanbza
Copy link
Author

jeanbza commented Jun 29, 2016

Aha, thanks @menicosia. We have 1.0.6

@jdspecht
Copy link

Hello,

I have the correct version of spiff as per the README (1.0.7). I have checked out branch master. I am still getting the same error as @jadekler when attempting to generate the deployment manifest:

$ ./scripts/generate-deployment-manifest -c ~/configs/cf-stub.yml -p ~/configs/property-overrides.yml -i ~/configs/iaas-settings.yml
2016/08/15 19:14:51 error generating manifest: unresolved nodes:
    (( property_overrides.mysql.bootstrap_endpoint ))   in /home/ubuntu/1/cf-mysql-release/manifest-generation/cf-mysql-template.yml    properties.cf_mysql.mysql.bootstrap_endpoint    ()
2016/08/15 19:14:51 error parsing stub [/tmp/mysql_manifest.3Sd1k/mysql-config.yml]: Expected document start at line 0, column 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants