Title: Prevents null pointers when doing consecutive VM migrates by RodrigoDLopez · Pull Request #4282 · apache/cloudstack · GitHub
Open Graph Title: Prevents null pointers when doing consecutive VM migrates by RodrigoDLopez · Pull Request #4282 · apache/cloudstack
X Title: Prevents null pointers when doing consecutive VM migrates by RodrigoDLopez · Pull Request #4282 · apache/cloudstack
Description: Description If a VM gets consecutive migrations, a null pointer exception is thrown because these VMs do not have host_id or last_host_id; ACS clears these fields when the first migration is over. With that in mind, this PR prevents the respective null pointer. Additionally, it logs the right context and gives some information to the operator. Types of changes Breaking change (fix or feature that would cause existing functionality to change) New feature (non-breaking change which adds functionality) Bug fix (non-breaking change which fixes an issue) Enhancement (improves an existing feature and functionality) Cleanup (Code refactoring and cleanup, that may add test cases) Screenshots (if appropriate): How Has This Been Tested? To test this, I used the cloudmonkey to request migrateVirtualMachine commands
Open Graph Description: Description If a VM gets consecutive migrations, a null pointer exception is thrown because these VMs do not have host_id or last_host_id; ACS clears these fields when the first migration is over....
X Description: Description If a VM gets consecutive migrations, a null pointer exception is thrown because these VMs do not have host_id or last_host_id; ACS clears these fields when the first migration is over....
Opengraph URL: https://github.com/apache/cloudstack/pull/4282
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8f8ecdab-360f-da8e-15af-e6b34caedd37 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B0C:3885D3:1143AC1:18FC81E:6A4E38FC |
| html-safe-nonce | 52209e7ec84b7337c1a450703ca4d24114f270783245886d0bdd83e2740cb73c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjBDOjM4ODVEMzoxMTQzQUMxOjE4RkM4MUU6NkE0RTM4RkMiLCJ2aXNpdG9yX2lkIjoiODYwMjgzMDE2ODY2NTI0MTg1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b81068c7b6404784ac94224ef096b556700dbfa0f77f21746c1bf366e3c13455 |
| hovercard-subject-tag | pull_request:472546340 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/apache/cloudstack/pull/4282/files |
| twitter:image | https://avatars.githubusercontent.com/u/19981369?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19981369?s=400&v=4 |
| og:image:alt | Description If a VM gets consecutive migrations, a null pointer exception is thrown because these VMs do not have host_id or last_host_id; ACS clears these fields when the first migration is over.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width