[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1469073

Title:
  disk-bus=scsi in block-device-mapping is invalid

Status in OpenStack Compute (nova):
  Expired

Bug description:
  Using the body to create a instance, the instance is active, but instance os 
can't be loaded:
  {
    "server": {
      "name": "BFVS",
      "imageRef": "91959f5d-16f9-4dd0-823e-81fa11d2add3",
      "block_device_mapping_v2": [
        {
          "device_type": "disk",
          "uuid": "91959f5d-16f9-4dd0-823e-81fa11d2add3",
          "source_type": "image",
          "destination_type": "volume",
          "boot_index": "0",
          "delete_on_termination": false,
          "volume_size": "4",
          "disk_bus": "scsi"
        }
      ],
      "flavorRef": "2",
      "max_count": 1,
      "min_count": 1,
      "networks": [
        {
          "uuid": "984e18a5-3225-49b4-861a-779ad75d6e0a"
        }
      ],
  "user_data": 
"IyEvYmluL3NoCnBhc3N3ZCB1YnVudHU8PEVPRgp1YnVudHUKdWJ1bnR1CkVPRgpzZWQgLWkgJ3MvUGFzc3dvcmRBdXRoZW50aWNhdGlvbiBuby9QYXNzd29yZEF1dGhlbnRpY2F0aW9uIHllcy9nJyAvZXRjL3NzaC9zc2hkX2NvbmZpZwpzZXJ2aWNlIHNzaCByZXN0YXJ0"
    }
  }

  The libvirt.xml generated is:
  <disk type="file" device="cdrom">
        <driver name="qemu" type="raw" cache="none"/>
        <source 
file="/opt/stack/data/nova/instances/831e1529-5275-4a0c-b2fb-90f467b220ff/disk.config"/>
        <target bus="ide" dev="hdd"/>
      </disk>
      <disk type="block" device="disk">
        <driver name="qemu" type="raw" cache="none"/>
        <source 
dev="/dev/disk/by-path/ip-103.30.0.58:3260-iscsi-iqn.2010-10.org.openstack:volume-ed94715e-3e46-4463-9669-4f80393c48ef-lun-1"/>
        <target bus="scsi" dev="sda"/>
        <serial>ed94715e-3e46-4463-9669-4f80393c48ef</serial>
      </disk>

  The nova.conf is:
  [DEFAULT]
  vif_plugging_timeout = 300
  vif_plugging_is_fatal = True
  linuxnet_interface_driver =
  security_group_api = neutron
  network_api_class = nova.network.neutronv2.api.API
  firewall_driver = nova.virt.firewall.NoopFirewallDriver
  compute_driver = libvirt.LibvirtDriver
  default_ephemeral_format = ext4
  metadata_workers = 12
  ec2_workers = 12
  osapi_compute_workers = 12
  rpc_backend = rabbit
  keystone_ec2_url = http://103.30.0.58:5000/v2.0/ec2tokens
  ec2_dmz_host = 103.30.0.58
  vncserver_proxyclient_address = 127.0.0.1
  vncserver_listen = 127.0.0.1
  vnc_enabled = true
  xvpvncproxy_base_url = http://103.30.0.58:6081/console
  novncproxy_base_url = http://103.30.0.58:6080/vnc_auto.html
  force_config_drive = True
  use_syslog = True
  send_arp_for_ha = True
  multi_host = True
  instances_path = /opt/stack/data/nova/instances
  state_path = /opt/stack/data/nova
  enabled_apis = ec2,osapi_compute,metadata
  instance_name_template = instance-%08x
  my_ip = 103.30.0.58
  s3_port = 3333
  s3_host = 103.30.0.58
  default_floating_pool = public
  force_dhcp_release = True
  dhcpbridge_flagfile = /etc/nova/nova.conf
  scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
  rootwrap_config = /etc/nova/rootwrap.conf
  api_paste_config = /etc/nova/api-paste.ini
  allow_migrate_to_same_host = True
  allow_resize_to_same_host = True
  debug = True
  verbose = True

  [database]
  connection = mysql://root:xxx@103.30.0.58/nova?charset=utf8

  [osapi_v3]
  enabled = True

  [keystone_authtoken]
  signing_dir = /var/cache/nova
  cafile = /opt/stack/data/ca-bundle.pem
  auth_uri = http://103.30.0.58:5000
  project_domain_id = default
  project_name = service
  user_domain_id = default
  password = xxx
  username = nova
  auth_url = http://103.30.0.58:35357
  auth_plugin = password

  [oslo_concurrency]
  lock_path = /opt/stack/data/nova

  [spice]
  enabled = false
  html5proxy_base_url = http://103.30.0.58:6082/spice_auto.html

  [oslo_messaging_rabbit]
  rabbit_userid = stackrabbit
  rabbit_password = xxx
  rabbit_hosts = 103.30.0.58

  [glance]
  api_servers = http://103.30.0.58:9292

  [cinder]
  os_region_name = RegionOne

  [libvirt]
  vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
  inject_partition = -2
  live_migration_uri = qemu+ssh://stack@%s/system
  use_usb_tablet = False
  cpu_mode = none
  virt_type = kvm
  images_volume_group = novavg
  images_type = lvm

  [neutron]
  service_metadata_proxy = True
  url = http://103.30.0.58:9696
  region_name = RegionOne
  admin_tenant_name = service
  auth_strategy = keystone
  admin_auth_url = http://103.30.0.58:35357/v2.0
  admin_password = xxx
  admin_username = neutron

  [keymgr]
  fixed_key = ded30f541b44b53c3ed8304ba20bb9d710b123de7313398b02993e72c2fadc69

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1469073/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to