Home > juju > Cinder can not create volume types

Cinder can not create volume types

December 6Hits:0
Advertisement

I am setting up MAAS+JUJU+Ubuntu 14.04 based Openstack setup. I have configured all the Openstack services as JUJU charms.

On a fresh installation,when I am trying to create a Volume type, the message is displayed saying "Error: Unable to create volume type"

I found this entry in the /var/log/cinder/cinder-volume.log which may point to the potential problem.

But I am unable to root cause the problem from this information.

2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup     return Connection(*args, **kwargs) 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__ 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup     super(Connection, self).__init__(*args, **kwargs2) 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup OperationalError: (OperationalError) (1130, "Host '10.50.0.4' is not allowed to connect to this MySQL server") None None 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup  

Answers

Log does clearly indicates that the problem is with db acess. When db user is created, you can define from where that user is allowed to connect. As it is juju that configured db, you should check charm documentation, whether you should pass some extra config to charm to indicate how db is supposed to be configured. I think I had similar issues when configured some services on same host as db, juju recognized it and configured database to allow only connections through local socket. Solution was removing everything and installing services in lxc ( juju deploy --to lxc:0 mysql ).

Tags:juju, openstack

Related Articles

  • Cinder can not create volume typesDecember 6

    I am setting up MAAS+JUJU+Ubuntu 14.04 based Openstack setup. I have configured all the Openstack services as JUJU charms. On a fresh installation,when I am trying to create a Volume type, the message is displayed saying "Error: Unable to create volu

  • AWS Create Image Volume TypeDecember 10

    When creating an image (EC2 --> Actions --> Image --> Create) there is a Volume Type input with options for Magnetic, General Purpose or Provisioned IOPS. I'm not sure why it's necessary to ask this here since I'd thought that, when it's time to

  • Unable to mount Amazon Public Dataset using ec2-create-volumeMarch 25

    I am trying to use a Public Dataset with the snapshot id of snap-­e1608d88. I am looking at these instructions, but they do not seem to help. The first suggestion there says I should click on Volumes and create a new volume, set it's size and availab

  • Does Create Content Type need to be a farm solution?April 27

    I've found a couple of examples of creating a content type using visual studio. http://stevemannspath.blogspot.com/2010/11/sharepoint-2010-leveraging-visual.html http://msdn.microsoft.com/en-us/library/ff630942.aspx They both say "Deploy as Farm Solu

  • How to create content type programaticallySeptember 11

    how to create content type programatically and attach field api fields to it? hook_node_info() will not work for me since i want to create my node type and its instance in a single method (for testing purposes), so kindly suggest a solution other tha

  • creating content types with Out-of-Box vs Server Object modelsFebruary 23

    Are there any advantages in creating content type using out of box vs visual studios? --------------Solutions------------- I'm assuming that by "out of the box" you mean creating them in the User Interface. Advantages of Visual Studio Easy way t

  • Create Custom Type Using The Puppet Warp Tool

    Create Custom Type Using The Puppet Warp ToolMarch 5

    Banner ads, brochures, branding materials, and templates have many differences, but their common goal is to deliver a distinct, refined message that stands out and catches the eye. It's often hard to attract prospects and stand apart from competitors

  • create content type from workflow taskAugust 28

    I have been looking all over the internet for instructions on how to create a content type based off the Workflow Task type. Everything I have found thus far seems like it is incomplete or has gaps that I can't seem to bridge. I am using Visual Studi

  • How to create content type Drupal 7 October 12

    I need to add a new content type to the node/add page. How can I go about doing this? --------------Solutions------------- You should try Google before posting questions like this here. One of the first few results is the following video: Drupal 7: C

  • How to create Content Types with DrushJune 9

    Is it possible to create content types with Drush? Such as a new Galery content type? I created a content type manually via web interface and checked the changes in database. However, there are quite a lot of changes - some changes are also in blob f

  • Creating Volume Group on Root PartitionOctober 23

    I am currently doing some Virtualisation lab works in which I need to run Virtual Machines on Xen hypervisor. I need to create Logical Volumes on Volume Groups. I can create a new Volume Group using the command "vgcreate vgpool /dev/sda1" While

  • Programatically create content type for multilingual siteNovember 13

    How to create content type for for multilingual site programatically. Example Content type column internal name: firstName. English Display Name: First Name, German Display Name:Vorname. Same for all column name and content type name. How can I do th

  • How to create content type programmatically with fields and vertical tabsFebruary 3

    I'm creating a module using Drupal7.26 and want to create content type with different type of fields like radio/checkboxes/drupdown and textfields. I'm following the last comment by Jason Gray in THIS thread and is working pretty well except it is no

  • Programmatically created content type don't have a delete link

    Programmatically created content type don't have a delete linkFebruary 12

    I'm developing a module that creates new content types through form that I created (not in hook_install): function create_new_content_type($type, $name){ $t = get_t(); $new_node = array( 'type' => $type, 'name' => $name, 'base' => 'node_content',

  • How to create new type element to form API?March 12

    Drupal form API provides some built in type of element to build a form. But I want to create other type such as: $form['mail']['#type'] = 'email'; And the output I want it to be: <input class="input-1" type="email" id="edit-mai

  • How to create tag type of label in Cad Eagle?

    How to create tag type of label in Cad Eagle? April 30

    This question already has an answer here: How to create "wireless" networks in Eagle Cad 2 answers I can't get my copy of cad eagle to create tag type of label for a wire or a net. Instead I get simple text type of label. GND label is what I am

  • How to create data types via moduleMay 19

    I am writing a module that will create the data types for my site. I am using hook_node_info to create the type itself, then I am using field_create_field and field_create_instance to add fields. field_create_field and field_create_instance are funct

  • Crash on creating content type?May 26

    I'm working on a D7.27 site I've inherited and when adding a new content type I'm getting this error: DatabaseSchemaObjectExistsException: Table <em class="placeholder">field_data_body</em> already exists. in DatabaseSchema->creat

  • Dovecot create mbox type mailboxes even it shouldn'tOctober 6

    I'm almost in finished task, but devecot always create mbox type mailbox for users even I've configured to use maildir syntax. I'm using dovecot, postfix, postfixadmin and MySQL in my server. Snippet from 10-mail.conf mail_location = maildir:/var/mai

  • create Content Types like Excel,PowerPoint,One Note documents for document library in SP2013?October 14

    I want to create Content Types like Excel,PowerPoint,One Note documents for document library in SP2013,by default once enable the content type in Advance settings,we can able to see the Word content type,In site settings->site content types i can abl

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.864 s.