New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot create image via cli #1884

Open
Zigman13 opened this Issue Jun 26, 2015 · 9 comments

Comments

Projects
None yet
6 participants
@Zigman13

Zigman13 commented Jun 26, 2015

azure vm image create -l "West US" -v -o Linux -e Ubuntu -d "My Ubuntu" -f -p 96 ubuntu "/Users/john/UbuntuVMware.vhd"
info: Executing command vm image create
verbose: Resolving the location 'West US'
verbose: Location resolved to 'West US'
verbose: Retrieving storage accounts
verbose: Getting list of available storage accounts
verbose: Creating a new storage account 'ubuntuvmwarevhd143530058'
verbose: Creating a new storage account 'ubuntuvmwarevhd143530058'
verbose: Storage account successfully created
verbose: Getting properties for 'ubuntuvmwarevhd143530058' storage account
verbose: Blob url: https://ubuntuvmwarevhd143530058.blob.core.windows.net/vm-images/UbuntuVMware.vhd
verbose: Uploading page blob /Users/john/UbuntuVMware.vhd
verbose: to https:ubuntuvmwarevhd143530058/ubuntuvmwarevhd143530058.blob.core.windows.net/vm-images/UbuntuVMware.vhd
verbose: Max parallel connections = 96
verbose: File size = 1777165824
verbose: Dynamic or difference VHD: converting to fixed type
verbose: Fixed VHD size = 4194304.5 KB
info: VHD size : 4096 MB
info: Uploading 1734656.5 KB
verbose: Blob container = vm-images
verbose: Blob name = UbuntuVMware.vhd
verbose: VHD block size = 2048 KB
Requested: 11.3% Completed: 0.0% Running: 96
warn: 1> Error at upload index 1 - will retry.
Requested: 11.2% Completed: 0.0% Running: 95
warn: 2> Error at upload index 2 - will retry.

warn: 3> Error at upload index 3 - will retry.
Requested: 11.0% Completed: 0.0% Running: 94
warn: 4> Error at upload index 4 - will retry.

warn: 5> Error at upload index 5 - will retry.
Requested: 10.7% Completed: 0.0% Running: 93
warn: 6> Error at upload index 6 - will retry.

warn: 7> Error at upload index 7 - will retry.
Requested: 10.5% Completed: 0.0% Running: 92
warn: 8> Error at upload index 8 - will retry.

warn: 9> Error at upload index 9 - will retry.
Requested: 10.3% Completed: 0.0% Running: 91
warn: 10> Error at upload index 10 - will retry.

warn: 11> Error at upload index 11 - will retry.
Requested: 10.0% Completed: 0.0% Running: 90
warn: 12> Error at upload index 12 - will retry.

warn: 13> Error at upload index 13 - will retry.
Requested: 9.8% Completed: 0.0% Running: 89
warn: 14> Error at upload index 14 - will retry.

warn: 15> Error at upload index 15 - will retry.
Requested: 9.6% Completed: 0.0% Running: 88
warn: 16> Error at upload index 16 - will retry.

warn: 17> Error at upload index 17 - will retry.
Requested: 9.3% Completed: 0.0% Running: 87
warn: 18> Error at upload index 18 - will retry.

warn: 19> Error at upload index 19 - will retry.
Requested: 9.1% Completed: 0.0% Running: 86
warn: 20> Error at upload index 20 - will retry.

warn: 21> Error at upload index 21 - will retry.
Requested: 8.8% Completed: 0.0% Running: 85
warn: 22> Error at upload index 22 - will retry.

warn: 23> Error at upload index 23 - will retry.
Requested: 8.6% Completed: 0.0% Running: 84
warn: 24> Error at upload index 24 - will retry.

warn: 25> Error at upload index 25 - will retry.
Requested: 8.4% Completed: 0.0% Running: 83
warn: 26> Error at upload index 26 - will retry.

warn: 27> Error at upload index 27 - will retry.
Requested: 8.1% Completed: 0.0% Running: 82
warn: 28> Error at upload index 28 - will retry.

warn: 29> Error at upload index 29 - will retry.
Requested: 7.9% Completed: 0.0% Running: 81
warn: 30> Error at upload index 30 - will retry.

warn: 31> Error at upload index 31 - will retry.
Requested: 7.7% Completed: 0.0% Running: 80
warn: 32> Error at upload index 32 - will retry.

warn: 33> Error at upload index 33 - will retry.
Requested: 7.4% Completed: 0.0% Running: 79
warn: 34> Error at upload index 34 - will retry.

warn: 35> Error at upload index 35 - will retry.
Requested: 7.2% Completed: 0.0% Running: 78
warn: 36> Error at upload index 36 - will retry.

warn: 37> Error at upload index 37 - will retry.
Requested: 7.0% Completed: 0.0% Running: 77
warn: 38> Error at upload index 38 - will retry.

warn: 39> Error at upload index 39 - will retry.
Requested: 6.7% Completed: 0.0% Running: 76
warn: 40> Error at upload index 40 - will retry.

warn: 41> Error at upload index 41 - will retry.
Requested: 6.5% Completed: 0.0% Running: 75
warn: 42> Error at upload index 42 - will retry.

warn: 43> Error at upload index 43 - will retry.
Requested: 6.3% Completed: 0.0% Running: 74
warn: 44> Error at upload index 44 - will retry.

warn: 45> Error at upload index 45 - will retry.
Requested: 6.0% Completed: 0.0% Running: 73
warn: 46> Error at upload index 46 - will retry.

warn: 47> Error at upload index 47 - will retry.
Requested: 5.8% Completed: 0.0% Running: 72
warn: 48> Error at upload index 48 - will retry.

warn: 49> Error at upload index 49 - will retry.
Requested: 5.5% Completed: 0.0% Running: 71
warn: 50> Error at upload index 50 - will retry.

warn: 51> Error at upload index 51 - will retry.
Requested: 5.3% Completed: 0.0% Running: 70
warn: 52> Error at upload index 52 - will retry.

warn: 53> Error at upload index 53 - will retry.
Requested: 5.1% Completed: 0.0% Running: 69
warn: 54> Error at upload index 54 - will retry.

warn: 55> Error at upload index 55 - will retry.
Requested: 4.8% Completed: 0.0% Running: 68
warn: 56> Error at upload index 56 - will retry.

warn: 57> Error at upload index 57 - will retry.
Requested: 4.6% Completed: 0.0% Running: 67
warn: 58> Error at upload index 58 - will retry.

warn: 59> Error at upload index 59 - will retry.
Requested: 4.4% Completed: 0.0% Running: 66
warn: 60> Error at upload index 60 - will retry.

warn: 61> Error at upload index 61 - will retry.
Requested: 4.1% Completed: 0.0% Running: 65
warn: 62> Error at upload index 62 - will retry.

warn: 63> Error at upload index 63 - will retry.
Requested: 3.9% Completed: 0.0% Running: 64
warn: 64> Error at upload index 64 - will retry.

warn: 65> Error at upload index 65 - will retry.
Requested: 3.7% Completed: 0.0% Running: 63
warn: 66> Error at upload index 66 - will retry.

warn: 67> Error at upload index 67 - will retry.
Requested: 3.4% Completed: 0.0% Running: 62
warn: 68> Error at upload index 68 - will retry.

warn: 69> Error at upload index 69 - will retry.
Requested: 3.2% Completed: 0.0% Running: 61
warn: 70> Error at upload index 70 - will retry.

warn: 71> Error at upload index 71 - will retry.
Requested: 2.9% Completed: 0.0% Running: 60
warn: 72> Error at upload index 72 - will retry.

warn: 73> Error at upload index 73 - will retry.
Requested: 2.7% Completed: 0.0% Running: 59
warn: 74> Error at upload index 74 - will retry.

warn: 75> Error at upload index 75 - will retry.
Requested: 2.5% Completed: 0.0% Running: 58
warn: 76> Error at upload index 76 - will retry.

warn: 77> Error at upload index 77 - will retry.
Requested: 2.2% Completed: 0.0% Running: 57
warn: 78> Error at upload index 78 - will retry.

warn: 79> Error at upload index 79 - will retry.
Requested: 2.0% Completed: 0.0% Running: 56
warn: 80> Error at upload index 80 - will retry.

warn: 81> Error at upload index 81 - will retry.
Requested: 1.8% Completed: 0.0% Running: 55
warn: 82> Error at upload index 82 - will retry.

warn: 83> Error at upload index 83 - will retry.
Requested: 1.5% Completed: 0.0% Running: 54
warn: 84> Error at upload index 84 - will retry.

warn: 85> Error at upload index 85 - will retry.
Requested: 1.3% Completed: 0.0% Running: 53
warn: 86> Error at upload index 86 - will retry.

warn: 87> Error at upload index 87 - will retry.
Requested: 1.1% Completed: 0.0% Running: 52
warn: 88> Error at upload index 88 - will retry.

warn: 89> Error at upload index 89 - will retry.
Requested: 0.8% Completed: 0.0% Running: 51
warn: 90> Error at upload index 90 - will retry.

warn: 91> Error at upload index 91 - will retry.
Requested: 0.6% Completed: 0.0% Running: 50
warn: 92> Error at upload index 92 - will retry.

warn: 93> Error at upload index 93 - will retry.
Requested: 0.4% Completed: 0.0% Running: 49
warn: 94> Error at upload index 94 - will retry.

warn: 95> Error at upload index 95 - will retry.
Requested: 5.7% Completed: 0.0% Running: 48
warn: 2> Error at upload index 96 - will retry.

warn: 4> Error at upload index 97 - will retry.
Requested: 5.4% Completed: 0.0% Running: 47
warn: 6> Error at upload index 98 - will retry.

warn: 8> Error at upload index 99 - will retry.
Requested: 5.2% Completed: 0.0% Running: 46
warn: 10> Error at upload index 100 - will retry.

warn: 12> Error at upload index 101 - will retry.
Requested: 5.0% Completed: 0.0% Running: 45
warn: 14> Error at upload index 102 - will retry.

warn: 16> Error at upload index 103 - will retry.
Requested: 4.7% Completed: 0.0% Running: 44
warn: 18> Error at upload index 104 - will retry.

warn: 20> Error at upload index 105 - will retry.
Requested: 4.5% Completed: 0.0% Running: 43
warn: 22> Error at upload index 106 - will retry.

warn: 24> Error at upload index 107 - will retry.
Requested: 4.2% Completed: 0.0% Running: 42
warn: 26> Error at upload index 108 - will retry.

warn: 28> Error at upload index 109 - will retry.
Requested: 4.0% Completed: 0.0% Running: 41
warn: 30> Error at upload index 110 - will retry.

warn: 32> Error at upload index 111 - will retry.
Requested: 3.8% Completed: 0.0% Running: 40
warn: 34> Error at upload index 112 - will retry.

warn: 36> Error at upload index 113 - will retry.
Requested: 3.5% Completed: 0.0% Running: 39
warn: 38> Error at upload index 114 - will retry.

warn: 40> Error at upload index 115 - will retry.
Requested: 3.3% Completed: 0.0% Running: 38
warn: 42> Error at upload index 116 - will retry.

warn: 44> Error at upload index 117 - will retry.
Requested: 3.1% Completed: 0.0% Running: 37
warn: 46> Error at upload index 118 - will retry.

warn: 48> Error at upload index 119 - will retry.
Requested: 2.8% Completed: 0.0% Running: 36
warn: 50> Error at upload index 120 - will retry.

warn: 52> Error at upload index 121 - will retry.
Requested: 2.6% Completed: 0.0% Running: 35
warn: 54> Error at upload index 122 - will retry.

warn: 56> Error at upload index 123 - will retry.
Requested: 2.4% Completed: 0.0% Running: 34
warn: 58> Error at upload index 124 - will retry.

warn: 60> Error at upload index 125 - will retry.
Requested: 2.1% Completed: 0.0% Running: 33
warn: 62> Error at upload index 126 - will retry.

warn: 64> Error at upload index 127 - will retry.
Requested: 1.9% Completed: 0.0% Running: 32
warn: 66> Error at upload index 128 - will retry.

warn: 68> Error at upload index 129 - will retry.
Requested: 1.7% Completed: 0.0% Running: 31
warn: 70> Error at upload index 130 - will retry.

warn: 72> Error at upload index 131 - will retry.
Requested: 1.4% Completed: 0.0% Running: 30
warn: 74> Error at upload index 132 - will retry.

warn: 76> Error at upload index 133 - will retry.
Requested: 1.2% Completed: 0.0% Running: 29
warn: 78> Error at upload index 134 - will retry.

warn: 80> Error at upload index 135 - will retry.
Requested: 0.9% Completed: 0.0% Running: 28
warn: 82> Error at upload index 136 - will retry.

warn: 84> Error at upload index 137 - will retry.
Requested: 0.7% Completed: 0.0% Running: 27
warn: 86> Error at upload index 138 - will retry.

warn: 88> Error at upload index 139 - will retry.
Requested: 0.5% Completed: 0.0% Running: 26
warn: 90> Error at upload index 140 - will retry.

warn: 92> Error at upload index 141 - will retry.
Requested: 0.2% Completed: 0.0% Running: 25
warn: 94> Error at upload index 142 - will retry.
Requested: 2.9% Completed: 0.0% Running: 25
warn: 2> Error at upload index 143 - will retry.
Requested: 2.8% Completed: 0.0% Running: 24
warn: 6> Error at upload index 144 - will retry.

warn: 10> Error at upload index 145 - will retry.
Requested: 2.6% Completed: 0.0% Running: 23
warn: 14> Error at upload index 146 - will retry.

warn: 18> Error at upload index 147 - will retry.
Requested: 2.4% Completed: 0.0% Running: 22
warn: 22> Error at upload index 148 - will retry.

warn: 26> Error at upload index 149 - will retry.
Requested: 2.1% Completed: 0.0% Running: 21
warn: 30> Error at upload index 150 - will retry.

warn: 34> Error at upload index 151 - will retry.
Requested: 1.9% Completed: 0.0% Running: 20
warn: 38> Error at upload index 152 - will retry.

warn: 42> Error at upload index 153 - will retry.
Requested: 1.7% Completed: 0.0% Running: 19
warn: 46> Error at upload index 154 - will retry.

warn: 50> Error at upload index 155 - will retry.
Requested: 1.4% Completed: 0.0% Running: 18
warn: 54> Error at upload index 156 - will retry.

warn: 58> Error at upload index 157 - will retry.
Requested: 1.2% Completed: 0.0% Running: 17
warn: 62> Error at upload index 158 - will retry.

warn: 66> Error at upload index 159 - will retry.
Requested: 0.9% Completed: 0.0% Running: 16
warn: 70> Error at upload index 160 - will retry.

warn: 74> Error at upload index 161 - will retry.
Requested: 0.7% Completed: 0.0% Running: 15
warn: 78> Error at upload index 162 - will retry.

warn: 82> Error at upload index 163 - will retry.
Requested: 0.5% Completed: 0.0% Running: 14
warn: 86> Error at upload index 164 - will retry.

warn: 90> Error at upload index 165 - will retry.
Requested: 0.2% Completed: 0.0% Running: 13
warn: 94> Error at upload index 166 - will retry.
Requested: 1.5% Completed: 0.0% Running: 13
warn: 6> Error at upload index 167 - will retry.
Requested: 1.4% Completed: 0.0% Running: 12
warn: 14> Error at upload index 168 - will retry.

warn: 22> Error at upload index 169 - will retry.
Requested: 1.2% Completed: 0.0% Running: 11
warn: 30> Error at upload index 170 - will retry.

warn: 38> Error at upload index 171 - will retry.
Requested: 0.9% Completed: 0.0% Running: 10
warn: 46> Error at upload index 172 - will retry.

warn: 54> Error at upload index 173 - will retry.
Requested: 0.7% Completed: 0.0% Running: 9
warn: 62> Error at upload index 174 - will retry.

warn: 70> Error at upload index 175 - will retry.
Requested: 0.5% Completed: 0.0% Running: 8
warn: 78> Error at upload index 176 - will retry.

warn: 86> Error at upload index 177 - will retry.
Requested: 0.2% Completed: 0.0% Running: 7
warn: 94> Error at upload index 178 - will retry.
Requested: 0.8% Completed: 0.0% Running: 7
warn: 14> Error at upload index 179 - will retry.
Requested: 0.7% Completed: 0.0% Running: 6
warn: 30> Error at upload index 180 - will retry.

warn: 46> Error at upload index 181 - will retry.
Requested: 0.5% Completed: 0.0% Running: 5
warn: 62> Error at upload index 182 - will retry.

warn: 78> Error at upload index 183 - will retry.
Requested: 0.2% Completed: 0.0% Running: 4
warn: 94> Error at upload index 184 - will retry.
Requested: 0.5% Completed: 0.0% Running: 4
warn: 30> Error at upload index 185 - will retry.
Requested: 0.4% Completed: 0.0% Running: 3
warn: 62> Error at upload index 186 - will retry.

warn: 94> Error at upload index 187 - will retry.
Requested: 0.2% Completed: 0.0% Running: 2
warn: 62> Error at upload index 188 - will retry.
Requested: 0.2% Completed: 0.0% Running: 2
warn: 62> Error at upload index 189 - will retry.
Requested: 0.2% Completed: 0.1% Running: 1
warn: 0> Error at upload index 190 - will retry.
Requested: 0.2% Completed: 0.1% Running: 1
warn: 0> Error at upload index 191 - will retry.
Requested: 0.1% Completed: 0.1% Running: 0
error: Error in blobService.createBlobPagesFrom...()
error: [Error: write after end]
error: Couldn't upload blob https://ubuntuvmwarevhd143530058.blob.core.windows.net/vm-images/UbuntuVMware.vhd
error: write after end
info: Error information has been recorded to /Users/john/.azure/azure.err
verbose: Error: write after end
at ClientRequest.OutgoingMessage.write (_http_outgoing.js:413:15)
at Request.write (/Users/john/local/lib/node_modules/azure-cli/node_modules/request/request.js:1208:25)
at EventEmitter. (/Users/john/local/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/vhdTools.js:290:14)
at EventEmitter.emit (events.js:107:17)
at ReadStream.onData (/Users/john/local/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/vhdTools.js:279:16)
at ReadStream.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at ReadStream.Readable.push (_stream_readable.js:126:10)
at onread (fs.js:1679:12)
at FSReqWrap.wrapper as oncomplete

error: vm image create command failed

cat /Users/john/.azure/azure.err
Fri Jun 26 2015 09:37:12 GMT+0300 (MSK):
[Error: write after end]
Error: write after end
at ClientRequest.OutgoingMessage.write (_http_outgoing.js:413:15)
at Request.write (/Users/john/local/lib/node_modules/azure-cli/node_modules/request/request.js:1208:25)
at EventEmitter. (/Users/john/local/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/vhdTools.js:290:14)
at EventEmitter.emit (events.js:107:17)
at ReadStream.onData (/Users/john/local/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/vhdTools.js:279:16)
at ReadStream.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at ReadStream.Readable.push (_stream_readable.js:126:10)
at onread (fs.js:1679:12)
at FSReqWrap.wrapper as oncomplete

@Zigman13

This comment has been minimized.

Zigman13 commented Jun 26, 2015

MacBook-Pro-John:~ john$ azure vm image create mama -u "/User/john/UbuntuVMware.vhd" --os linux -l "West US"
info: Executing command vm image create

  • Retrieving storage accounts
  • Creating a new storage account 'undefined1435303491713'
    error: The storage container User could not be created for VHD https://undefined1435303491713.blob.core.windows.net/User/john/UbuntuVMware.vhd - all letters must be lowercase (other naming rules also apply).
    info: Error information has been recorded to /Users/john/.azure/azure.err
    error: vm image create command failed

cat /Users/john/.azure/azure.err
Fri Jun 26 2015 10:26:02 GMT+0300 (MSK):
{ [Error: The storage container User could not be created for VHD https://undefined1435303491713.blob.core.windows.net/User/john/UbuntuVMware.vhd - all letters must be lowercase (other naming rules also apply).]
code: 'BadRequest',
statusCode: 400,
requestId: '6a72a6172397b35e9bc1736b8d7bcd1d' }
Error: The storage container User could not be created for VHD https://undefined1435303491713.blob.core.windows.net/User/john/UbuntuVMware.vhd - all letters must be lowercase (other naming rules also apply).
at Function.ServiceClient._normalizeError (/Users/john/local/lib/node_modules/azure-cli/node_modules/azure-mgmt-compute/node_modules/azure-common/lib/services/serviceclient.js:815:23)
at /Users/john/local/lib/node_modules/azure-cli/node_modules/azure-mgmt-compute/node_modules/azure-common/lib/services/filters/errorhandlingfilter.js:44:29
at Request._callback (/Users/john/local/lib/node_modules/azure-cli/node_modules/azure-mgmt-compute/node_modules/azure-common/lib/http/request-pipeline.js:109:14)
at Request.self.callback (/Users/john/local/lib/node_modules/azure-cli/node_modules/azure-mgmt-compute/node_modules/azure-common/node_modules/request/request.js:199:22)
at Request.emit (events.js:110:17)
at Request. (/Users/john/local/lib/node_modules/azure-cli/node_modules/azure-mgmt-compute/node_modules/azure-common/node_modules/request/request.js:1160:14)
at Request.emit (events.js:129:20)
at IncomingMessage. (/Users/john/local/lib/node_modules/azure-cli/node_modules/azure-mgmt-compute/node_modules/azure-common/node_modules/request/request.js:1111:12)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16

also failed

@Zigman13

This comment has been minimized.

Zigman13 commented Jun 26, 2015

same on windows too

@devigned

This comment has been minimized.

Member

devigned commented Jun 26, 2015

What version of Azure CLI are you running?

@devigned devigned added the IAAS label Jun 26, 2015

@Zigman13

This comment has been minimized.

Zigman13 commented Jun 26, 2015

info: Tool version 0.9.4 ON A WINDOWS , mac version a bit later
C:\Users\zmon>azure
info: Microsoft Azure: Microsoft's Cloud Platform
info:
info: Tool version 0.9.4
.....skipped help......

also logs for windows

C:\Users\zmon>azure account list
info: Executing command account list
data: Name Id
Tenant Id Current
data: ---------------------------------------- -----------------------------


data: Подписка с оплатой по мере использования xxxxxxxHERE undefined false
data: Бесплатная пробная версия XXXXXXhere undefined true
info: account list command OK

C:\Users\zmon>azure vm image create -l -f -o Linux -p 5 -e "MyLabel" -d "Mydesc"
-v WindowsUbuntu "E:\zone8\UbuntuVMware.vhd"

error: option -l, --location <name>' argument missing, got-f'

C:\Users\zmon>azure vm image create -l "East US" -f -o Linux -p 5 -e "MyLabel" -
d "Mydesc" -v WindowsUbuntu "E:\zone8\UbuntuVMware.vhd"
info: Executing command vm image create
verbose: Resolving the location 'East US'
verbose: Location resolved to 'East US'
verbose: Retrieving storage accounts
verbose: Getting list of available storage accounts
verbose: Blob url: https://portalvhds15pnpg0mx01kk.blob.core.windows.net/vm-imag
es/UbuntuVMware.vhd
verbose: Uploading page blob E:\zone8\UbuntuVMware.vhd
verbose: to https:portalvhds15pnpg0mx01kk/portalvhds15pnpg0mx01kk.blob.core.win
dows.net/vm-images/UbuntuVMware.vhd
verbose: Max parallel connections = 5
verbose: File size = 1777165824
verbose: Dynamic or difference VHD: converting to fixed type
verbose: Fixed VHD size = 4194304.5 KB
info: VHD size : 4096 MB
info: Uploading 1734656.5 KB
verbose: Blob container = vm-images
verbose: Blob name = UbuntuVMware.vhd
verbose: VHD block size = 2048 KB
Requested: 0.6% Completed: 0.0% Running: 5
warn: 1> Error at upload index 1 - will retry.
Requested: 0.5% Completed: 0.0% Running: 4
warn: 3> Error at upload index 3 - will retry.
Requested: 0.5% Completed: 0.0% Running: 4
warn: 2> Error at upload index 2 - will retry.
Requested: 0.4% Completed: 0.0% Running: 3
warn: 4> Error at upload index 4 - will retry.
Requested: 0.4% Completed: 0.0% Running: 3
warn: 3> Error at upload index 5 - will retry.
Requested: 0.2% Completed: 0.0% Running: 2
warn: 4> Error at upload index 6 - will retry.
Requested: 0.2% Completed: 0.0% Running: 2
warn: 4> Error at upload index 7 - will retry.
Requested: 0.2% Completed: 0.1% Running: 1
warn: 0> Error at upload index 8 - will retry.
Requested: 0.2% Completed: 0.1% Running: 1
warn: 0> Error at upload index 9 - will retry.
Requested: 0.1% Completed: 0.1% Running: 0
error: Error in blobService.createBlobPagesFrom...()
error: [Error: write after end]
error: Couldn't upload blob https://portalvhds15pnpg0mx01kk.blob.core.windows.
net/vm-images/UbuntuVMware.vhd
error: write after end
info: Error information has been recorded to C:\Users\zmon.azure\azure.err
verbose: Error: write after end
at ClientRequest.OutgoingMessage.write (_http_outgoing.js:413:15)
at Request.write (C:\Users\zmon\AppData\Roaming\npm\node_modules\azure-cli\n
ode_modules\request\request.js:1208:25)
at EventEmitter. (C:\Users\zmon\AppData\Roaming\npm\node_modules
azure-cli\lib\commands\asm\iaas\upload\vhdTools.js:290:14)
at EventEmitter.emit (events.js:107:17)
at ReadStream.onData (C:\Users\zmon\AppData\Roaming\npm\node_modules\azure-c
li\lib\commands\asm\iaas\upload\vhdTools.js:279:16)
at ReadStream.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at ReadStream.Readable.push (_stream_readable.js:126:10)
at onread (fs.js:1679:12)
at FSReqWrap.wrapper as oncomplete

error: vm image create command failed

C:\Users\zmon>type C:\Users\zmon.azure\azure.err
Fri Jun 26 2015 19:28:56 GMT+0400 (╨Ь╨╛╤Б╨║╨╛╨▓╤Б╨║╨╛╨╡ ╨▓╤А╨╡╨╝╤П (╨╗╨╡╤В╨╛)):
[Error: write after end]
Error: write after end
at ClientRequest.OutgoingMessage.write (_http_outgoing.js:413:15)
at Request.write (C:\Users\zmon\AppData\Roaming\npm\node_modules\azure-cli\n
ode_modules\request\request.js:1208:25)
at EventEmitter. (C:\Users\zmon\AppData\Roaming\npm\node_modules
azure-cli\lib\commands\asm\iaas\upload\vhdTools.js:290:14)
at EventEmitter.emit (events.js:107:17)
at ReadStream.onData (C:\Users\zmon\AppData\Roaming\npm\node_modules\azure-c
li\lib\commands\asm\iaas\upload\vhdTools.js:279:16)
at ReadStream.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at ReadStream.Readable.push (_stream_readable.js:126:10)
at onread (fs.js:1679:12)
at FSReqWrap.wrapper as oncomplete

@matthewdavis

This comment has been minimized.

matthewdavis commented Aug 17, 2015

Same issue using the azure docker container.

root@b76b73eae8fc:/tmp# azure -v
0.9.6

Mon Aug 17 2015 20:24:13 GMT+0000 (UTC):
[Error: write after end]
Error: write after end
at ClientRequest.OutgoingMessage.write (_http_outgoing.js:413:15)
at Request.write (/usr/lib/node_modules/azure-cli/node_modules/request/request.js:1208:25)
at EventEmitter. (/usr/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/vhdTools.js:290:14)
at EventEmitter.emit (events.js:107:17)
at ReadStream.onData (/usr/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/vhdTools.js:279:16)
at ReadStream.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at ReadStream.Readable.push (_stream_readable.js:126:10)
at onread (fs.js:1679:12)
at FSReqWrap.wrapper as oncomplete

And after an update to the 0.9.7 code base using npm.

Mon Aug 17 2015 20:52:31 GMT+0000 (UTC):
{ [Error: The specified container does not exist.
RequestId:8159071e-0001-009f-312e-d95047000000
Time:2015-08-17T20:52:33.0027098Z]
code: 'ContainerNotFound',
statusCode: 404,
requestId: '8159071e-0001-009f-312e-d95047000000' }
Error: The specified container does not exist.
RequestId:8159071e-0001-009f-312e-d95047000000
Time:2015-08-17T20:52:33.0027098Z
at Function.ServiceClient._normalizeError (/usr/lib/node_modules/azure-cli/node_modules/azure-storage-legacy/node_modules/azure-common/lib/services/serviceclient.js:815:23)
at BlobService.ServiceClient._processResponse (/usr/lib/node_modules/azure-cli/node_modules/azure-storage-legacy/node_modules/azure-common/lib/services/serviceclient.js:456:41)
at Request.processResponseCallback as _callback
at Request.self.callback (/usr/lib/node_modules/azure-cli/node_modules/request/request.js:129:22)
at Request.emit (events.js:110:17)
at Request. (/usr/lib/node_modules/azure-cli/node_modules/request/request.js:873:14)
at Request.emit (events.js:129:20)
at IncomingMessage. (/usr/lib/node_modules/azure-cli/node_modules/request/request.js:824:12)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16

@5kg

This comment has been minimized.

5kg commented Sep 8, 2015

Same here with 0.9.8, any updates?

Thanks!

@huangpf

This comment has been minimized.

Contributor

huangpf commented Dec 17, 2015

@yaxia @yugangw-msft
Any idea about the write after end error?

@huangpf huangpf added the ASM label Dec 17, 2015

@huangpf

This comment has been minimized.

Contributor

huangpf commented Dec 18, 2015

@Zigman13 @matthewdavis @5kg
The error occurs while uploading VHDs in dynamic type, and the current workaround is to upload the fixed type for it.

@anuchandy

This comment has been minimized.

Member

anuchandy commented Mar 9, 2016

@Zigman13 @matthewdavis @5kg you could use the utility below to upload VHDs (dynamic, fixed) while our storage team fixes this issue
https://github.com/Microsoft/azure-vhd-utils-for-go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment