Skip to content

cannot execute initial blueprint in simulated environment #8222

@davepacheco

Description

@davepacheco

Under cargo xtask omicron-dev run-all, I tried to execute the sole built-in blueprint, but it failed to execute:

$ omdb -w nexus blueprints target enable 184d8b69-bfdf-4b68-b8a7-f79412b40003
note: Nexus URL not specified.  Will pick one from DNS.
note: using Nexus URL http://[::1]:12221
set target blueprint 184d8b69-bfdf-4b68-b8a7-f79412b40003 to enabled

$ omdb nexus background-tasks show blueprint_executor
note: Nexus URL not specified.  Will pick one from DNS.
note: using Nexus URL http://[::1]:12221
task: "blueprint_executor"
  configured period: every 1m
  currently executing: no
  last completed activation: iter 24, triggered by a dependent task completing
    started at 2025-05-27T17:54:53.806Z (3s ago) and ran for 1603ms
    target blueprint: 184d8b69-bfdf-4b68-b8a7-f79412b40003                                                                                                                                                                                                                                                                                                                                                                                  
    execution:        enabled                                                                                                                                                                                                                                                                                                                                                                                                               
    status:           completed (14 steps)                                                                                                                                                                                                                                                                                                                                                                                                  
    warning:          at: Deploy single-node clickhouse cluster: failed to initialize single-node clickhouse database: Communication Error: error sending request for url (http://[::1]:8888/init)                                                                                                                                                                                                                                          
    warning:          at: Deploy sled configs: Failed to put OmicronSledConfig {                                                                                                                                                                                                                                                                                                                                                            
...                                                                                                                                                                                                                                                                                                                                                                  
                      } to sled b6d65341-167c-41df-9b5c-41cded99c229: Error Response: status: 400 Bad Request; headers: {"content-type": "application/json", "x-request-id": "d57fb89a-2c91-4cee-a7bd-c62511d50a0e", "content-length": "124", "date": "Tue, 27 May 2025 17:54:53 GMT"}; value: Error { error_code: None, message: "Generation number unchanged but data is different", request_id: "d57fb89a-2c91-4cee-a7bd-c62511d50a0e" } 
    error:            (none)                                                                                                                                                                                                                                                                                                                                                                                                                

I'll put the full error in a comment because it's too big for a GitHub issue description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions