12682 Commits

Author SHA1 Message Date
Jenkins
71c9e4bfa7 Merge "Retrieve quota and usage only for quota-enabled resources" 2017-05-16 16:46:58 +00:00
OpenStack Proposal Bot
dc9a33148f Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I4f65b9f72ad7912ec13e5ef97c935d52c061b67f
2017-05-16 09:28:53 +00:00
OpenStack Proposal Bot
1f9e7b685e Updated from global requirements
Change-Id: I9595fd8e16cf8cb33934d54f80ae32a69381aef1
2017-05-15 00:44:34 +00:00
Jenkins
98a0b4a4a3 Merge "Imported Translations from Zanata" 2017-05-14 16:08:30 +00:00
Jenkins
07dee54cfb Merge "Make UpdateDefaultQuotas handling more robust to missing form fields" 2017-05-14 15:43:59 +00:00
OpenStack Proposal Bot
34f2df9b4f Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Iccae58b4be614a6fff7b6c6d98d04a92a4afae7a
2017-05-13 09:05:02 +00:00
OpenStack Proposal Bot
fd36e0913c Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I6edba20e7143462ac79bee34ed8376a16ef59e7b
2017-05-10 09:07:59 +00:00
Radomir Dopieralski
cc6c0cf36a Make UpdateDefaultQuotas handling more robust to missing form fields
Prevent raising of KeyError when one or more fields are missing in
the form data.

Change-Id: Icf795651773289ecc3b4ef5f22626947bdb5ccd2
Closes-bug: #1688577
2017-05-09 16:43:05 +02:00
OpenStack Proposal Bot
d055203000 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ic609a61db27997603a4fd1434ffa14712fc201bf
2017-05-09 10:07:01 +00:00
OpenStack Proposal Bot
fbc9399e1c Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I62aed59c1b9b42a7776b1aaa78cfb03978a6a01b
2017-05-07 09:09:50 +00:00
Jenkins
98ac7666a0 Merge "Support editing volume type access" 2017-05-05 20:23:59 +00:00
Jenkins
4657340d16 Merge "Add release note on drop-nova-network" 2017-05-05 19:25:15 +00:00
Akihiro Motoki
f1fc38ff98 Add release note on drop-nova-network
blueprint drop-nova-network

Also introduces shorthand directive for launchpad bug and blueprint

Change-Id: I0664ccc0652c8b1428359daadb5f4d456a5a15b7
2017-05-05 14:55:36 +00:00
Jenkins
0809d29f4f Merge "Use assertIsNone(...) instead of assertEqual(None, ...)." 2017-05-05 14:51:10 +00:00
Jenkins
4b32a7051a Merge "Image list function should normalize owner filter" 2017-05-05 14:50:16 +00:00
Akihiro Motoki
81891697c6 Retrieve quota and usage only for quota-enabled resources
Previously _get_tenant_(compute|network|volume)_usage are callled
regardless of resources are listed in enabled_quotas.
This commit retrives usage information only for resources listed
in eanbled_quotas.

floating_ips and security_groups were returned even when
they are included in disabled_quotas. They are not needed
and they are cleanup in this commit.

All (*_)QUOTA_FILEDS were previously a list but it is always used
after converting into a set, so this commit changes (*_)QUOTA_FIELDS
into a set in the initial definitions.

This is a preparation for fix of bug 1675504

