GitHub user akoskuczi-bw added a comment to the discussion: VMs won't start on 
networks with client drive enabled

Same with isolated L2 network, if ConfigDrive is enabled:
cmk listPhysicalNetworks id=749d2963-f7d6-4563-8c26-2f47a91a72c6
{
  "count": 1,
  "physicalnetwork": [
    {
      "broadcastdomainrange": "ZONE",
      "id": "749d2963-f7d6-4563-8c26-2f47a91a72c6",
      "isolationmethods": "VLAN",
      "name": "Guest-VLAN-Trunk",
      "state": "Enabled",
      "tags": "guest-vlan-trunk",
      "zoneid": "7db6d3ac-a8c7-4a3b-a072-6b3ab15e4a93",
      "zonename": "Zone-A"
    }
  ]
}


cmk list networkserviceproviders 
physicalnetworkid=749d2963-f7d6-4563-8c26-2f47a91a72c6 state=Enabled
{
  "count": 1,
  "networkserviceprovider": [
    {
      "canenableindividualservice": true,
      "id": "45de858a-8034-4dbd-a1e9-4804aa74e65a",
      "name": "ConfigDrive",
      "physicalnetworkid": "749d2963-f7d6-4563-8c26-2f47a91a72c6",
      "servicelist": [
        "Dhcp",
        "Dns",
        "UserData"
      ],
      "state": "Enabled"
    }
  ]
}


cmk listNetworks id=f3cda56b-895b-4bbc-a25e-0d493e45165c 
{
  "count": 1,
  "network": [
    {
      "account": "admin",
      "acltype": "Account",
      "broadcastdomaintype": "Vlan",
      "broadcasturi": "vlan://XYZ",
      "canusefordeploy": true,
      "cidr": "172.xxx.xxx.0/24",
      "created": "2025-07-30T17:41:11+0200",
      "details": {
        "hideIpAddressUsage": "false"
      },
      "displaynetwork": true,
      "displaytext": "VLAN-XYZ-CDrive",
      "dns1": "172.xxx.xxx.5",
      "dns2": "172.xxx.xxx.6",
      "domain": "ROOT",
      "domainid": "46ed5a9d-685e-11f0-b1e9-ee91d3832414",
      "domainpath": "/",
      "gateway": "172.xxx.xxx.1",
      "hasannotations": false,
      "id": "f3cda56b-895b-4bbc-a25e-0d493e45165c",
      "ispersistent": false,
      "issystem": false,
      "name": "VLAN-XYZ-CDrive",
      "netmask": "255.255.255.0",
      "networkofferingavailability": "Optional",
      "networkofferingconservemode": true,
      "networkofferingdisplaytext": "L2VlanvirtualRouter",
      "networkofferingid": "05be3b05-4570-4503-97db-c42de8d4600d",
      "networkofferingname": "L2VlanvirtualRouter",
      "physicalnetworkid": "749d2963-f7d6-4563-8c26-2f47a91a72c6",
      "privatemtu": 1500,
      "publicmtu": 1500,
      "receivedbytes": 0,
      "redundantrouter": false,
      "related": "f3cda56b-895b-4bbc-a25e-0d493e45165c",
      "restartrequired": false,
      "sentbytes": 0,
      "service": [
        {
          "capability": [],
          "name": "UserData",
          "provider": [
            {
              "name": "ConfigDrive"
            }
          ]
        }
      ],
      "specifyipranges": false,
      "specifyvlan": true,
      "state": "Setup",
      "strechedl2subnet": false,
      "supportsvmautoscaling": false,
      "tags": [],
      "traffictype": "Guest",
      "type": "L2",
      "vlan": "XYZ",
      "zoneid": "7db6d3ac-a8c7-4a3b-a072-6b3ab15e4a93",
      "zonename": "Zone-A"
    }
  ]
}


