Closed riddhichheda closed 3 years ago
That would be because this snippet here: https://github.com/shieldproject/shield-boshrelease/blob/master/jobs/import/templates/bin/run#L11-L17 is creating empty sub bodies if you are not generating a token for import -- i.e. the generate_token
property is left at its default setting of 'false'.
Try setting generate_token
in your BOSH deployment manifest to "true" (and set the username, password, etc. properties to their correct values).
Hi team, I am facing this same issue in shield release 8.7.0 as well. And the release 8.7.4 does not have the latest release in the shield manifest file.
Also I tried to add generate_token: true in release 8.7.0 into the import job with related mandatory attributes and redeployed shield and ran import errand. It gave me below error for tenant bosh.
"Stderr !!!
Can you please help me here. Thanks in advance.
Also trying to upgrade from 8.0.11 to 8.7.4 or 8.7.0 or 8.5.0 gives below error in shieldd logs and deployment fails: 2021-08-27 15:38:04.957417363 +000 UTC /var/vcap/packages/shield/bin/shield-schema: ERROR: failed to set up schema in database at /var/vcap/store/shield/shield.db: no such column: j.healthy Fri Aug 27 15:39:06 UTC 2021 running any schema migrations 2021-08-27 15:39:06.448864783 +000 UTC /var/vcap/packages/shield/bin/shield-schema: ERROR: failed to set up schema in database at /var/vcap/store/shield/shield.db: table jobs_new already exists
Hi Team ,
Can you please advice here after running import errand, it gives below error:
Stderr !!!
Also if we are adding the policies like mentioned below then why retain attribute is required? policies:
Where to add this missing "retain" attribute and with what value? Is there any spec or documentation available ? Please suggest.
This issue has been automatically marked as abandoned because it has not seen any activity or updates in 30 days. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
Hi All, I am trying to deploy Shield v8.3.0 on Bosh . Shield Deployment is successful. After deployment while running import errand , it gives below error:
Instance import/d102xxxx-xxxx-xxxx-xxxx-xxxx142e3d8a Exit Code 2 Stdout - Stderr /var/vcap/jobs/import/bin/run: line 10: syntax error near unexpected token `}'
1 errand(s)
Errand 'import' completed with error (exit code 2)
Exit code 1
Many Thanks.