Closed cfmagnum closed 7 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/143557517
The labels on this github issue will be updated when the story is started.
@cfmagnum with that version of diego, the Windows App Lifecycle has changed to actually use buildpacks. As such, you need to use the hwc-buildpack
and change your push command to:
cf push windows-test-app -s windows2012R2 -b https://github.com/cloudfoundry-incubator/hwc-buildpack/releases/download/v2.3.3/hwc_buildpack-cached-v2.3.3.zip -m 1G --no-start
The WAL also does not support git urls (there is a bug in libGit2) so your url does in fact also need to be to an actual buildpack artifact, not a git repository.
also @cfmagnum please consider moving to BOSH deployed Windows cells, the MSI will be officially deprecated soon
Thank you for the suggestion, we would try it. Also had a query as you stated that MSI would be deprecated what would be the migration strategy for the same. Would diego handle the migrations of existing apps to the new windows cell deployment(deployed via bosh).
@cfmagnum Existing apps will have to be evacuated to the new BOSH deployed cells and the old DiegoWindows cells shut down.
Set-Service RepService -startuptype "Disabled"
Invoke-WebRequest -Uri -UseBasicParsing http://localhost:1800/evacuate -Method Post
while ($true) {
try {
Get-WebRequest "http://localhost:1800/ping"
} catch {
[system.exception]
break;
}
}
Apps should be evacuated and pushed onto running cells
Thank you for your suggestions. The migration stratergy on windows cell we would try it. The other suggestion regarding pushing of apps on windows cell using different buildpack worked for us.
Sweet! I will close this out then, glad you got it working
We have upgraded cf to v254 and diego v1.10.1. The windows cell has been deployed using diego-windows-release 0.496 ,but while pushing any app on stack windows2012R2 we get the following error: