Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: move ostypeid from DB id to DB uuid, backports #2528 #3066

Merged
merged 1 commit into from
Nov 29, 2018

Conversation

borisstoyanov
Copy link
Contributor

Description

This is a backport to 4.11 of #2528

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bug fix (non-breaking change which fixes an issue)

Screenshots (if appropriate):

How Has This Been Tested?

Locally

@rohityadavcloud rohityadavcloud changed the base branch from master to 4.11 November 29, 2018 09:41
Copy link
Member

@rohityadavcloud rohityadavcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, same as the already merged PR on master.

@rohityadavcloud
Copy link
Member

This is same as: #2608
@blueorangutan package

@blueorangutan
Copy link

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2472

@borisstoyanov
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Copy link
Contributor Author

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With these changes response looks like this:

(localcloud) SBCM5> > list virtualmachines id=6110274a-b86e-4964-b964-f54fec0360e2 filter=name,ostypeid
{
  "count": 1,
  "virtualmachine": [
    {
      "name": "VM-6110274a-b86e-4964-b964-f54fec0360e2",
      "ostypeid": "d4db1769-f3be-11e8-86d3-063e32010711"
    }
  ]
}

Copy link
Contributor

@wido wido left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on the code

We should never return the database IDs, but return a UUID in all cases.

Copy link
Member

@resmo resmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@blueorangutan
Copy link

Trillian test result (tid-3236)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 22942 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3066-t3236-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Smoke tests completed. 67 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_02_cancel_host_maintenace_with_migration_jobs Error 1.21 test_host_maintenance.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants