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

Ability to upgrade stopped stack for catalog #2650

Closed
deniseschannon opened this issue Nov 12, 2015 · 12 comments
Closed

Ability to upgrade stopped stack for catalog #2650

deniseschannon opened this issue Nov 12, 2015 · 12 comments
Assignees
Labels
area/rancher-compose area/workload kind/enhancement Issues that improve or augment existing functionality kind/feature Issues that represent larger new pieces of functionality, not enhancements to existing functionality priority/1
Milestone

Comments

@deniseschannon
Copy link

v0.44.0

Steps to Reproduce:

  1. Create an older version of a catalog entry.
  2. Click on upgrade button in UI

Result: Unable to upgrade the services.

@deniseschannon deniseschannon added kind/enhancement Issues that improve or augment existing functionality area/workload labels Nov 12, 2015
@deniseschannon deniseschannon added this to the Milestone 11/11/2015 milestone Nov 12, 2015
@alena1108
Copy link

We should also support upgrade for stack having mix of active/inactive services

@deniseschannon
Copy link
Author

Some better steps written by @tfiduccia

Steps;

  1. Add Elasticsearch Stack with older version of rancher
  2. Click on upgrade before you start any services
  3. Try to finish upgrade

Results:
It gets stuck trying to upgrade.

Expected:
Should not get stuck.

@alena1108 alena1108 added the kind/feature Issues that represent larger new pieces of functionality, not enhancements to existing functionality label Nov 23, 2015
@alena1108 alena1108 assigned sangeethah and unassigned alena1108 Dec 3, 2015
@alena1108
Copy link

@sangeethah you can test this fix using the UI only. Could you file a separate bug to enable rancher-compose support?

@sangeethah
Copy link
Contributor

Tested with build from master - dec 3

  1. Add Elasticsearch Stack with older version of rancher. Choose not to start the service.
  2. Click on upgrade before you start any services

kpof service tries to get upgraded but gets stuck in "activating" state since the containers get constantly restarted . All other services in the stack continue to remain in "Inactive" state.

Following exception seen in kpof container logs:

12/3/2015 7:29:51 PM2015/12/04 03:29:51 [emerg] 1#1: host not found in upstream "es-clients:9200" in /etc/nginx/nginx.conf:25
12/3/2015 7:29:51 PMnginx: [emerg] host not found in upstream "es-clients:9200" in /etc/nginx/nginx.conf:25
12/3/2015 7:30:19 PM2015/12/04 03:30:19 [emerg] 1#1: host not found in upstream "es-clients:9200" in /etc/nginx/nginx.conf:25
12/3/2015 7:30:19 PMnginx: [emerg] host not found in upstream "es-clients:9200" in /etc/nginx/nginx.conf:25

screen shot 2015-12-03 at 7 39 59 pm

@asciifaceman
Copy link

Would it be related if I am unable to stop a "Finish upgrade" when there is a port conflict that can only be stopped by deleting the service in the stack

@deniseschannon
Copy link
Author

@asciifaceman What state is your service in? Is it still trying to Uprgrade? This issue is specifically about having inactive stack and trying to upgrade the stack.

@asciifaceman
Copy link

Ah, it's not a match then. My situation was clicking "Finish upgrade" on an
active service with a port conflict puts it in an infinite loop that can
only be stopped by deleting it entirely.

On Tue, Mar 22, 2016 at 3:38 PM, Denise notifications@github.com wrote:

@asciifaceman https://github.com/asciifaceman What state is your
service in? Is it still trying to Uprgrade? This issue is specifically
about having inactive stack and trying to upgrade the stack.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#2650 (comment)

Charles P. Corbett

@ibuildthecloud
Copy link
Contributor

Tested on 1.0.0-rc5 and can't reproduce.

@deniseschannon
Copy link
Author

Verified with v1.0.0-rc6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rancher-compose area/workload kind/enhancement Issues that improve or augment existing functionality kind/feature Issues that represent larger new pieces of functionality, not enhancements to existing functionality priority/1
Projects
None yet
Development

No branches or pull requests

6 participants