1658 Commits

Author SHA1 Message Date
Ghanshyam Mann
047f3a7409 Fix gate error "mysqladmin: command not found"
mysqladmin package is required in tools/test-setup.sh
so adding bindep.txt file for this binary dependencies

- http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html

Change-Id: I469a04220ad36451d155a5256926d992aa56b5c3
2019-06-28 08:52:55 +00:00
Zuul
c3c734dbeb Merge "Instantiation vnfc failed when K8s vim's ssl_ca_cert is None" 2019-06-24 06:31:29 +00:00
Zuul
ac89d3ad53 Merge "doc update for shared VIM" 2019-06-24 03:13:09 +00:00
Hiroya Nakaya
2f8addb2de Instantiation vnfc failed when K8s vim's ssl_ca_cert is None
Change-Id: I236fa382e3e962d2c4186c516d918fbdec2b0255
2019-06-21 12:03:42 +00:00
dharmendra
f169135807 doc update for shared VIM
After patch [1], VIM shared property set to False, that means Vim can only
be invoked by user who creates it. updating doc for the same.

[1]: https://review.opendev.org/#/c/465080/

Change-Id: I7fcd656e631d210f0f0d677618dfa702435896ca
2019-06-20 10:09:11 +00:00
dharmendra
e3f9d6293e InvalidServiceType not in use
Exception class InvalidServiceType is no more in use now,
So removing it to clean dead code.

Change-Id: I95ea23e8afb960cf04328279a0c75e9b06d8b0a3
2019-06-19 12:22:34 +00:00
Zuul
50c89d2c56 Merge "Failed all-in-one mode devstack local.conf" 2019-06-19 06:51:44 +00:00
Hiroya Nakaya
a889ffce6b Failed all-in-one mode devstack local.conf
Fix settings to install kuryr in local.conf.
Refer to tacker/devstack/local.conf.kuberntes for this setting.

Change-Id: Iea0c40d180cc40e706eb90e2395d93cc719b3abd
2019-06-18 20:19:35 +09:00
Hiroyuki JO
2ab50ef8f1 K8s 'ssl_ca_cert' value error remaining work
Made remaining nit works of the patch[1] which closes the bug #1829384.

[1] https://review.opendev.org/#/c/659559/

Change-Id: I285c6c62094b188b2f919d873f47041b7e7cf902
2019-06-13 16:37:09 +09:00
Zuul
6e7e9bb8e3 Merge "Kubernetes 'ssl_ca_cert' value error" 2019-06-11 01:24:39 +00:00
hyunsikYang
881fd99256 Kubernetes 'ssl_ca_cert' value error
When tacker registers kubernetes vim using Kubernetes config file,
ssl_ca_cert value doesn't accept all of none value such as none, NONE..etc. So, it makes errors.

Closes-Bug: #1829384

Change-Id: I1aa2c4c489a3196fa8f88c1ca8420e8b344d875b
2019-06-04 13:45:38 +09:00
Zuul
164caa22b5 Merge "Adds support force delete VNF: 2" 2019-06-03 08:37:24 +00:00
Zuul
8d3c2e3088 Merge "Adds support force delete resources" 2019-06-03 06:18:55 +00:00
Zuul
019cc7c04d Merge "Fix missing print format" 2019-05-31 01:51:02 +00:00
dharmendra
e106ef2802 Adds support force delete VNF: 2
This patch adds:
  - Make force delete admin_only operation.
  - add test cases.

blueprint force-delete-resources

Change-Id: I9d2aa73e5795cfc3b08752615d9c305f18f4b0cc
2019-05-30 09:35:25 +00:00
dharmendra
b8629b5ca3 Adds support force delete resources
This patch adds '--force' parameter to vnf delete command,
to force delete VNF instances.

e.g: openstack vnf delete --force VNF1

blueprint force-delete-resources

Co-Authored-By: Dharmendra Kushwaha <dharmendra.kushwaha@india.nec.com>
Change-Id: I457f237d23022259a30ae1c19ea8d5203344512e
2019-05-29 07:11:20 +00:00
Zuul
60a4ad1dc1 Merge "fix typos" 2019-05-27 15:51:52 +00:00
hyunsikYang
831eae097f Bug Fix : Fail to create Kubernetes VIM
When tacker create Kubernetes VIM, It has an error due to authentication URL.
Because, authentication URL is changed since plugin add 'v3'.