Partial-Bug: #1675504
Change-Id: I41cdabde477d87aa8b35d1c908e18a69454286c3
2017-05-05 13:53:11 +00:00
Jenkins
617de834e8 Merge "Imported Translations from Zanata" 2017-05-05 10:22:27 +00:00
Jenkins
b108e3997e Merge "Fix a typo" 2017-05-05 10:22:19 +00:00
OpenStack Proposal Bot
220333c5ec Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I4f50082d51934f5bb3c2e679461145e5c4cbaa88
2017-05-05 08:29:34 +00:00
chenaidong1
34a6a8946d Fix a typo
Change-Id: I0bde562c7b569690520d74e8d377654983e1654c
2017-05-05 14:23:14 +08:00
zhanghongtao
561c8f3891 Fix missing space in exception message
Change-Id: I950fe126da843e6f3158b5f2fd12b4ce213947e8
2017-05-05 10:47:43 +08:00
Jenkins
14aae64c48 Merge "Remove the invalid example of floating IPs tab from doc" 2017-05-05 01:32:28 +00:00
Ying Zuo
78ccc9a68a Remove the invalid example of floating IPs tab from doc
The floating IPs tab on access and security panel was moved to
its own panel in Ocata.

Replaced the example of disabling floating IPs tab with an example
to disable the orchestration services tab.

Change-Id: Ibba5834b17a116f16b761c495732928b103b7324
Closes-bug: #1688147
2017-05-04 16:48:27 -07:00
Jenkins
985524472d Merge "nova: Use endpoint_override instead of deprecated bypass_url" 2017-05-04 20:39:19 +00:00
Jenkins
66944d0d94 Merge "Drop novalclient security group and floating IP dependency" 2017-05-04 20:39:11 +00:00
Jenkins
103c062c22 Merge "Drop Nova SG and FIP related unit tests from dashboard code" 2017-05-04 20:39:03 +00:00
Jenkins
1e2b3437eb Merge "Drop Nova security group dependency from dashboard" 2017-05-04 20:38:50 +00:00
Jenkins
7935314a16 Merge "Drop Nova floating IP dependency from dashboard" 2017-05-04 20:38:43 +00:00
Jenkins
d58e07a9dc Merge "Clean up logger usage" 2017-05-04 20:38:34 +00:00
Jenkins
ad642346e0 Merge "table action: drop deprecated action_present/past attributes" 2017-05-04 20:32:36 +00:00
Jenkins
d81cf1ee92 Merge "Imported Translations from Zanata" 2017-05-04 20:26:05 +00:00
Jenkins
b76df4315c Merge "Set minimum volume size based on the flavor selected" 2017-05-04 20:25:07 +00:00
OpenStack Proposal Bot
0c0104a15d Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ie497ffd65976f2c9d6a6f508521ff421c4d10d70
2017-05-04 09:11:40 +00:00
chenaidong1
c2dc8fbe1c Use assertIsNone(...) instead of assertEqual(None, ...).
Ref£º   http://docs.openstack.org/developer/hacking/#real-world-import-order-examples

[H203] Use assertIs(Not)None to check for None (off by default) Unit test assertions
tend to give better messages for more specific assertions. As a result,
assertIsNone(...) is preferred over assertEqual(None, ...) and assertIs(None, ...),
and assertIsNotNone(...) is preferred over assertNotEqual(None, ...)
and assertIsNot(None, ...).

Change-Id: I84b3304cae4284bdbad7d093cb6fa1d3d303ee52
2017-05-04 10:25:47 +08:00
Akihiro Motoki
ed45d4b11f nova: Use endpoint_override instead of deprecated bypass_url
novaclient deprecated 'bypass_url' argument in Ocata and
the use of 'endpoint_override' is recommended.

Change-Id: I88bb974fa11452d1262779b75444ba6d7ad44ebb
2017-05-03 16:53:31 +00:00
Jenkins
a799fd8721 Merge "Revise the tutorials to support py35" 2017-05-03 13:44:28 +00:00
Jenkins
ee4112ad5a Merge "Fix the legacy experience launch instance dialog can not open" 2017-05-03 00:44:28 +00:00
Jenkins
04c3e96643 Merge "Strip blank lines from downloaded clouds.yaml file" 2017-05-02 23:36:18 +00:00
Jenkins
0ec46b945a Merge "Pass environment variables of proxy to tox" 2017-05-02 23:28:00 +00:00
Jenkins
d3a2d7205a Merge "Include logging level to log message by default" 2017-05-02 23:26:16 +00:00
Jenkins
5f79ed1084 Merge "Drop py34 target in tox.ini and setup.cfg" 2017-05-02 23:10:07 +00:00
wei.ying
02559e544e Fix the legacy experience launch instance dialog can not open
Since the commit c219a3efc6622c6e5857577d94633efc7d139860
removed js file 'horizon.instances.js' in the template file
' _scripts.html', If enable the legacy experience launch instance
(Set 'LAUNCH_INSTANCE_LEGACY_ENABLED = True' and
'LAUNCH_INSTANCE_NG_ENABLED = False' in the local_settings.py) and
click launch instance, we can not open launch instance dialog and
also see the following in console.log.