cmk listNetworkOfferings id=05be3b05-4570-4503-97db-c42de8d4600d
{
  "count": 1,
  "networkoffering": [
    {
      "availability": "Optional",
      "conservemode": true,
      "created": "2025-07-30T17:38:15+0200",
      "displaytext": "L2VlanvirtualRouter",
      "egressdefaultpolicy": true,
      "fornsx": false,
      "fortungsten": false,
      "forvpc": false,
      "guestiptype": "L2",
      "hasannotations": false,
      "id": "05be3b05-4570-4503-97db-c42de8d4600d",
      "internetprotocol": "IPv4",
      "isdefault": false,
      "ispersistent": false,
      "name": "L2VlanvirtualRouter",
      "networkrate": 200,
      "service": [
        {
          "name": "UserData",
          "provider": [
            {
              "name": "ConfigDrive"
            }
          ]
        }
      ],
      "serviceofferingid": "6fbd27d2-99c9-4d62-9248-08d0dfbeb96d",
      "specifyasnumber": false,
      "specifyipranges": false,
      "specifyvlan": true,
      "state": "Enabled",
      "supportsinternallb": false,
      "supportspublicaccess": false,
      "supportsstrechedl2subnet": false,
      "traffictype": "Guest"
    }
  ]
}


cmk deploy virtualmachine \
  zoneid=7db6d3ac-a8c7-4a3b-a072-6b3ab15e4a93 \
  serviceofferingid=54775eb0-b9ee-44cc-a954-8eb16f9349d3 \
  templateid=46f33f65-685e-11f0-b1e9-ee91d3832414 \
  networkids=f3cda56b-895b-4bbc-a25e-0d493e45165c \
  name=test-vm01
{
  "account": "admin",
  "accountid": "8302e108-685e-11f0-b1e9-ee91d3832414",
  "cmd": "org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin",
  "completed": "2025-07-30T17:58:11+0200",
  "created": "2025-07-30T17:58:07+0200",
  "domainid": "46ed5a9d-685e-11f0-b1e9-ee91d3832414",
  "domainpath": "ROOT",
  "jobid": "739b540f-b062-40df-b7aa-065c6c427741",
  "jobinstanceid": "5a7ef4c5-bd03-44f2-9a1f-55ef6c8c4ea7",
  "jobinstancetype": "VirtualMachine",
  "jobprocstatus": 0,
  "jobresult": {
    "errorcode": 530,
    "errortext": "Unable to orchestrate the start of VM instance 
{\"instanceName\":\"i-2-143-VM\",\"uuid\":\"5a7ef4c5-bd03-44f2-9a1f-55ef6c8c4ea7\"}."
  },
  "jobresultcode": 530,
  "jobresulttype": "object",
  "jobstatus": 2,
  "userid": "83036c06-685e-11f0-b1e9-ee91d3832414"
}
🙈 Error: async API failed for job 739b540f-b062-40df-b7aa-065c6c427741

------
>From Managemeng server logs:
2025-07-30 18:25:53,667 ERROR [c.c.v.ClusteredVirtualMachineManagerImpl] 
(Work-Job-Executor-11:[ctx-c9d76cf4, job-1287/job-1289, ctx-70c42854]) 
(logid:93f2c06c) Unable to orchestrate start VM instance 
{"id":148,"instanceName":"i-2-148-VM","state":"Stopped","type":"User","uuid":"4df70b7b-b42c-4e48-994c-0c0ce3245d30"}
 due to [Unable to create iso file: i-2-148-VM.iso due to gexorriso 1.5.4 : 
RockRidge filesystem manipulator, libburnia project.xorriso : FAILURE : Not a 
known command:  '-o'xorriso : FAILURE : Not a known command:  
'/tmp/configdrive17128905870103675169/i-2-148-VM.iso'xorriso : FAILURE : Not a 
known command:  '-ldots'xorriso : FAILURE : Not a known command:  
'-allow-lowercase'xorriso : FAILURE : Not a known command:  
'-allow-multidot'xorriso : FAILURE : Not a known command:  
'-cache-inodes'xorriso : FAILURE : Not a known command:  '-l'xorriso : FAILURE 
: Not a known command:  '-quiet'xorriso : FAILURE : Not a known command:  
'-J'xorriso : FAILURE : Not a known command:  '-
 r'xorriso : FAILURE : Not a known command:  '-V'xorriso : FAILURE : Not a 
known command:  'config-2'xorriso : FAILURE : Not a known command:  
'/tmp/configdrive17128905870103675169'xorriso : aborting : -abort_on 'FAILURE' 
encountered 'FAILURE'].


GitHub link: 
https://github.com/apache/cloudstack/discussions/10864#discussioncomment-13936571

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to