settingsLogin | Registersettings

[openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

0 votes

Hi,

Does anyone know how to configure cinder ci tests to not have these errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021 ERROR cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8 bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -] Default volume type is not found, please check defaultvolume_type config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9 f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -] Default volume type is not found, please check defaultvolumetype config: Volume type with name cat1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy

asked Aug 14, 2014 in openstack-dev by Asselin,_Ramy (4,700 points)   1 2 5
retagged Jan 28, 2015 by admin

8 Responses

0 votes

Cinder.conf needs to have a defaultvolumetype entry set under the [Default] group and a volume type that is valid, for example, defaultvolumetype=bronze. This allows for a volume to be created when a volume type is not selected, the default 'None' type. This feature has been available for some time in cinder but recently enabled in devstack.
~Kurt

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 10:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

Hi,

Does anyone know how to configure cinder ci tests to not have these errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021 ERROR cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8 bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -] Default volume type is not found, please check defaultvolume_type config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9 f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -] Default volume type is not found, please check defaultvolumetype config: Volume type with name cat1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Aug 14, 2014 by Martin,_Kurt_Frederi (300 points)  
0 votes

Both configurations have that set as you described. [1][2]
Who actually creates that volume type? Is that supposed to be added manually to local.sh, or is this a bug in devstack?

[1] http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = cat_1

[2] http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = dot

-----Original Message-----
From: Martin, Kurt Frederick (ESSN Storage MSDU)
Sent: Thursday, August 14, 2014 2:00 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

Cinder.conf needs to have a defaultvolumetype entry set under the [Default] group and a volume type that is valid, for example, defaultvolumetype=bronze. This allows for a volume to be created when a volume type is not selected, the default 'None' type. This feature has been available for some time in cinder but recently enabled in devstack.
~Kurt

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 10:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

Hi,

Does anyone know how to configure cinder ci tests to not have these errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021 ERROR cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8 bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -] Default volume type is not found, please check defaultvolume_type config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9 f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -] Default volume type is not found, please check defaultvolumetype config: Volume type with name cat1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Aug 14, 2014 by Asselin,_Ramy (4,700 points)   1 2 5
0 votes

They need to be manually added.

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 2:17 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

Both configurations have that set as you described. [1][2] Who actually creates that volume type? Is that supposed to be added manually to local.sh, or is this a bug in devstack?

[1] http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = cat_1

[2] http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = dot

-----Original Message-----
From: Martin, Kurt Frederick (ESSN Storage MSDU)
Sent: Thursday, August 14, 2014 2:00 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

Cinder.conf needs to have a defaultvolumetype entry set under the [Default] group and a volume type that is valid, for example, defaultvolumetype=bronze. This allows for a volume to be created when a volume type is not selected, the default 'None' type. This feature has been available for some time in cinder but recently enabled in devstack.
~Kurt

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 10:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

Hi,

Does anyone know how to configure cinder ci tests to not have these errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021 ERROR cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8 bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -] Default volume type is not found, please check defaultvolume_type config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9 f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -] Default volume type is not found, please check defaultvolumetype config: Volume type with name cat1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Aug 14, 2014 by Martin,_Kurt_Frederi (300 points)  
0 votes

Can the defaultvolumetype be left empty and get the original "None"
type, so we don't have to create the volume type prior to running tempest
tests?

Andrew Kerr
OpenStack QA
Cloud Solutions Group
NetApp

On 8/14/14, 5:23 PM, "Martin, Kurt Frederick (ESSN Storage MSDU)"
<kurt.f.martin at hp.com> wrote:

They need to be manually added.

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 2:17 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Both configurations have that set as you described. [1][2] Who actually
creates that volume type? Is that supposed to be added manually to
local.sh, or is this a bug in devstack?

[1]
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder
.conf.txt.gz
[DEFAULT]
defaultvolumetype = cat_1

[2]
http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/
logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = dot

-----Original Message-----
From: Martin, Kurt Frederick (ESSN Storage MSDU)
Sent: Thursday, August 14, 2014 2:00 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Cinder.conf needs to have a defaultvolumetype entry set under the
[Default] group and a volume type that is valid, for example,
defaultvolumetype=bronze. This allows for a volume to be created when a
volume type is not selected, the default 'None' type. This feature has
been available for some time in cinder but recently enabled in devstack.
~Kurt

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 10:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted
Volume type with name * could not be found.

Hi,

Does anyone know how to configure cinder ci tests to not have these
errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021 ERROR
cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8
bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -]
Default volume type is not found, please check default
volume_type
config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR
cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9
f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -]
Default volume type is not found, please check default
volumetype
config: Volume type with name cat
1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/
console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Aug 15, 2014 by Kerr,_Andrew (420 points)   1
0 votes

On Fri, Aug 15, 2014 at 6:39 AM, Kerr, Andrew <Andrew.Kerr at netapp.com>
wrote:

Can the defaultvolumetype be left empty and get the original "None"
type, so we don't have to create the volume type prior to running tempest
tests?

Andrew Kerr
OpenStack QA
Cloud Solutions Group
NetApp

On 8/14/14, 5:23 PM, "Martin, Kurt Frederick (ESSN Storage MSDU)"
<kurt.f.martin at hp.com> wrote:

They need to be manually added.

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 2:17 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Both configurations have that set as you described. [1][2] Who actually
creates that volume type? Is that supposed to be added manually to
local.sh, or is this a bug in devstack?

[1]

http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder

.conf.txt.gz
[DEFAULT]
defaultvolumetype = cat_1

[2]

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/

logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = dot

-----Original Message-----
From: Martin, Kurt Frederick (ESSN Storage MSDU)
Sent: Thursday, August 14, 2014 2:00 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Cinder.conf needs to have a defaultvolumetype entry set under the
[Default] group and a volume type that is valid, for example,
defaultvolumetype=bronze. This allows for a volume to be created when a
volume type is not selected, the default 'None' type. This feature has
been available for some time in cinder but recently enabled in devstack.
~Kurt

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 10:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted
Volume type with name * could not be found.

Hi,

Does anyone know how to configure cinder ci tests to not have these
errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021 ERROR
cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8
bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -]
Default volume type is not found, please check default
volume_type
config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR
cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9
f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -]
Default volume type is not found, please check default
volumetype
config: Volume type with name cat
1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/

console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

?Update your devstack, it should be creating this for you. There's a call
in stack.sh to createvolumetypes (which is in lib/cinder). If this isn't
working for you, double check your localrc setting.

John?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Aug 15, 2014 by john.griffith_at_sol (4,960 points)   1 2 3
0 votes

John,

We?re running master on every patch set. What needs to be set in localrc?
Actually, I think I know what could be the issue (still need to confirm)

  1. devstack-gate/devstack-vm-gate-wrap.sh configures localrc

  2. We configuring the cinder backend in local.conf. We?re not setting CINDERENABLEDBACKENDS variable which stack.sh is looking at. [1]

Question: How do you configure devstack-gate/devstack-vm-gate-wrap.sh to set CINDERENABLEDBACKENDS in localrc?

Ramy

[1] http://15.126.198.151/09/114509/2/check/dsvm-tempest-hp-lefthand/b8e7c4d/logs/devstacklog.txt.gz

2014-08-15 14:10:57.619 | + create_ 2014-08-15 14:10:57.619 | + createvolumetypes
2014-08-15 14:10:57.619 | + isserviceenabled c-api
2014-08-15 14:10:57.625 | + return 0
2014-08-15 14:10:57.625 | + [[ -n lvm:lvmdriver-1 ]]
2014-08-15 14:10:57.625 | + for be in '${CINDERENABLEDBACKENDS//,/ }'
2014-08-15 14:10:57.625 | + BETYPE=lvm
2014-08-15 14:10:57.626 | + BE
NAME=lvmdriver-1
2014-08-15 14:10:57.626 | + type configurecinderbackendlvm
2014-08-15 14:10:57.626 | + cinder type-create lvmdriver-1
2014-08-15 14:10:59.324 | +--------------------------------------+-------------+
2014-08-15 14:10:59.324 | | ID | Name |
2014-08-15 14:10:59.324 | +--------------------------------------+-------------+
2014-08-15 14:10:59.324 | | 5c154cdd-2fa3-4056-a669-f535b33d3105 | lvmdriver-1 |
2014-08-15 14:10:59.324 | +--------------------------------------+-------------+
2014-08-15 14:10:59.360 | + cinder type-key lvmdriver-1 set volume
backend_name=lvmdriver-1