VM22778:3 Uncaught TypeError: Cannot read property 'workflow_init'
of undefined

Change-Id: Ia9e22df5129527e4b021599bbdec9a668a04ee4b
Closes-Bug: #1686431
2017-05-03 05:13:25 +08:00
Jenkins
5c6a919590 Merge "Fix unauthorized exception in users panel" 2017-04-30 10:33:12 +00:00
OpenStack Proposal Bot
b0ceb78b88 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I710a36eca590fb94edc269749a025d441ff4e436
2017-04-30 08:58:42 +00:00
wei.ying
5d8c8fb85b Fix unauthorized exception in users panel
If a member role user login and use admin to get keystoneclient,
but he is not a super user, then a notAuthorized exceptions will be raised,
it seems to be unreasonable.

The following actions will throw unauthorized exception.

Go to Users panel, Click user name , Click Change Password,
Submit Change Password form.

Change-Id: I4f6486b92f023ad0daecfff51e3a1ed16b0e78c0
Closes-Bug: #1684475
2017-04-30 06:11:43 +08:00
OpenStack Proposal Bot
42957903ac Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I35931bc3cdaab11765d5e364c8303c21310f25aa
2017-04-29 08:58:57 +00:00
Akihiro Motoki
acd3f2a240 Drop novalclient security group and floating IP dependency
novaclient 8.0.0 dropped python bindings for security group and
floating IP. This commit drops security group and floating IP logics
from the nova API wrapper.

The following changes are made accordingly.

* Update unit tests to consume neutron test data
* Drop API unit tests for nova security group and floating IP

Partially implement blueprint drop-nova-network
Change-Id: I946c508d7a82162fc8434213e006513867b79350
2017-04-28 08:38:28 +00:00
Akihiro Motoki
f23c84189c Drop Nova SG and FIP related unit tests from dashboard code
Previously security group and floating IP tests covered
both nova and neutron APIs. This commit drops Nova security
group and floating IP unit tests. All these unit tests now
consumes neutron API wrapper and neutron test data.

Partially implement blueprint drop-nova-network

Change-Id: I1e3ad42cbeb90c00be29784869108d3d0db83162
2017-04-28 08:35:39 +00:00
Akihiro Motoki
07f964c42e Drop Nova security group dependency from dashboard
This commit drops Nova security group dependency from
the dashboard implementation.

security group support in the nova API wrapper will be dropped
in a separate patch.

Also removes api.network.security_group_backend()
as it is no longer needed.

Partially implement blueprint drop-nova-network

Change-Id: I224010eb59068a7cc4f97c2453d499adde7644b4
2017-04-28 08:28:41 +00:00
Akihiro Motoki
8b6d3422e8 Drop Nova floating IP dependency from dashboard
This commit drops Nova floating IP dependency from
the dashboard implementation.

* Use neutron policy for floating IP operations.
* SimpleAssociateIP is supported only by Nova API,
  so the action was removed in this patch.

Floating IP support in the nova API wrapper will be dropped
in a separate patch.

Partially implement blueprint drop-nova-network

Change-Id: I1610fb9aa2212b3f34814fdb9894b715a5211d9c
2017-04-28 08:28:41 +00:00