Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: pre-4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: AWSAPI
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      Centos 6.3
      non-oss build 60

      Description

      1. Fresh install
      2. Enable the EC2 service via global configuration settings
      3. Generate API keys for the user
      4. Call cloudstack-aws-api-register with the input parameters.

      Error User registration failed with http error code: 400

      1. api-server.log
        18 kB
        Pedro Navarro Pérez
      2. management-server.log
        529 kB
        Pedro Navarro Pérez

        Activity

        Hide
        Sailaja Mada added a comment -

        With 97 build, Issue is fixed. Hence closing the bug

        [root@rhel63 management]# cloudstack-aws-api-register --apikey=JdTxDI2rOZ0RDZdgF1O_ZxfISxNuema9gQ3NyE4z5psX4sgSxE4ueEBohG3bfqWHr7BYP6_sAghXTIvm3noqkw --secretkey=fVT0r5lETIJThRGyec-Eg4WFm9_IN5tNIut7Ac5BJW0VExFGdRZEqA_JFvxdTFDH2ZeRcbO25xPQcyxt0VRWKg --cert=/path/to/cert.pem --url=http://10.102.125.211:7080/awsapi
        User registration is successful!

        Awsapi.log :

        2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter Action:SetCertificate
        2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter SignatureMethod:HmacSHA1
        2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter AWSAccessKeyId:JdTxDI2rOZ0RDZdgF1O_ZxfISxNuema9gQ3NyE4z5psX4sgSxE4ueEBohG3bfqWHr7BYP6_sAghXTIvm3noqkw
        2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter Version:2010-11-15
        2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter SignatureVersion:2
        2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter Signature:XdC49/1mGoKh31esbymabORB8KY=
        2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter Timestamp:2012-10-08T20:01:17Z
        2012-10-08 20:01:17,191 DEBUG [bridge.service.UserContext] (catalina-exec-int-2:null) initializing a new [anonymous] UserContext!
        2012-10-08 20:01:17,247 DEBUG [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) SetCertificate, uniqueId: EMAILADDRESS=sailaja@root.com, CN=rhel63.com, OU=OU, O=OUnit, L=Bangalore, ST=Karnataka, C=IN, serial=10692184991862981937

        Show
        Sailaja Mada added a comment - With 97 build, Issue is fixed. Hence closing the bug [root@rhel63 management] # cloudstack-aws-api-register --apikey=JdTxDI2rOZ0RDZdgF1O_ZxfISxNuema9gQ3NyE4z5psX4sgSxE4ueEBohG3bfqWHr7BYP6_sAghXTIvm3noqkw --secretkey=fVT0r5lETIJThRGyec-Eg4WFm9_IN5tNIut7Ac5BJW0VExFGdRZEqA_JFvxdTFDH2ZeRcbO25xPQcyxt0VRWKg --cert=/path/to/cert.pem --url= http://10.102.125.211:7080/awsapi User registration is successful! Awsapi.log : 2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter Action:SetCertificate 2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter SignatureMethod:HmacSHA1 2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter AWSAccessKeyId:JdTxDI2rOZ0RDZdgF1O_ZxfISxNuema9gQ3NyE4z5psX4sgSxE4ueEBohG3bfqWHr7BYP6_sAghXTIvm3noqkw 2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter Version:2010-11-15 2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter SignatureVersion:2 2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter Signature:XdC49/1mGoKh31esbymabORB8KY= 2012-10-08 20:01:17,173 INFO [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) Request parameter Timestamp:2012-10-08T20:01:17Z 2012-10-08 20:01:17,191 DEBUG [bridge.service.UserContext] (catalina-exec-int-2:null) initializing a new [anonymous] UserContext! 2012-10-08 20:01:17,247 DEBUG [bridge.service.EC2RestServlet] (catalina-exec-int-2:null) SetCertificate, uniqueId: EMAILADDRESS=sailaja@root.com, CN=rhel63.com, OU=OU, O=OUnit, L=Bangalore, ST=Karnataka, C=IN, serial=10692184991862981937
        Hide
        Rohit Yadav added a comment -

        Yes, pl verify with latest builds:
        http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/97/ or above
        http://jenkins.cloudstack.org/job/build-4.0-rhel63/491/ or above

        I hope it works this time.

        Show
        Rohit Yadav added a comment - Yes, pl verify with latest builds: http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/97/ or above http://jenkins.cloudstack.org/job/build-4.0-rhel63/491/ or above I hope it works this time.
        Hide
        Sudha Ponnaganti added a comment -

        Rohit - Is this ready to be picked up or are you still making additional changes?

        Show
        Sudha Ponnaganti added a comment - Rohit - Is this ready to be picked up or are you still making additional changes?
        Show
        Rohit Yadav added a comment - Fixed another jar copying issue, please verify with latest build: oss: http://jenkins.cloudstack.org/job/build-4.0-rhel63/lastSuccessfulBuild/artifact/CloudStack-oss-4.0.0-489.tar.bz2 nonoss: http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/lastSuccessfulBuild/artifact/CloudStack-non-OSS-95.tar.bz2
        Hide
        Rohit Yadav added a comment -

        I was going to post a patch/review for the same renaming Alex did, jasypt-1.9.0.jar
        Please verify with following or latest builds:
        oss: http://jenkins.cloudstack.org/job/build-4.0-rhel63/485/
        nonoss: http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/

        Show
        Rohit Yadav added a comment - I was going to post a patch/review for the same renaming Alex did, jasypt-1.9.0.jar Please verify with following or latest builds: oss: http://jenkins.cloudstack.org/job/build-4.0-rhel63/485/ nonoss: http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/
        Hide
        frank zhang added a comment -

        Looks like we have incomplete merge for awsapi. the cloud-setup-databases script is out of date.
        I just fix it. Please kick off a new build

        Show
        frank zhang added a comment - Looks like we have incomplete merge for awsapi. the cloud-setup-databases script is out of date. I just fix it. Please kick off a new build
        Hide
        Sailaja Mada added a comment -

        I tried with 84 build which has latest commits including Frank’s [ Verified by Pradeep]. [ Non-OSS build]

        I am getting 503 error now :

        1. [root@rhel63 db]# cloudstack-aws-api-register --apikey=Q4KzTpgMPv7o6D0iWChXyehzTSRAwuABaA_Q0cKbLJ0k2Z8xf6y7DZ4MXHp1WpsjihDx9PTIwXnGwE2__CKzig --secretkey=Jsk8Y00S3n8-7qMyalCi89nmnUvCDNtrmUc8okrvoB6lg6lGXs9NaAkfrbln0ElPpG5lPymItSOAbflKYWeQtg --cert=/path/to/cert.pem --url=http://10.102.125.211:7080/awsapi
        User registration failed with http error code: 503

        2. [root@rhel63 db]# netstat -na | grep 7080
        tcp 0 0 :::7080 :::* LISTEN

        3. There is no cloud-bridge DB exists in my setup.
        mysql> show databases;
        --------------------

        Database

        --------------------

        information_schema
        cloud
        cloud_usage
        mysql
        test

        --------------------
        5 rows in set (0.00 sec)

        Show
        Sailaja Mada added a comment - I tried with 84 build which has latest commits including Frank’s [ Verified by Pradeep]. [ Non-OSS build] I am getting 503 error now : 1. [root@rhel63 db] # cloudstack-aws-api-register --apikey=Q4KzTpgMPv7o6D0iWChXyehzTSRAwuABaA_Q0cKbLJ0k2Z8xf6y7DZ4MXHp1WpsjihDx9PTIwXnGwE2__CKzig --secretkey=Jsk8Y00S3n8-7qMyalCi89nmnUvCDNtrmUc8okrvoB6lg6lGXs9NaAkfrbln0ElPpG5lPymItSOAbflKYWeQtg --cert=/path/to/cert.pem --url= http://10.102.125.211:7080/awsapi User registration failed with http error code: 503 2. [root@rhel63 db] # netstat -na | grep 7080 tcp 0 0 :::7080 :::* LISTEN 3. There is no cloud-bridge DB exists in my setup. mysql> show databases; -------------------- Database -------------------- information_schema cloud cloud_usage mysql test -------------------- 5 rows in set (0.00 sec)
        Hide
        Rajesh Battala added a comment -

        When I had verified Sailaja setup cloudbridge db is not created.

        Show
        Rajesh Battala added a comment - When I had verified Sailaja setup cloudbridge db is not created.
        Hide
        Kelven Yang added a comment -

        You need to either apply a certificate from a CA authority or create a self signed certificate. /path/to/cert.pem points to the certificate you save in the file system

        Show
        Kelven Yang added a comment - You need to either apply a certificate from a CA authority or create a self signed certificate. /path/to/cert.pem points to the certificate you save in the file system
        Hide
        frank zhang added a comment -

        with latest build, the 7080 is able to access

        <Response>
        <Errors>
        <Error>
        <Code>404</Code>
        <Message>EC2 API is disabled.</Message>
        </Error>
        </Errors>
        <RequestID>5644872d-de80-4fb7-8a14-6059417237ca</RequestID>
        </Response>

        I am trying to run cloudstack-aws-api-register, however, I don't know what's for /path/to/cert.pem.

        Show
        frank zhang added a comment - with latest build, the 7080 is able to access <Response> <Errors> <Error> <Code>404</Code> <Message>EC2 API is disabled.</Message> </Error> </Errors> <RequestID>5644872d-de80-4fb7-8a14-6059417237ca</RequestID> </Response> I am trying to run cloudstack-aws-api-register, however, I don't know what's for /path/to/cert.pem.
        Hide
        Prachi Damle added a comment - - edited

        I tested this with latest build on 4.0 and cloudstack-aws-api-register worked successfully. I could register a user an run ec2 commands without issues.

        Steps I followed are:

        • build and deploy latest 4.0
        • Create a user and generate keys
        • Enable EC2 via global settings - enable.ec2.api to true
        • Restart Management server

        User client setup:
        1. Copy the API key and Secret key from CS UI
        2. Generate a private key and a self-signed X.509 certificate. Substitute your own desired storage location for /path/to/… below. $ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /path/to/private_key.pem -out /path/to/cert.pem
        3. Register the mapping from the X.509 certificate to the API/Secret keys.
        $ cloudstack-aws-api-register --apikey=<User’s API key> --secretkey=<User’s Secret key> --cert=</path/to/cert.pem> --url=http://server_ip:7080/awsapi
        4. Be sure you have the right version of EC2 Tools. The supported version is available at http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.3-62308.zip.
        5. Set up the environment variables that will direct the tools to the server. As a best practice, you may wish to place these commands in a script that may be sourced before using the AWS API translation feature.
        $ export EC2_CERT=/path/to/cert.pem
        $ export EC2_PRIVATE_KEY=/path/to/private_key.pem
        $ export EC2_URL=http://server_ip:7080/awsapi
        $ export EC2_HOME=/path/to/EC2_installation_directory

        Show
        Prachi Damle added a comment - - edited I tested this with latest build on 4.0 and cloudstack-aws-api-register worked successfully. I could register a user an run ec2 commands without issues. Steps I followed are: build and deploy latest 4.0 Create a user and generate keys Enable EC2 via global settings - enable.ec2.api to true Restart Management server User client setup: 1. Copy the API key and Secret key from CS UI 2. Generate a private key and a self-signed X.509 certificate. Substitute your own desired storage location for /path/to/… below. $ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /path/to/private_key.pem -out /path/to/cert.pem 3. Register the mapping from the X.509 certificate to the API/Secret keys. $ cloudstack-aws-api-register --apikey=<User’s API key> --secretkey=<User’s Secret key> --cert=</path/to/cert.pem> --url= http://server_ip:7080/awsapi 4. Be sure you have the right version of EC2 Tools. The supported version is available at http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.3-62308.zip . 5. Set up the environment variables that will direct the tools to the server. As a best practice, you may wish to place these commands in a script that may be sourced before using the AWS API translation feature. $ export EC2_CERT=/path/to/cert.pem $ export EC2_PRIVATE_KEY=/path/to/private_key.pem $ export EC2_URL= http://server_ip:7080/awsapi $ export EC2_HOME=/path/to/EC2_installation_directory
        Hide
        Kelven Yang added a comment -

        Could you check that you have enabled EC2 API support in CloudStack? Go to CloudStack global settings, search for enable.ec2.api, set it to true before the test.

        I tested with latest code from my developer build, I can execute cloudstack-aws-api-register without a problem after I enabled EC2 API from cloudstack.

        Show
        Kelven Yang added a comment - Could you check that you have enabled EC2 API support in CloudStack? Go to CloudStack global settings, search for enable.ec2.api, set it to true before the test. I tested with latest code from my developer build, I can execute cloudstack-aws-api-register without a problem after I enabled EC2 API from cloudstack.
        Hide
        Kelven Yang added a comment -

        Where does the address 10.102.125.239 come from? (http://10.102.125.239:7080/awsapi), from management server log, it seems that management server is running inside devCloud?

        Show
        Kelven Yang added a comment - Where does the address 10.102.125.239 come from? ( http://10.102.125.239:7080/awsapi ), from management server log, it seems that management server is running inside devCloud?
        Hide
        Alex Huang added a comment -

        Did you clean up the tomcat directory before testing?

        Show
        Alex Huang added a comment - Did you clean up the tomcat directory before testing?
        Hide
        Sailaja Mada added a comment - - edited

        Regressed using the build @ http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/lastSuccessfulBuild/artifact/CloudStack-non-OSS-79.tar.bz2 to regress the bug https://issues.apache.org/jira/browse/CLOUDSTACK-257 .

        Still getting the same error as reported in the bug.

        [root@rhel63 /]# cloudstack-aws-api-register --apikey=_TBTS00OHn_V0EdMIwhhqL8IXxzuk4JANl77cgguXqd4vSWvq4FJ-Ib0KgQSWiJgvWyTibKcwhMsUyTSrmJWwQ --secretkey=mePVMlP4gJfWacYGXuGXZQvByvUmKciiu_ZRc9s55zXSS_1_2QUabIUbgOMBBVV3wPg_a-r_BWWsFypu53br4A --cert=/path/to/cert.pem --url=http://10.102.125.239:7080/awsapi
        User registration failed with http error code: 400

        Awsapi.log does not have anything logged. Hence reopening the defect. Steps are followed as per documentation.

        Few more observations :

        1. Webapp7080 folder is available

        [root@rhel63 bridge]# pwd
        /usr/share/cloud/bridge
        [root@rhel63 bridge]# ls
        conf webapps7080

        2. 7080 port Is in listening state .
        3.
        [root@rhel63 bridge]# netstat -na | grep -i 7080
        tcp 0 0 :::7080 :::* LISTEN

        Show
        Sailaja Mada added a comment - - edited Regressed using the build @ http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/lastSuccessfulBuild/artifact/CloudStack-non-OSS-79.tar.bz2 to regress the bug https://issues.apache.org/jira/browse/CLOUDSTACK-257 . Still getting the same error as reported in the bug. [root@rhel63 /] # cloudstack-aws-api-register --apikey=_TBTS00OHn_V0EdMIwhhqL8IXxzuk4JANl77cgguXqd4vSWvq4FJ-Ib0KgQSWiJgvWyTibKcwhMsUyTSrmJWwQ --secretkey=mePVMlP4gJfWacYGXuGXZQvByvUmKciiu_ZRc9s55zXSS_1_2QUabIUbgOMBBVV3wPg_a-r_BWWsFypu53br4A --cert=/path/to/cert.pem --url= http://10.102.125.239:7080/awsapi User registration failed with http error code: 400 Awsapi.log does not have anything logged. Hence reopening the defect. Steps are followed as per documentation. Few more observations : 1. Webapp7080 folder is available [root@rhel63 bridge] # pwd /usr/share/cloud/bridge [root@rhel63 bridge] # ls conf webapps7080 2. 7080 port Is in listening state . 3. [root@rhel63 bridge] # netstat -na | grep -i 7080 tcp 0 0 :::7080 :::* LISTEN
        Hide
        Alex Huang added a comment -

        Looks like a fix was lost when Aws was merged to AFS. Frank has checked that in.

        Master: 595ab41de6bee4115300c046c17628934cb4a35a
        4.0: 198f55f21f1787393a9877f6c8aca27af9db377d

        Show
        Alex Huang added a comment - Looks like a fix was lost when Aws was merged to AFS. Frank has checked that in. Master: 595ab41de6bee4115300c046c17628934cb4a35a 4.0: 198f55f21f1787393a9877f6c8aca27af9db377d
        Hide
        Rohit Yadav added a comment -

        @Pedro: I fixed the axis2-kernel deps with new nonoss build, check newer build from jenkins.cloudstack.org

        @Likitha, Pedro is unlikely to fix this may be, please fix this if possible.

        Show
        Rohit Yadav added a comment - @Pedro: I fixed the axis2-kernel deps with new nonoss build, check newer build from jenkins.cloudstack.org @Likitha, Pedro is unlikely to fix this may be, please fix this if possible.
        Hide
        Likitha Shetty added a comment -

        Pedro, cannot find your name in the Assignee list. Please assign the bug to yourself.

        Show
        Likitha Shetty added a comment - Pedro, cannot find your name in the Assignee list. Please assign the bug to yourself.
        Hide
        Chip Childers added a comment -

        Elevating to a release blocker bug. This really needs to be resolved (and not via a packaging hack).

        Show
        Chip Childers added a comment - Elevating to a release blocker bug. This really needs to be resolved (and not via a packaging hack).
        Hide
        Pedro Navarro Pérez added a comment -

        In fact, in /etc/cloud/management/server.xml 7080 connector expects a webapps7080 so, ln -s /usr/share/cloud/bridge/webapps7080/ $CATALINA_HOME/webapps7080

        Show
        Pedro Navarro Pérez added a comment - In fact, in /etc/cloud/management/server.xml 7080 connector expects a webapps7080 so, ln -s /usr/share/cloud/bridge/webapps7080/ $CATALINA_HOME/webapps7080
        Hide
        David Nalley added a comment -

        I realize the proposed patch makes things work, but this isnt really a packaging bug

        Show
        David Nalley added a comment - I realize the proposed patch makes things work, but this isnt really a packaging bug
        Hide
        Rohit Yadav added a comment -

        What we worked out on IRC, Pedro is probably working on a patch;
        diff --git a/cloud.spec b/cloud.spec
        index 342b525..5aa20c3 100644
        — a/cloud.spec
        +++ b/cloud.spec
        @@ -405,17 +405,17 @@ if [ "$1" == "1" ] ; then
        fi

        if [ "$1" == "1" ] ; then

        • root=/usr/share/cloud/bridge
          + root=/usr/share/cloud/bridge/
          target=/usr/share/cloud/management/

        if [ ! -e $target/webapps/awsapi ]; then

        • ln -s $root/webapps/awsapi $target/webapps/awsapi
          + ln -s $root/webapps7080/awsapi $target/webapps/awsapi
          fi

        jars=`ls $root/lib`
        for j in $jars
        do

        • cp -f $root/lib/$j $root/webapps/awsapi/WEB-INF/lib/
          + cp -f $root/lib/$j $root/webapps7080/awsapi/WEB-INF/lib/
          done

        confs="cloud-bridge.properties ec2-service.properties"
        @@ -425,6 +425,15 @@ if [ "$1" == "1" ] ; then
        done
        fi

        +%post aws-api
        + ln -s %{_datadir}/cloud/bridge/webapps7080 %{_datadir}/cloud/bridge/webapps
        +
        +%postun aws-api
        +# Remove symlink while uninstalling
        +if [ "$1" == "0" ] ; then
        + rm -f %{_datadir}/cloud/bridge/webapps
        +fi
        +
        %files utils
        %defattr(0644,root,root,0755)
        %{_javadir}/%

        {name}

        -utils.jar

        Show
        Rohit Yadav added a comment - What we worked out on IRC, Pedro is probably working on a patch; diff --git a/cloud.spec b/cloud.spec index 342b525..5aa20c3 100644 — a/cloud.spec +++ b/cloud.spec @@ -405,17 +405,17 @@ if [ "$1" == "1" ] ; then fi if [ "$1" == "1" ] ; then root=/usr/share/cloud/bridge + root=/usr/share/cloud/bridge/ target=/usr/share/cloud/management/ if [ ! -e $target/webapps/awsapi ]; then ln -s $root/webapps/awsapi $target/webapps/awsapi + ln -s $root/webapps7080/awsapi $target/webapps/awsapi fi jars=`ls $root/lib` for j in $jars do cp -f $root/lib/$j $root/webapps/awsapi/WEB-INF/lib/ + cp -f $root/lib/$j $root/webapps7080/awsapi/WEB-INF/lib/ done confs="cloud-bridge.properties ec2-service.properties" @@ -425,6 +425,15 @@ if [ "$1" == "1" ] ; then done fi +%post aws-api + ln -s %{_datadir}/cloud/bridge/webapps7080 %{_datadir}/cloud/bridge/webapps + +%postun aws-api +# Remove symlink while uninstalling +if [ "$1" == "0" ] ; then + rm -f %{_datadir}/cloud/bridge/webapps +fi + %files utils %defattr(0644,root,root,0755) %{_javadir}/% {name} -utils.jar
        Hide
        Pedro Navarro Pérez added a comment -

        Awsapi is not deployed correctly:

        Problem found: "/usr/share/cloud/bridge/webapps/awsapi" has a symbolic link to a wrong folder "/usr/share/cloud/bridge/webapps/awsapi" (It doesn't exist), It should be "/usr/share/cloud/bridge/webapps7080/"

        Show
        Pedro Navarro Pérez added a comment - Awsapi is not deployed correctly: Problem found: "/usr/share/cloud/bridge/webapps/awsapi" has a symbolic link to a wrong folder "/usr/share/cloud/bridge/webapps/awsapi" (It doesn't exist), It should be "/usr/share/cloud/bridge/webapps7080/"
        Hide
        Pedro Navarro Pérez added a comment -

        awsapi.log is empty so, it's not included

        Show
        Pedro Navarro Pérez added a comment - awsapi.log is empty so, it's not included
        Hide
        Pedro Navarro Pérez added a comment -
        • Management server is restarted after EC2 service is enabled
        • Command executed:

        cloudstack-aws-api-register -a 3T66aVh6IgXeysxLmP_xyIifohRuXIl2DWgxFSmgu8_U22BKFp_HVIPSVdUTrH_mSohAgIoh-mY3g8_tRFqTWQ -s rTigUfg6lo-uZp5t1_YPDxFUxn0DueovjstJOYiXwBcs_WfbubyvnY3AAgrRgRXAVszTCQmXza9406hIeCLFaA -c cert.pem -u http://localhost:7080/awsapi

        Show
        Pedro Navarro Pérez added a comment - Retried in fresh install http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/lastSuccessfulBuild/artifact/CloudStack-non-OSS-68.tar.bz2 Management server is restarted after EC2 service is enabled Command executed: cloudstack-aws-api-register -a 3T66aVh6IgXeysxLmP_xyIifohRuXIl2DWgxFSmgu8_U22BKFp_HVIPSVdUTrH_mSohAgIoh-mY3g8_tRFqTWQ -s rTigUfg6lo-uZp5t1_YPDxFUxn0DueovjstJOYiXwBcs_WfbubyvnY3AAgrRgRXAVszTCQmXza9406hIeCLFaA -c cert.pem -u http://localhost:7080/awsapi
        Hide
        Alex Huang added a comment -

        Please check if the mgmt server is restarted. If it was, reopen.

        Show
        Alex Huang added a comment - Please check if the mgmt server is restarted. If it was, reopen.
        Hide
        Prachi Damle added a comment -

        You need to restart management server after enabling EC2.

        Show
        Prachi Damle added a comment - You need to restart management server after enabling EC2.
        Hide
        Rajesh Battala added a comment -

        Pedro,
        Have you restarted management after enabling EC2 service from global configuration settings?
        please share the log and the input parameters you are using to register the user.

        Show
        Rajesh Battala added a comment - Pedro, Have you restarted management after enabling EC2 service from global configuration settings? please share the log and the input parameters you are using to register the user.

          People

          • Assignee:
            Likitha Shetty
            Reporter:
            Pedro Navarro Pérez
          • Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development