Commit Graph

1124 Commits

Author SHA1 Message Date
OpenDev Sysadmins bf9f6d1950 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:32:57 +00:00
Andreas Jaeger 7759e2fd82 Retire astara repo
Retire repository, following
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

Change-Id: If5f7d284bd107a93edd9272ac0ed8e6d20ba5c51
2018-10-14 12:50:35 +02:00
Jenkins e7f8940fa0 Merge "Always enable devstack service" 2016-10-05 18:59:52 +00:00
Jenkins eec8a2004b Merge "Fix a failing functional test" 2016-10-05 18:15:43 +00:00
Jenkins 2c72536137 Merge "Using assertIsNone() instead of assertIs(None)" 2016-10-05 15:55:31 +00:00
Jenkins 8fd9db4694 Merge "Updated from global requirements" 2016-10-05 15:18:42 +00:00
Jenkins e37150ac99 Merge "Using assertIsNone() instead of assertIs(None, ..)" 2016-10-05 15:14:09 +00:00
Jenkins 5ed027e776 Merge "Fix typos in instance_manager.py & base.py" 2016-10-05 14:12:45 +00:00
Jenkins 7b7dfc202d Merge "Add __ne__ built-in function for astara" 2016-10-05 14:12:39 +00:00
Jenkins 94057c01e7 Merge "Fix typo in coordination.py" 2016-10-05 14:12:34 +00:00
Ryan Petrello 1d99e2a84e Fix a failing functional test
Change-Id: Iae1934c5c7fef58e3403149be1efe1d24937eb69
2016-10-05 13:51:53 +00:00
qinchunhua 9eaa071cb0 Replace __builtin__ with six.moves.builtins
Python 3: Fix basic py3 issues.

TrivialFix.

Change-Id: Ibe5cad2e27ef7174bf3f0d17b0814fd881251b39
2016-10-04 21:25:38 +00:00
gengchc2 93d61f3689 Add __ne__ built-in function for astara
In Python 3 __ne__ by default delegates to __eq__ and inverts the
result,but in Python 2 they urge you to define __ne__ when you define
__eq__ for it to work properly.There are no implied relationships
among the comparison operators. The truth of x==y does not imply that
x!=y is false.Accordingly, when defining __eq__(), one should also
define __ne__() so that the operators will behave as expected.

Change-Id: I9859ad3bdf304ba87d04c9ecabf069b0fdfe4b45
2016-10-04 21:24:15 +00:00
zhangyanxian 317194c483 Fix typos in instance_manager.py & base.py
TrivialFix

Change-Id: I9796139eb99ea9422cae02ab7628a31b17b83333
2016-10-04 21:23:19 +00:00
zhangyanxian 87390bbb79 Using assertIsNone() instead of assertIs(None)
Change-Id: Ia05b6a86ddc745f202d501f3ca4e07e33fc0890c
2016-10-04 21:23:05 +00:00
Ji-Wei e3b3947af8 Using assertIsNone() instead of assertIs(None, ..)
Following OpenStack Style Guidelines[1]:
http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises
[H203] Unit test assertions tend to give better messages for more
specific assertions. As a result, assertIsNone(...) is preferred
over assertEqual(None, ...) and assertIs(..,None).

Change-Id: I72327e4c740ef11ee9cba4cda9642e4a270d1b52
2016-10-04 21:22:55 +00:00
zhangyanxian b626edaaad Fix typo in coordination.py
TrivialFix

Change-Id: I07af7a959f5a216ae66b0e0ba9437336198a9c87
2016-10-04 21:22:37 +00:00
OpenStack Proposal Bot 99f9e84dc7 Updated from global requirements
Change-Id: Iff3d5ebd5df376d6556b50aa663ffee80db33415
2016-10-04 21:21:44 +00:00
Andreas Jaeger 85b7cb5f0f Always enable devstack service
When the plugin is enabled, we should always enable the service, there's
no benefit in having an extra invocation - and it can only confuse users
when they forget setting it up.