Change-Id: I8d821581b1e8071580601b27564d20bf999f54f0
Closes-Bug: #1829348
2019-05-21 21:12:30 +09:00
zhufl
5b0d16d7fd Fix missing print format
This is to add missing print format introduced in If1f7f60c6c98f90fa57ac79d17a813f0dac13322.

Change-Id: Iefe009e340315639911603469014dfb52e99227a
2019-05-17 09:34:54 +08:00
dharmendra
1fe295ca88 Update heat-translator-1.3.1 for param values
If user provides parameter file while creating VNF using scaling policy,
earlier it was failing with error 'The Parameter was not provided". This issue
already fixed in heat-translator-1.3.1.
Update lower-constraints.txt and requirements.txt with the same.

Depends-On: I67b9f53ac4cc0e4318fb7d62ac3d389c8cafbab2o
Change-Id: Ie1a6d859f91d8ad2decaaa1606dda1858df782a0
Closes-Bug: #1823860
Closes-Bug: #1799683
2019-05-16 07:19:54 +00:00
dharmendra
c3a23500ce update sphinx requirement
syncs sphinx dependency with global requirements.
It caps python 2 since sphinx 2.0 no longer supports Python 2.7.

Change-Id: Ia4ad99c8201f48292c35e7b50604d1d87c467eb3
2019-05-16 07:15:12 +00:00
Zuul
6e2915c4ef Merge "Refactor _wait_until_stack_ready method to remove duplicate code" 2019-05-09 10:58:48 +00:00
Zuul
cc8fb25c3b Merge "supply quote between words" 2019-05-09 01:32:16 +00:00
Zuul
a8d47d985f Merge "Add missing ws seperator between words" 2019-05-09 01:32:14 +00:00
Shubham Potale
a14487c932 Refactor _wait_until_stack_ready method to remove duplicate code
Made changes to the _wait_until_stack_ready method to make it generic
for all *_wait methods so that the duplicate code from the respective
*_wait methods can be deleted.

Change-Id: If1f7f60c6c98f90fa57ac79d17a813f0dac13322
2019-05-08 09:55:14 +05:30
Zuul
1029e822ea Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-05-03 02:25:43 +00:00
dharmendra
734ab72346 Drop py35 jobs
Python 3.5 was the target runtime for the Rocky release. The current
target py3 runtime for Stein is Python 3.6, so there is no reason to
keep testing against the older version.

https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein

Change-Id: Id6d0c53becf09741689dee0d7b30e5c397a63227
2019-04-30 09:16:04 +00:00
caoyuan
1ebb081e8f Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I6c273be62735d46221130a1da4d3672fdea77e01
2019-04-26 18:07:57 +08:00
OpenDev Sysadmins
f655ff25aa 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:36:08 +00:00
zhufl
cf5f5fdb1d Add missing ws seperator between words
This is to add missing ws seperator between words in log message.

Change-Id: Ieec361da4b23edc1bdc243c82ddfbb348c82154a
2019-04-15 15:08:57 +08:00
shubham potale
83988c953a Correct log message inside openstack module
Corrected log message for scale_wait method. Log message was not
logged properly because the format specifiers were not specified
correctly.

Change-Id: Ie0c84ffff19d3cc8511167cb949c98bf13d0fe16
2019-04-10 14:47:20 +05:30
Zuul
3e97805945 Merge "Fix issue in 'post_process_heat_template' function" 2019-04-04 08:13:32 +00:00
陶冶
1760fc96a3 supply quote between words
Change-Id: I40b2a5009e26dd1c0cf4155679cbaa48ef5da03d
2019-04-02 15:18:51 +08:00
Zuul
41767ee90d Merge "Add Stein Reno for keystone v3 usages and test refactoring" 2019-03-27 13:03:23 +00:00
Zuul
ab34f1b12c Merge "Add release note for the fixes in stein." 2019-03-27 13:03:23 +00:00
Zuul
44f53cb424 Merge "Replace openstack.org git:// URLs with https://" 2019-03-27 09:29:44 +00:00
dharmendra
ba5799c778 Add Stein Reno for keystone v3 usages and test refactoring
Change-Id: I058ad0b0608f3a88e4eea410b97745ea9a1f271f
2019-03-27 08:59:29 +00:00
dharmendra
bbdd08de76 Add release note for the fixes in stein.
Change-Id: I6a2d3f927e8e890f661c7501a3073dda6b307436
2019-03-27 07:49:00 +00:00
Cong Phuoc Hoang
c981d65451 Fix issue in 'post_process_heat_template' function
If users specify parameters in 'flavor' or 'image' properties
of a VDU, HOT template can not be processed properly because
there is a missmatch between TOSCA and HOT template.

This patch will change 'get_input' to 'get_param' to fix that
issue.

Change-Id: I353e9d9d70dc6249a62dcdd1281b7b60d28d7d30
Closes-Bug: #1813135
Depends-On: Ib95ed31c70073cb732d41defe5bdc8027eadfeec
2019-03-26 11:13:43 +00:00
Ian Wienand
2f06823480 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ie54c75f09563edf23f34842978e0fd26acc017ba
2019-03-24 20:36:13 +00:00
300d56a2ce Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I98ad21d153f2fcd0862627111fb5759f72bcc5ad
Sem-Ver: feature
2019-03-21 20:45:06 +00:00
Zuul
1a3c027724 Merge "Fix dict.keys() TypeError issue." 1.0.0.0rc1 2019-03-19 04:56:43 +00:00
Zuul
476cef245e Merge "Add support SFC encapsulation from networking-sfc" 2019-03-18 05:32:58 +00:00
Zuul
3a27cc50a6 Merge "Migrate tacker legacy jobs to Ubuntu Bionic" 2019-03-18 05:32:57 +00:00
dharmendra
2dd9cb5b70 Migrate tacker legacy jobs to Ubuntu Bionic
We have migrated the zuulv3 job to Bionic during Dec/Jan month.
 - http://lists.openstack.org/pipermail/openstack-discuss/2018-December/000837.html
 - https://etherpad.openstack.org/p/devstack-bionic
But that effort does not move all gate job to Bionic as there are
large amount of jobs are still legacy jobs. All the legacy jobs still
use Xenial as nodeset.

As per the decided runtime for Stein, we need to test everything on openstack
CI/CD on Bionic - https://governance.openstack.org/tc/reference/runtimes/stein.html

Below patch move the legacy base jobs to bionic which will move the derived jobs
automatically to bionic. These jobs are modified with branch variant so that they will use
Bionic node from stein onwards and xenial for all other stable branches
until stable/rocky.
- https://review.openstack.org/#/c/639096

This commit modify the nodeset from xenial to bionic which will migrate
the tacker mutinode jobs to bionic.

More Details: 
- https://etherpad.openstack.org/p/legacy-job-bionic
- http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003614.html

Change-Id: Ic83d18bbbbaa86750a370d04cbb4b2ea88c7ea9e
2019-03-18 03:36:36 +00:00
dharmendra
9ae59eec9e Fix dict.keys() TypeError issue.
In python3, dict.keys() returns a dict_keys object rather than
a list. This patch will make it compatible with py3 as well as py2.

Change-Id: I889c45fa57603f264f941e0025dc9232c370f1b0
Closes-Bug: #1819935
2019-03-13 16:00:25 +00:00
dharmendra
d82541e50a Add template for vdu-autoheal in sample dir.
vdu-autoheal template is missing in sample dir. Adding it here
for user references.
Change-Id: I78a941e2ad1a8ce378dbb8aa36e98f1462ab602b
2019-03-13 05:42:07 +00:00
dharmendra
c9fee0af8d Move to use only kestone v3 api
Currently Tacker usage a misxture of v2 v3 api, which is suboptimal
from both a performance and code-elegance perspective. In this patch
we refactor v2 apis from code.

Change-Id: I981887f3f5af6356aba45a6d128d3e4b23b10286
Implements: blueprint keystone-v3
2019-03-06 05:09:13 +00:00
niraj singh
1d7cd6f604 Add functional test for reservation support
Added functional test for reservation support.

Implements: blueprint reservation-vnfm
Change-Id: Ia09240875bd5c0ceb70602d73a0a5c94a4dde060
2019-02-28 06:26:04 +00:00
nirajsingh
2595cc112f Add reservation support
Added reservation policy support.
With reservation policy user can use the reserved resources
by blazar to create VNF.

Depends-On:I2b989a49ac3447995a82ddb7193bf478bb847b73
Implements: blueprint reservation-vnfm
Change-Id: Ia6a87894ba219c045140e8e65e03f87509bbdb6d
2019-02-28 06:19:29 +00:00