From: John Griffith [mailto:john.griffith at solidfire.com]
Sent: Friday, August 15, 2014 6:48 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

On Fri, Aug 15, 2014 at 6:39 AM, Kerr, Andrew <Andrew.Kerr at netapp.com<mailto:Andrew.Kerr at netapp.com>> wrote:
Can the defaultvolumetype be left empty and get the original "None"
type, so we don't have to create the volume type prior to running tempest
tests?

Andrew Kerr
OpenStack QA
Cloud Solutions Group
NetApp

On 8/14/14, 5:23 PM, "Martin, Kurt Frederick (ESSN Storage MSDU)"
<kurt.f.martin at hp.com<mailto:kurt.f.martin at hp.com>> wrote:

They need to be manually added.

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 2:17 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Both configurations have that set as you described. [1][2] Who actually
creates that volume type? Is that supposed to be added manually to
local.sh, or is this a bug in devstack?

[1]
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder
.conf.txt.gz
[DEFAULT]
defaultvolumetype = cat_1

[2]
http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/
logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = dot

-----Original Message-----
From: Martin, Kurt Frederick (ESSN Storage MSDU)
Sent: Thursday, August 14, 2014 2:00 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Cinder.conf needs to have a defaultvolumetype entry set under the
[Default] group and a volume type that is valid, for example,
defaultvolumetype=bronze. This allows for a volume to be created when a
volume type is not selected, the default 'None' type. This feature has
been available for some time in cinder but recently enabled in devstack.
~Kurt

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 10:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted
Volume type with name * could not be found.

Hi,

Does anyone know how to configure cinder ci tests to not have these
errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021 ERROR
cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8
bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -]
Default volume type is not found, please check default
volume_type
config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR
cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9
f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -]
Default volume type is not found, please check default
volumetype
config: Volume type with name cat
1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/
console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

?Update your devstack, it should be creating this for you. There's a call in stack.sh to createvolumetypes (which is in lib/cinder). If this isn't working for you, double check your localrc setting.

John?

-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Aug 15, 2014 by Asselin,_Ramy (4,700 points)   1 2 5
0 votes

On Fri, Aug 15, 2014 at 10:29 AM, Asselin, Ramy <ramy.asselin at hp.com> wrote:

John,

We?re running master on every patch set. What needs to be set in localrc?

Actually, I think I know what could be the issue (still need to confirm)

  1. devstack-gate/devstack-vm-gate-wrap.sh configures localrc

  2. We configuring the cinder backend in local.conf. We?re not
    setting CINDERENABLEDBACKENDS variable which stack.sh is looking at. [1]

?Correct, that's what you need.?

Question: How do you configure devstack-gate/devstack-vm-gate-wrap.sh to
set CINDERENABLEDBACKENDS in localrc?

?Recent change that honestly I never felt was really clear, but in your
localrc:
CINDERENABLEDBACKENDS={BACKENDTYPE}:{BACKENDNAME}, the work is done
here:
https://github.com/openstack-dev/devstack/blob/master/lib/cinder#L467
?

Ramy

[1]
http://15.126.198.151/09/114509/2/check/dsvm-tempest-hp-lefthand/b8e7c4d/logs/devstacklog.txt.gz

2014-08-15 14:10:57.619 | + create_ 2014-08-15 14:10:57.619 | +
createvolumetypes

2014-08-15 14:10:57.619 | + isserviceenabled c-api

2014-08-15 14:10:57.625 | + return 0

2014-08-15 14:10:57.625 | + [[ -n lvm:lvmdriver-1 ]]

2014-08-15 14:10:57.625 | + for be in '${CINDERENABLEDBACKENDS//,/ }'

2014-08-15 14:10:57.625 | + BE_TYPE=lvm

2014-08-15 14:10:57.626 | + BE_NAME=lvmdriver-1

2014-08-15 14:10:57.626 | + type configurecinderbackend_lvm

2014-08-15 14:10:57.626 | + cinder type-create lvmdriver-1

2014-08-15 14:10:59.324 |
+--------------------------------------+-------------+

2014-08-15 14:10:59.324 | | ID |
Name |

2014-08-15 14:10:59.324 |
+--------------------------------------+-------------+

2014-08-15 14:10:59.324 | | 5c154cdd-2fa3-4056-a669-f535b33d3105 |
lvmdriver-1 |

2014-08-15 14:10:59.324 |
+--------------------------------------+-------------+

2014-08-15 14:10:59.360 | + cinder type-key lvmdriver-1 set
volumebackendname=lvmdriver-1

From: John Griffith [mailto:john.griffith at solidfire.com]
Sent: Friday, August 15, 2014 6:48 AM

To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

On Fri, Aug 15, 2014 at 6:39 AM, Kerr, Andrew <Andrew.Kerr at netapp.com>
wrote:

Can the defaultvolumetype be left empty and get the original "None"
type, so we don't have to create the volume type prior to running tempest
tests?

Andrew Kerr
OpenStack QA
Cloud Solutions Group
NetApp

On 8/14/14, 5:23 PM, "Martin, Kurt Frederick (ESSN Storage MSDU)"

<kurt.f.martin at hp.com> wrote:

They need to be manually added.

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 2:17 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Both configurations have that set as you described. [1][2] Who actually
creates that volume type? Is that supposed to be added manually to
local.sh, or is this a bug in devstack?

[1]

http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder

.conf.txt.gz
[DEFAULT]
defaultvolumetype = cat_1

[2]

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/

logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = dot

-----Original Message-----
From: Martin, Kurt Frederick (ESSN Storage MSDU)
Sent: Thursday, August 14, 2014 2:00 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Cinder.conf needs to have a defaultvolumetype entry set under the
[Default] group and a volume type that is valid, for example,
defaultvolumetype=bronze. This allows for a volume to be created when a
volume type is not selected, the default 'None' type. This feature has
been available for some time in cinder but recently enabled in devstack.
~Kurt

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 10:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted
Volume type with name * could not be found.

Hi,

Does anyone know how to configure cinder ci tests to not have these
errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021 ERROR
cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8
bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -]
Default volume type is not found, please check default
volume_type
config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR
cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9
f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -]
Default volume type is not found, please check default
volumetype
config: Volume type with name cat
1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/

console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

?Update your devstack, it should be creating this for you. There's a
call in stack.sh to createvolumetypes (which is in lib/cinder). If this
isn't working for you, double check your localrc setting.

John?


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Aug 15, 2014 by john.griffith_at_sol (4,960 points)   1 2 3
0 votes

John, Andrew, and I investigated this on IRC yesterday.
Simple devstack patch proposed to solve this issue for all drivers/vendors: https://review.openstack.org/114693
Add this option to localrc & your volume type will get created during stack.sh (with above patch):
CINDERENABLEDBACKENDS={BACKENDTYPE}:{BACKENDNAME}

Thanks,
Ramy

From: John Griffith [mailto:john.griffith at solidfire.com]
Sent: Friday, August 15, 2014 9:49 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

On Fri, Aug 15, 2014 at 10:29 AM, Asselin, Ramy <ramy.asselin at hp.com<mailto:ramy.asselin at hp.com>> wrote:
John,

We?re running master on every patch set. What needs to be set in localrc?
Actually, I think I know what could be the issue (still need to confirm)

  1. devstack-gate/devstack-vm-gate-wrap.sh configures localrc

  2. We configuring the cinder backend in local.conf. We?re not setting CINDERENABLEDBACKENDS variable which stack.sh is looking at. [1]
    ?Correct, that's what you need.?

Question: How do you configure devstack-gate/devstack-vm-gate-wrap.sh to set CINDERENABLEDBACKENDS in localrc?
?Recent change that honestly I never felt was really clear, but in your localrc:
CINDERENABLEDBACKENDS={BACKENDTYPE}:{BACKENDNAME}, the work is done here:
https://github.com/openstack-dev/devstack/blob/master/lib/cinder#L467
?

Ramy

[1] http://15.126.198.151/09/114509/2/check/dsvm-tempest-hp-lefthand/b8e7c4d/logs/devstacklog.txt.gz

2014-08-15 14:10:57.619 | + create_ 2014-08-15 14:10:57.619 | + createvolumetypes
2014-08-15 14:10:57.619 | + isserviceenabled c-api
2014-08-15 14:10:57.625 | + return 0
2014-08-15 14:10:57.625 | + [[ -n lvm:lvmdriver-1 ]]
2014-08-15 14:10:57.625 | + for be in '${CINDERENABLEDBACKENDS//,/ }'
2014-08-15 14:10:57.625 | + BETYPE=lvm
2014-08-15 14:10:57.626 | + BE
NAME=lvmdriver-1
2014-08-15 14:10:57.626 | + type configurecinderbackendlvm
2014-08-15 14:10:57.626 | + cinder type-create lvmdriver-1
2014-08-15 14:10:59.324 | +--------------------------------------+-------------+
2014-08-15 14:10:59.324 | | ID | Name |
2014-08-15 14:10:59.324 | +--------------------------------------+-------------+
2014-08-15 14:10:59.324 | | 5c154cdd-2fa3-4056-a669-f535b33d3105 | lvmdriver-1 |
2014-08-15 14:10:59.324 | +--------------------------------------+-------------+
2014-08-15 14:10:59.360 | + cinder type-key lvmdriver-1 set volume
backend_name=lvmdriver-1

From: John Griffith [mailto:john.griffith at solidfire.com<mailto:john.griffith at solidfire.com>]
Sent: Friday, August 15, 2014 6:48 AM

To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.

On Fri, Aug 15, 2014 at 6:39 AM, Kerr, Andrew <Andrew.Kerr at netapp.com<mailto:Andrew.Kerr at netapp.com>> wrote:
Can the defaultvolumetype be left empty and get the original "None"
type, so we don't have to create the volume type prior to running tempest
tests?

Andrew Kerr
OpenStack QA
Cloud Solutions Group
NetApp

On 8/14/14, 5:23 PM, "Martin, Kurt Frederick (ESSN Storage MSDU)"
<kurt.f.martin at hp.com<mailto:kurt.f.martin at hp.com>> wrote:

They need to be manually added.

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 2:17 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Both configurations have that set as you described. [1][2] Who actually
creates that volume type? Is that supposed to be added manually to
local.sh, or is this a bug in devstack?

[1]
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder
.conf.txt.gz
[DEFAULT]
defaultvolumetype = cat_1

[2]
http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/
logs/etc/cinder/cinder.conf.txt.gz
[DEFAULT]
defaultvolumetype = dot

-----Original Message-----
From: Martin, Kurt Frederick (ESSN Storage MSDU)
Sent: Thursday, August 14, 2014 2:00 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not
Whitelisted Volume type with name * could not be found.

Cinder.conf needs to have a defaultvolumetype entry set under the
[Default] group and a volume type that is valid, for example,
defaultvolumetype=bronze. This allows for a volume to be created when a
volume type is not selected, the default 'None' type. This feature has
been available for some time in cinder but recently enabled in devstack.
~Kurt

-----Original Message-----
From: Asselin, Ramy
Sent: Thursday, August 14, 2014 10:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted
Volume type with name * could not be found.

Hi,

Does anyone know how to configure cinder ci tests to not have these
errors?

12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:56.179 18021<tel:56.179%2018021> ERROR
cinder.volume.volumetypes [req-c9ec92ab-132b-4167-a467-15bd213659e8
bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -]
Default volume type is not found, please check default
volume_type
config: Volume type with name dot could not be found.

17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR
cinder.volume.volumetypes [req-01e539ad-5357-4a0f-8d58-464b970114f9
f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -]
Default volume type is not found, please check default
volumetype
config: Volume type with name cat
1 could not be found.

http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/
console.html
http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html

Thanks,
Ramy


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

?Update your devstack, it should be creating this for you. There's a call in stack.sh to createvolumetypes (which is in lib/cinder). If this isn't working for you, double check your localrc setting.

John?


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Aug 17, 2014 by Asselin,_Ramy (4,700 points)   1 2 5
...