Skip to content

Instantly share code, notes, and snippets.

@drnic
Created June 21, 2017 10:22
Show Gist options
  • Save drnic/3cec1b90f3b4f36adbf51e5523eddaa5 to your computer and use it in GitHub Desktop.
Save drnic/3cec1b90f3b4f36adbf51e5523eddaa5 to your computer and use it in GitHub Desktop.
GCP/windows - bosh agent failed to load blobs
$ cat service_wrapper.err.log
[settingsService] 2017/06/21 09:47:18 ERROR - Failed loading settings via fetcher: Getting settings from all sources: Reading settings from instance metadata at path "/computeMetadata/v1/instance/attributes/bosh_settings": Setting up initial DHCP network: Setting DNS servers: Running command: 'powershell -Command
[array]$interfaces = Get-DNSClientServerAddress
foreach($interface in $interfaces) {
Set-DnsClientServerAddress -InterfaceAlias $interface.InterfaceAlias -ResetServerAddresses
}
', stdout: '', stderr: 'Get-DNSClientServerAddress : Critical error
At line:2 char:22
+ [array]$interfaces = Get-DNSClientServerAddress
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_DNSClientServerAddress:ROOT/
StandardCi...ntServerAddress) [Get-DnsClientServerAddress], CimException
+ FullyQualifiedErrorId : HRESULT 0x8004100a,Get-DnsClientServerAddress
': exit status 1
[settingsService] 2017/06/21 09:47:18 ERROR - Failed reading settings from file Opening file \var\vcap\bosh\settings.json: open \var\vcap\bosh\settings.json: The system cannot find the file specified.
[main] 2017/06/21 09:47:18 ERROR - App setup Running bootstrap: Fetching settings: Invoking settings fetcher: Getting settings from all sources: Reading settings from instance metadata at path "/computeMetadata/v1/instance/attributes/bosh_settings": Setting up initial DHCP network: Setting DNS servers: Running command: 'powershell -Command
[array]$interfaces = Get-DNSClientServerAddress
foreach($interface in $interfaces) {
Set-DnsClientServerAddress -InterfaceAlias $interface.InterfaceAlias -ResetServerAddresses
}
', stdout: '', stderr: 'Get-DNSClientServerAddress : Critical error
At line:2 char:22
+ [array]$interfaces = Get-DNSClientServerAddress
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_DNSClientServerAddress:ROOT/
StandardCi...ntServerAddress) [Get-DnsClientServerAddress], CimException
+ FullyQualifiedErrorId : HRESULT 0x8004100a,Get-DnsClientServerAddress
': exit status 1
[main] 2017/06/21 09:47:18 ERROR - Agent exited with error: Running bootstrap: Fetching settings: Invoking settings fetcher: Getting settings from all sources: Reading settings from instance metadata at path "/computeMetadata/v1/instance/attributes/bosh_settings": Setting up initial DHCP network: Setting DNS servers: Running command: 'powershell -Command
[array]$interfaces = Get-DNSClientServerAddress
foreach($interface in $interfaces) {
Set-DnsClientServerAddress -InterfaceAlias $interface.InterfaceAlias -ResetServerAddresses
}
', stdout: '', stderr: 'Get-DNSClientServerAddress : Critical error
At line:2 char:22
+ [array]$interfaces = Get-DNSClientServerAddress
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_DNSClientServerAddress:ROOT/
StandardCi...ntServerAddress) [Get-DnsClientServerAddress], CimException
+ FullyQualifiedErrorId : HRESULT 0x8004100a,Get-DnsClientServerAddress
': exit status 1
[main] 2017/06/21 09:47:25 ERROR - Agent exited with error: received signal (interrupt): stopping now
[Task Service] 2017/06/21 09:48:23 ERROR - Failed processing task #586aef03-2013-4dc5-47ab-b45706e9f21a got: Opening blob store file: open \var\vcap\data\blobs/bfaa3574-0ade-4641-bd29-536eb3124b06: The system cannot find the path specified.
[Action Dispatcher] 2017/06/21 09:48:23 ERROR - Action Failed get_task: Task 586aef03-2013-4dc5-47ab-b45706e9f21a result: Opening blob store file: open \var\vcap\data\blobs/bfaa3574-0ade-4641-bd29-536eb3124b06: The system cannot find the path specified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment