Azure-Samples / streaming-at-scale

How to implement a streaming at scale solution in Azure
MIT License
233 stars 98 forks source link

Deployment of eventhubs-streamanalytics-azuresql fails #99

Closed Karl-HeinzS closed 3 years ago

Karl-HeinzS commented 3 years ago

Deployment of eventhubs-streamanalytics-azuresql fails in Azure Cloud Shell with:

Error: ***** [D] Setting up DATABASE retrieving storage connection string deploying azure sql . server: myiottestsql . database: streaming creating logical server enabling access from Azure deploying database db creating file share uploading provisioning scripts uploading provision.sh... Finished[#############################################################] 100.0000% uploading db/provision.sql... Finished[#############################################################] 100.0000% running provisioning scripts in container instance ../components/azure-sql/create-sql.sh: line 54: uuidgen: command not found There was an error, execution halted Error at line 54

algattik commented 3 years ago

Azure Cloud Shell does not have the uuidgen command.

The script should check that the command is installed and fail early otherwise. Or better, find another approach to generating names

algattik commented 3 years ago

Please vote for https://feedback.azure.com/forums/598699-azure-cloud-shell/suggestions/41184361-include-uuidgen-binary-in-the-image

yorek commented 3 years ago

Replaced name generation via uuidgen with openssl