Skip to content

[4.6] CLOUDSTACK-8984: VPC Network offerings tab missing from UI - #996

Merged
asfgit merged 1 commit into
apache:masterfrom
karuturi:CLOUDSTACK-8984
Oct 29, 2015
Merged

asfgit merged 1 commit into
apache:masterfrom
karuturi:CLOUDSTACK-8984

Conversation

@karuturi

Copy link
Copy Markdown
Member

This is a regression from commit af2f218

added vpcofferings to the select list

Before the change (from the bug):
offerings_46

After the change:
screen shot 2015-10-28 at 12 32 59 pm

@remibergsma

Copy link
Copy Markdown
Contributor

@karuturi Thanks! Will test soon :-)

This is a regression from commit af2f218

added vpcofferings to the select list
@miguelaferreira

Copy link
Copy Markdown
Contributor

@karuturi @remibergsma This is the second PR I look into and find that Travis is nor running any Marvin tests!

As I said in PR #997, fire few Travis buidls say this:

The command "travis_wait 30 sleep 30" exited with 0.
$ ./tools/travis/script.sh $TESTS
./tools/travis/script.sh: line 42: nosetests: command not found
+------+--------+
| Test | Result |
+======+========+
+------+--------+

And the rest say this:

/home/travis/build.sh: line 108:  2376 Terminated              travis_jigger $! $timeout $cmd
The command "travis_wait 30 sleep 30" exited with 0.
$ ./tools/travis/script.sh $TESTS
Skipping tests ... SUCCESS !

@wilderrodrigues

Copy link
Copy Markdown
Contributor

Ping @karuturi @remibergsma @miguelaferreira

Code LGTM, because it's very simple. But I will run our set of tests agains this PR - although it mentions only UI fixes - and will check the UI as well, but manually.

Cheers,
Wilder

@wilderrodrigues

Copy link
Copy Markdown
Contributor

Ping @karuturi

Testing your PR, but when I checked the UI I still got the old list: no VPC offering. Do I need to change anything else in order to get it displayed?

image

Git Log:

commit 9a2af2f73713e0965577fd5e6f81931fead17bd3
Author: Rajani Karuturi <rajani.karuturi@citrix.com>
Date:   Wed Oct 28 12:35:52 2015 +0530

    CLOUDSTACK-8984: VPC Network offerings tab missing from UI

    This is a regression from commit af2f21894ce061faadc8cec29b901719303a29dc

    added vpcofferings to the select list

Cheers,
Wilder

@wilderrodrigues

Copy link
Copy Markdown
Contributor

Ping @karuturi @remibergsma

I delete the Jetty cache and restarted the Management Server, but still did not get the new item on the list.

Cache location:

image

@karuturi

Copy link
Copy Markdown
Member Author

@wilderrodrigues can you clear browser cache (cmd +shift + del in firefox) or reload the page without cache using shift+f5 and then try?

@wilderrodrigues

Copy link
Copy Markdown
Contributor

Hi @karuturi

It worked!

I removed the files under Jetty cache, stopped the management server, run mvn clean install again and restarted it. It's all fine!

image

Thanks!

Cheers,
Wilder

@wilderrodrigues

Copy link
Copy Markdown
Contributor

Ping @remibergsma @DaanHoogland @borisroman @wido @miguelaferreira

Thanks, @karuturi! :) LGTM 👍

Test results:

  • Hardware required: false
  • Management Server + MySQL on CentOS 7.1
  • One KVM host on CentOS 7.1
  • ACS Agent + Common RPMs built from source
Test start/stop of router after addition of one guest network ... === TestName: test_01_start_stop_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test reboot of router after addition of one guest network ... === TestName: test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to change service offering of router after addition of one guest network ... === TestName: test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Tests to change service offering of the Router after ... === TestName: test_04_change_service_offerring_vpc | Status : SUCCESS ===
ok
Test to destroy the router after creating a VPC ... === TestName: test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
ok
Test router internal advanced zone ... === TestName: test_02_router_internal_adv | Status : SUCCESS ===
ok
Test restart network ... === TestName: test_03_restart_network_cleanup | Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS ===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS ===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : SUCCESS ===
ok
test_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_privategw_acl | Status : SUCCESS ===
ok
Test reset virtual machine on reboot ... === TestName: test_01_reset_vm_on_reboot | Status : SUCCESS ===
ok
Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
ok
Test migrate VM ... SKIP: At least two hosts should be present in the zone for migration
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
ok
Test Remote Access VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS ===
ok
Test to create service offering ... === TestName: test_01_create_service_offering | Status : SUCCESS ===
ok
Test to update existing service offering ... === TestName: test_02_edit_service_offering | Status : SUCCESS ===
ok
Test to delete service offering ... === TestName: test_03_delete_service_offering | Status : SUCCESS ===
ok
Test create VPC offering ... === TestName: test_01_create_vpc_offering | Status : SUCCESS ===
ok
Test VPC offering without load balancing service ... === TestName: test_03_vpc_off_without_lb | Status : SUCCESS ===
ok
Test VPC offering without static NAT service ... === TestName: test_04_vpc_off_without_static_nat | Status : SUCCESS ===
ok
Test VPC offering without port forwarding service ... === TestName: test_05_vpc_off_without_pf | Status : SUCCESS ===
ok
Test VPC offering with invalid services ... === TestName: test_06_vpc_off_invalid_services | Status : SUCCESS ===
ok
Test update VPC offering ... === TestName: test_07_update_vpc_off | Status : SUCCESS ===
ok
Test list VPC offering ... === TestName: test_08_list_vpc_off | Status : SUCCESS ===
ok
test_09_create_redundant_vpc_offering (integration.component.test_vpc_offerings.TestVPCOffering) ... === TestName: test_09_create_redundant_vpc_offering | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 40 tests in 9039.022s

OK (SKIP=1)
(END)

Cheers,
Wilder

@remibergsma

Copy link
Copy Markdown
Contributor

LGTM as well!

screen shot 2015-10-29 at 15 41 17

@asfgit
asfgit merged commit d9f614c into apache:master Oct 29, 2015
asfgit pushed a commit that referenced this pull request Oct 29, 2015
[4.6] CLOUDSTACK-8984: VPC Network offerings tab missing from UIThis is a regression from commit af2f218

added vpcofferings to the select list

Before the change (from the bug):
![offerings_46](https://cloud.githubusercontent.com/assets/186833/10781847/34ae9bc4-7d71-11e5-8159-b90422ef34f6.png)

After the change:
![screen shot 2015-10-28 at 12 32 59 pm](https://cloud.githubusercontent.com/assets/186833/10781850/3ef96500-7d71-11e5-84c5-34589ec10bf9.png)

* pr/996:
  CLOUDSTACK-8984: VPC Network offerings tab missing from UI

Signed-off-by: Remi Bergsma <github@remi.nl>
@remibergsma

Copy link
Copy Markdown
Contributor

Ping @bhaisaab you may want to backport this small fix to 4.5

@yadvr

yadvr commented Oct 29, 2015

Copy link
Copy Markdown
Member

@remibergsma good idea, will do thanks

@yadvr

yadvr commented Oct 29, 2015

Copy link
Copy Markdown
Member

@remibergsma just checked this does not apply for 4.5, 4.5 has no prefilter in that section
(see screenshot on 4.5)

screen shot 2015-10-29 at 8 25 52 pm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants