projectatomic / adb-utils

A set of utilities for managing services used provided in the Atomic Developer Bundle.
GNU General Public License v2.0
13 stars 22 forks source link

Template "jws30-tomcat7-mysql-persistent-s2i" deployment failed #148

Open amitkrout opened 8 years ago

amitkrout commented 8 years ago

Steps to reproduce :

  1. Install CDK 2.1 rc2 on fedora 23.
  2. Deploy the template "jws30-tomcat7-mysql-persistent-s2i" using web console.
  3. Deployment of "jws30-tomcat7-mysql-persistent-s2i" will be failed

Vagrant version : 1.7.4

$ vagrant plugin list vagrant-libvirt (0.0.32, system) vagrant-registration (1.2.2) - Version Constraint: 1.2.2 vagrant-service-manager (1.1.0) - Version Constraint: 1.1.0 vagrant-sshfs (1.1.0) - Version Constraint: 1.1.0

praveenkumar commented 8 years ago

@amitkrout Did you try it with latest CDK whick got released? if not then please try once.

amitkrout commented 8 years ago

@praveenkumar i followed the same steps as above with keeping all the vagrant plugins intact. Only vagrant version changed to 1.8.1, CDK build to rc5 and latest libvirt box downloaded from https://access.redhat.com/downloads/content/293/ver=2.1/rhel---7/2.1.0/x86_64/product-software

Found the same error as above

praveenkumar commented 8 years ago

@amitkrout https://bugzilla.redhat.com/show_bug.cgi?id=1313556 and we require secret to be installed by user on the project before deploy those templates.

amitkrout commented 8 years ago

@praveenkumar i installed the jws-app-secret.json in the project where the application is deployed. After successful installation i deployed the app from web console.

$ oc create -f jws-app-secret.json
serviceaccount "jws-service-account" created
secret "jws-app-secret" created

App jws30-tomcat7-mysql-persistent-s2i failed to deploy from web console.

Build used : 5th Aug nightly build

praveenkumar commented 8 years ago

@amitkrout Does that works for you now?

amitkrout commented 8 years ago

@praveenkumar i followed the same steps for deployment of "jws30-tomcat7-mysql-persistent-s2i" on windows 10 virtual box provider. The app was successfully deployed.

Build use : CDK 2.2 rc1