Date
1 - 3 of 3
configuring windows cell in bosh-lite diego
Ramesh Sambandan
I am trying to configure windows cell bosh-lite following instructions (manual install) in https://github.com/pivotal-cf/docs-ops-guide/blob/9f190aeee883453c3a54efbfd5c0a791f47f744d/deploying-diego.html.md.erb
When I run setup.ps1 in power shell, I get following error. I am using Windows server 2012 v2. (image is dowloaded from the above link) ************************************************************************************************************************************************************************** PS C:\ram\DiegoWindows> .\setup.ps1 WinRM is already set up to receive requests on this computer. WinRM is already set up for remote management on this computer. Success Restart Needed Exit Code Feature Result ------- -------------- --------- -------------- True No NoChangeNeeded {} LastWriteTime : 11/3/2015 3:20:05 PM Length : 16412 Name : localhost.mof VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'. VERBOSE: An LCM method call arrived from computer WIN-PGQP0JVFRKA with user sid S-1-5-21-1915018697-909810059-1051299369-500. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Set ] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[WindowsFeature]IISWebServer] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[WindowsFeature]IISWebServer] VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]IISWebServer] The operation 'Get-WindowsFeature' started: Web-Webserver VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]IISWebServer] The operation 'Get-WindowsFeature' succeeded: Web-WebServer VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[WindowsFeature]IISWebServer] in 0.2970 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[WindowsFeature]IISWebServer] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[WindowsFeature]IISWebServer] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[WindowsFeature]WebSockets] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[WindowsFeature]WebSockets] VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]WebSockets] The operation 'Get-WindowsFeature' started: Web-WebSockets VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]WebSockets] The operation 'Get-WindowsFeature' succeeded: Web-WebSockets VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[WindowsFeature]WebSockets] in 0.2810 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[WindowsFeature]WebSockets] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[WindowsFeature]WebSockets] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[WindowsFeature]WebServerSupport] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[WindowsFeature]WebServerSupport] VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]WebServerSupport] The operation 'Get-WindowsFeature' started: AS-Web-Support VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]WebServerSupport] The operation 'Get-WindowsFeature' succeeded: AS-Web-Support VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[WindowsFeature]WebServerSupport] in 0.2340 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[WindowsFeature]WebServerSupport] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[WindowsFeature]WebServerSupport] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[WindowsFeature]DotNet] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[WindowsFeature]DotNet] VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]DotNet] The operation 'Get-WindowsFeature' started: AS-NET-Framework VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]DotNet] The operation 'Get-WindowsFeature' succeeded: AS-NET-Framework VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[WindowsFeature]DotNet] in 0.2190 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[WindowsFeature]DotNet] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[WindowsFeature]DotNet] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[WindowsFeature]HostableWebCore] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[WindowsFeature]HostableWebCore] VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]HostableWebCore] The operation 'Get-WindowsFeature' started: Web-WHC VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]HostableWebCore] The operation 'Get-WindowsFeature' succeeded: Web-WHC VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[WindowsFeature]HostableWebCore] in 0.2190 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[WindowsFeature]HostableWebCore] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[WindowsFeature]HostableWebCore] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[WindowsFeature]ASPClassic] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[WindowsFeature]ASPClassic] VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]ASPClassic] The operation 'Get-WindowsFeature' started: Web-ASP VERBOSE: [WIN-PGQP0JVFRKA]: [[WindowsFeature]ASPClassic] The operation 'Get-WindowsFeature' succeeded: Web-ASP VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[WindowsFeature]ASPClassic] in 0.2190 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[WindowsFeature]ASPClassic] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[WindowsFeature]ASPClassic] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[Script]SetupDNS] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[Script]SetupDNS] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[Script]SetupDNS] in 0.0930 seconds. PowerShell DSC resource MSFT_ScriptResource failed to execute Test-TargetResource functionality with error message: Cannot validate argument on parameter 'InterfaceAlias'. The argument is null. Provide a valid value for the argument, and then try running the command again. + CategoryInfo : InvalidOperation: (:) [], CimException + FullyQualifiedErrorId : ProviderOperationExecutionFailure + PSComputerName : localhost VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[Script]DisableDNSCache] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[Script]DisableDNSCache] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[Script]DisableDNSCache] in 0.0160 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[Script]DisableDNSCache] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[Script]DisableDNSCache] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[Script]EnableDiskQuota] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[Script]EnableDiskQuota] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[Script]EnableDiskQuota] in 0.0150 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[Script]EnableDiskQuota] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[Script]EnableDiskQuota] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[Registry]IncreaseDesktopHeapForServices] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[Registry]IncreaseDesktopHeapForServices] VERBOSE: [WIN-PGQP0JVFRKA]: [[Registry]IncreaseDesktopHeapForServices] Found registry key value 'HKLM:\system\currentcontrolset\control\session manager\subsystems\Windows' with type 'ExpandString' and data '%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,20480,20480 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=sxssrv,4 ProfileControl=Off MaxRequestThreads=16' VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[Registry]IncreaseDesktopHeapForServices] in 0.0630 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[Registry]IncreaseDesktopHeapForServices] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[Registry]IncreaseDesktopHeapForServices] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Resource ] [[Script]SetupFirewall] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Start Test ] [[Script]SetupFirewall] VERBOSE: [WIN-PGQP0JVFRKA]: [[Script]SetupFirewall] anyFirewallsDisabled: False VERBOSE: [WIN-PGQP0JVFRKA]: [[Script]SetupFirewall] adminRuleMissing: False VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Test ] [[Script]SetupFirewall] in 0.0620 seconds. VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ Skip Set ] [[Script]SetupFirewall] VERBOSE: [WIN-PGQP0JVFRKA]: LCM: [ End Resource ] [[Script]SetupFirewall] The SendConfigurationApply function did not succeed. + CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException + FullyQualifiedErrorId : MI RESULT 1 + PSComputerName : localhost VERBOSE: Operation 'Invoke CimMethod' complete. VERBOSE: Time taken for configuration job to complete is 2.082 seconds PS C:\ram\DiegoWindows> ************************************************************************************************************************************************************************** I am in cf release 222 (I don't think it matters as this error is independent of bosh/cf - Second step in the instructions is what ties the bosh/cf with windows I believe) can somebody help me please thanks -Ramesh |
|
Mike Dalessio
Hi Ramesh,
toggle quoted message
Show quoted text
Thanks so much for raising this question. The Garden Windows team has created a bug to track this issue: https://www.pivotaltracker.com/story/show/107360880 which appears to be related to an existing bug report in which under certain circumstancs the Windows cell reports an IP address of 127.0.0.1 instead of the real external IP address. I've CCed the team mailing list on this response. Cheers, -mike On Tue, Nov 3, 2015 at 6:27 PM, Ramesh Sambandan <rsamban(a)gmail.com> wrote:
I am trying to configure windows cell bosh-lite following instructions |
|
Ramesh Sambandan
I was able to get past the first step. I tried it in VMWare fusion guest (earlier it was in virtualbox)
***************************************************************************************************************************** ... VERBOSE: [WIN-LCVVB4108NK]: LCM: [ End Set ] in 79.0215 seconds. VERBOSE: Operation 'Invoke CimMethod' complete. VERBOSE: Time taken for configuration job to complete is 62.966 seconds ***************************************************************************************************************************** However, I got problems in second step. When I try to execute ".\generate.exe -boshUrl https://admin:admin(a)192.168.50.4:25555 -windowsUsername=Administrator -windowsPassword=<MY_PASSWORD> -outputDir C:\diego-windows" from command prompt, I get following error. ***************************************************************************************************************************** PS C:\ram\DiegoWindows> .\generate.exe -boshUrl https://admin:admin(a)192.168.50.4:25555 -windowsUsername=Administrator -windowsPassword=Ramesh15 -outputDir C:\diego-windows panic: no rep jobs found goroutine 1 [running]: main.firstRepJob(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) C:/diego-windows-release/greenhouse-install-script-generator/src/generate/generate.go:212 +0x147 main.fillEtcdCluster(0xc082019f00, 0x0, 0x0, 0x0, 0x0) C:/diego-windows-release/greenhouse-install-script-generator/src/generate/generate.go:194 +0x40 main.main() C:/diego-windows-release/greenhouse-install-script-generator/src/generate/generate.go:114 +0xc96 goroutine 8 [runnable]: net/http.(*persistConn).readLoop(0xc08200e160) c:/go/src/net/http/transport.go:928 +0x9d5 created by net/http.(*Transport).dialConn c:/go/src/net/http/transport.go:660 +0xca6 goroutine 9 [select]: net/http.(*persistConn).writeLoop(0xc08200e160) c:/go/src/net/http/transport.go:945 +0x424 created by net/http.(*Transport).dialConn c:/go/src/net/http/transport.go:661 +0xcc3 PS C:\ram\DiegoWindows> ***************************************************************************************************************************** I verified that I can reach bosh (lite) director from windows guest and can ping from host to windows guest ip. Can you help please, thanks -Ramesh |
|