← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1059923] Re: warn if no plugin config file specified when starting quantum-server

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1059923

Title:
  warn if no plugin config file specified when starting quantum-server

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  I'm testing quantum-2013.1

  The openvswitch (ovs_quantum_plugin.py) plugin isn't creating the
  database tables.

  I had to install the rpm version (openstack-quantum-
  openvswitch-2012.1-8.el6.noarch) on another host so I could dump the
  table scheme created by the plugin.

  I can do net-create without the tables, but net-list it fails since it
  can't run a select query.

  Here is the scheme I had to restore from a mysqldump to get it
  working:

  DROP TABLE IF EXISTS `networks`;
  CREATE TABLE `networks` (
    `uuid` varchar(255) NOT NULL,
    `tenant_id` varchar(255) NOT NULL,
    `name` varchar(255) DEFAULT NULL,
    `op_status` varchar(16) DEFAULT NULL,
    PRIMARY KEY (`uuid`)
  ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

  DROP TABLE IF EXISTS `ports`;
  CREATE TABLE `ports` (
    `uuid` varchar(255) NOT NULL,
    `network_id` varchar(255) NOT NULL,
    `interface_id` varchar(255) DEFAULT NULL,
    `state` varchar(8) DEFAULT NULL,
    `op_status` varchar(16) DEFAULT NULL,
    PRIMARY KEY (`uuid`),
    KEY `network_id` (`network_id`)
  ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

  DROP TABLE IF EXISTS `vlan_bindings`;
  CREATE TABLE `vlan_bindings` (
    `vlan_id` int(11) NOT NULL AUTO_INCREMENT,
    `network_id` varchar(255) DEFAULT NULL,
    PRIMARY KEY (`vlan_id`)
  ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

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