{"action":"opened","issue":{"url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/722","repository_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt","labels_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/722/comments","events_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/722/events","html_url":"https://github.com/vagrant-libvirt/vagrant-libvirt/issues/722","id":200617639,"number":722,"title":"After merge `virtual sound card support #721`, vagrant return error \"Error saving the server: Call to virDomainDefineXML failed: (domain_definition):43: Unescaped '<' not allowed in attributes values\"","user":{"login":"knumskull","id":2650167,"avatar_url":"https://avatars.githubusercontent.com/u/2650167?v=3","gravatar_id":"","url":"https://api.github.com/users/knumskull","html_url":"https://github.com/knumskull","followers_url":"https://api.github.com/users/knumskull/followers","following_url":"https://api.github.com/users/knumskull/following{/other_user}","gists_url":"https://api.github.com/users/knumskull/gists{/gist_id}","starred_url":"https://api.github.com/users/knumskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knumskull/subscriptions","organizations_url":"https://api.github.com/users/knumskull/orgs","repos_url":"https://api.github.com/users/knumskull/repos","events_url":"https://api.github.com/users/knumskull/events{/privacy}","received_events_url":"https://api.github.com/users/knumskull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-13T12:20:58Z","updated_at":"2017-01-13T12:20:58Z","closed_at":null,"body":"<!--\r\nThank you for reporting issues to vagrant-libvirt. \r\n\r\nTo make it possible for us to help you quickly, we kindly request that you use the template below to report issues. If the issue you are reporting does not fit the template (a feature request for example) please feel free to adapt it to your needs.\r\n\r\nPlease be aware that we are not actively testing previous versions of both Vagrant and Vagrant-libvirt, so before reporting an issue, please install the latest Vagrant version from Vagrantup.com, run `vagrant plugin update` and reproduce the issue.\r\n--> \r\n### Steps to reproduce\r\n1. `git clone https://github.com/vagrant-libvirt/vagrant-libvirt.git master`\r\n2. `cd master`\r\n3. `bundle install && bundle exec vagrant plugin expunge --reinstall`\r\n4. `bundle exec vagrant init <sample-box>`\r\n\r\n### Expected behaviour\r\nTell us what should happen\r\n\r\n### Actual behaviour\r\nBringing machine 'default' up with 'libvirt' provider...\r\n==> default: Creating image (snapshot of base box volume).\r\n==> default: Creating domain with the following settings...\r\n==> default:  -- Name:              vagrant-master_default\r\n==> default:  -- Domain type:       kvm\r\n==> default:  -- Cpus:              1\r\n==> default:  -- Memory:            512M\r\n==> default:  -- Management MAC:    \r\n==> default:  -- Loader:            \r\n==> default:  -- Base box:          sfroemer/rhel-server-7.3\r\n==> default:  -- Storage pool:      default\r\n==> default:  -- Image:             /data/vagrant-mmc-libvirt/vagrant-master_default.img (17G)\r\n==> default:  -- Volume Cache:      default\r\n==> default:  -- Kernel:            \r\n==> default:  -- Initrd:            \r\n==> default:  -- Graphics Type:     vnc\r\n==> default:  -- Graphics Port:     5900\r\n==> default:  -- Graphics IP:       127.0.0.1\r\n==> default:  -- Graphics Password: Not defined\r\n==> default:  -- Video Type:        cirrus\r\n==> default:  -- Video VRAM:        9216\r\n==> default:  -- Sound Type:    #<Vagrant::Config::V2::DummyConfig:0x00000000667268>\r\n==> default:  -- Keymap:            en-us\r\n==> default:  -- TPM Path:          \r\n==> default:  -- INPUT:             type=mouse, bus=ps2\r\n==> default:  -- Command line : \r\nError while creating domain: Error saving the server: Call to virDomainDefineXML failed: (domain_definition):43: Unescaped '<' not allowed in attributes values\r\n      <sound model='#<Vagrant::Config::V2::DummyConfig:0x00000000667268>'>\r\n---------------------^\r\n\r\n\r\n\r\n### System configuration\r\n**OS/Distro version:**: RHEL 7.2\r\n\r\n**Libvirt version:** 1.2.17\r\n\r\n**Output of `vagrant version; vagrant plugin list`:**\r\nvagrant-hostmanager (1.8.5)\r\nvagrant-libvirt (0.0.37)\r\nvagrant-registration (1.3.1)\r\n\r\n**Output of `VAGRANT_LOG=debug vagrant ... --provider=libvirt`**\r\n```\r\nInsert debug output inside quotes here (replace ... with whatever command you use to trigger the issue)\r\n```\r\n\r\n**A Vagrantfile to reproduce the issue:**\r\n```\r\nVagrant.configure(\"2\") do |config|\r\n  config.vm.box = \"sfroemer/rhel-server-7.3\"\r\nend\r\n\r\n```\r\n\r\n**Are you using upstream vagrant package or your distros package?**\r\nrunning development master\r\n\r\n**Resolution**\r\nThis issue can be solved by adding `attr_accessor :sound_type` into `lib/vagrant-libvirt/config.rb`"}}
{"actor":{"display_login":"knumskull"}}