For more info see:
http://docs.openstack.org/developer/devstack/plugins.html

Change-Id: Ifcabc0955cb54f66388cac0c74b70c70ba65a1f9
2016-10-04 21:21:19 +00:00
Mark McClain 59e25b504d Make Astara Newton compatible
This change makes Astara compatible with Newton. This change adds support
for Neutron agent reporting and service providers to work with new L3
drivers.  Included in this change is a temporary filed called newton_fix.py.
This file will be removed in follow-up change after changes are migrated to
astara-neutron.

Change-Id: I5843e84e36af2e46de5b8420ca5749033c26ee69
2016-10-04 10:49:09 -04:00
OpenStack Proposal Bot 6cb543ac99 Updated from global requirements
Change-Id: Ia7282d5395e259802f6b0781aff503d2d08f2867
2016-07-18 18:07:17 +00:00
Jenkins f6ee6da320 Merge "Correct reraising of exception" 2016-07-11 17:48:44 +00:00
qinchunhua b8283527be Correct reraising of exception
When an exception was caught and rethrown, it should call 'raise'
without any arguments because it shows the place where an exception
occured initially instead of place where the exception re-raised.

Change-Id: Ib9d568d1d2915d5f183c076a114312c7bd9d5dfc
2016-07-11 02:18:14 -04:00
OpenStack Proposal Bot f8e161f05d Updated from global requirements
Change-Id: Ica936648b84d49f8946392d484ad07d0abec3ed2
2016-07-09 19:18:41 +00:00
OpenStack Proposal Bot d0967e9e34 Updated from global requirements
Change-Id: Ia7e95763c918a4067463c80c3bcebf178db4da11
2016-07-09 03:09:09 +00:00
Jenkins 238774319a Merge "Fix order of arguments in assertEqual" 2016-06-30 21:38:29 +00:00
Ji-Wei 3fbbcd941c Fix order of arguments in assertEqual
Some tests used incorrect order assertEqual(observed, expected).
The correct order expected by testtools is
assertEqual(expected, observed).
This patch will fix the issue.

Change-Id: I44c7c6a6bf248b17c4f001586a79a91ff9d9dc3d
Partial-Bug: #1259292
2016-06-26 08:59:57 +00:00
OpenStack Proposal Bot 4d2cf89a34 Updated from global requirements
Change-Id: I14fdb072de25030519ea8384e0e854df859f9334
2016-06-24 03:09:49 +00:00
OpenStack Proposal Bot aaa6f0682e Updated from global requirements
Change-Id: Iaebf447b2f95fff3c8afe44f24a4489c999cf731
2016-06-08 21:56:24 +00:00
OpenStack Proposal Bot c2225c042a Updated from global requirements
Change-Id: Iabcc20d44ac350038d498375d77b3fc31db573ce
2016-06-03 18:11:01 +00:00
OpenStack Proposal Bot e3150609c0 Updated from global requirements
Change-Id: I03c8f375b885c56656635e1ee2df658e5f08cc68
2016-06-01 13:46:36 +00:00
Jenkins 92d20dd0fa Merge "Updated from global requirements" 2016-05-31 21:06:20 +00:00
OpenStack Proposal Bot c3146e35f0 Updated from global requirements
Change-Id: I4332f0bfa6418836d11b83dc9658499d483432d7
2016-05-31 02:58:58 +00:00
Henry Gessau 12493af8fc Use --subproject instead of deprecated --service option
The --service option to neutron-db-manage is deprecated and will be
removed soon. Use --subproject instead.

Related-Bug: #1501380

Change-Id: I4ab0f7b7c41aeed8aeb14c893f1837db94d23fd3
2016-05-30 15:39:37 +00:00
Jenkins 26926a2744 Merge "Updated from global requirements" 2016-05-27 17:40:01 +00:00
OpenStack Proposal Bot 6d7346e2a3 Updated from global requirements
Change-Id: I882c4aa801274767c0a749bb055be06445c3d2f3
2016-05-26 16:56:06 +00:00
Justin Shepherd f58a3c0bc8 Cleanup multi-line disk-image-create commands
This commit moves the disk-image-create comand lines into a more
readable multi-line syntax.

Change-Id: Ic8a839a81de5bba1d3e0fd56510f9e5b433728eb
2016-05-26 11:34:51 -05:00
Jenkins 5f1f2957d5 Merge "vagrant: Add a Vagrant setup for Astara" 2016-05-25 01:15:53 +00:00
OpenStack Proposal Bot ea5d367225 Updated from global requirements
Change-Id: Ia67d0d97fb09db94832cd3909f906598807232f6
2016-05-23 20:42:06 +00:00
Kyle Mestery e82baba8d0 vagrant: Add a Vagrant setup for Astara
Add a Vagrant configuration for Astara. This makes it easy for someone
to pull the openstack/astara repository and get up and running with an
Astara setup quickly.

Change-Id: I600328c2a53a8d4aff5bf39a96aaa5b79ef99464
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2016-05-23 13:38:03 -05:00
Adam Gandelman 6a934060f0 Fix messaging layer for newer oslo.messaging changes
Instead of spawning our own threads and relying on the oslo.messaging
executor blocking, lets just use oslo.messaging's internal threading
capabilities.  This converts rpc.Connection to rpc.MessagingService,
which is an oslo.service-based service and sets up messaging to managed
there instead.

Closes-bug: #1583330

Change-Id: I9f5a15f1c5dff7e90761887c519a15888096636b
2016-05-21 21:07:46 -07:00
Jenkins 6fd701be79 Merge "Show version info for astara-dbsync" 2016-05-02 17:14:39 +00:00
OpenStack Proposal Bot babaf0d605 Updated from global requirements
Change-Id: Ibd81c795c58b3df6a5de32bb7fcb34231889d2f0
2016-04-30 18:01:56 +00:00
Adam Gandelman 3f26c9a298 Subscribe to correct event for FIP assoc/disassoc
Subscribe to the correct floatingip event for events that broadcast
when a nova associate or disassociate floating IP takes place.

Change-Id: I9aa0704fc7de75b22ecfb8795a65671e8ffcae23
Closes-bug: #1576886
2016-04-29 15:34:17 -07:00
liyang b87c8924dc Show version info for astara-dbsync
Closes-bug #1567155

Change-Id: Ia932f9f840ad967d46c6185a56588bbecc8e53ad
2016-04-28 14:55:07 +08:00
Jenkins be4e3965e1 Merge "Ensure ssh key is sanitized when read from disk" 2016-04-21 21:50:39 +00:00
Adam Gandelman 158cf8d670 Ensure ssh key is sanitized when read from disk
We currently pass the ssh key read from disk straight into
cloud-init.  If it contains newlines before or after, it can
break the yaml formatting of the cloud-init causing the appliance
to fail to successfull boot.

Change-Id: I26ef83dc7b02afc5e30f09447363ee27c9dca07c
Closes-bug: #1573167
2016-04-21 11:00:14 -07:00
Adam Gandelman 64453dc26d Disable port security for mgt ports as well
In some deployments (OVS), port security must also be disabled
on the management port for communication from astara to the appliance
API.

Change-Id: I10bae7041aab7b4b143987bf07d800b3e50a6444
Closes-bug: #1573156
2016-04-21 10:21:36 -07:00
Adam Gandelman b305beacd4 Allow specification of endpoint_type to clients
We currently do not allow operators to specify which endpoint type
needs to be used to reach nova and neutron via their clients. This
adds a new option that defaults to publicURL (as it is today) but
allows operators to specify internalURL or adminURL if they need.

Change-Id: I9432b4df8a5b4fc9f0cc06e6ffb662df634ec4f8
Closes-bug: #1572693
2016-04-20 12:09:11 -07:00
OpenStack Proposal Bot cea4c6713a Updated from global requirements
Change-Id: I0145029242106e2c1af8149a169ce2881ae8644d
2016-04-15 01:51:54 +00:00