Coder Social home page Coder Social logo

orientdb-role's People

Contributors

dependabot[bot] avatar ernestas-poskus avatar lchski avatar migibert avatar optimuspaul avatar spscacyost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

orientdb-role's Issues

Tarball download URL is down

The AWS URL for the orientdb in main.yml throws

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
    <Code>AllAccessDisabled</Code>
    <Message>All access to this object has been disabled</Message>
    <RequestId>*********************</RequestId>
    <HostId>
    *****************************************************************************</HostId>
</Error>

I think the URL needs to be updated from
orientdb_url: https://s3.us-east-2.amazonaws.com/orientdb3/releases/{{orientdb_version}}/orientdb-{{orientdb_version}}.tar.gz
to
https://repo1.maven.org/maven2/com/orientechnologies/orientdb-community/{{orientdb_version}}/orientdb-community-{{orientdb_version}}.tar.gz

If this solution is accepted, Then a small edit to the oriented_path is also required from
orientdb_path: '{{orientdb_dir}}/orientdb-{{orientdb_version}}'
to
orientdb_path: '{{orientdb_dir}}/orientdb-community-{{orientdb_version}}'

orientdb_path doesn't change extracted directory

Hi,
I found that orientdb_dir and orientdb_path don't play well together in terms of user customization.

I'd like to install OrientDB in /opt/orientdb, but orientdb_path doesn't change where the files are extracted - they are still extracted into /opt/orientdb-community-{{orientdb_version}}.

I'd like to change things so the extraction takes orientdb_path into account:

- name: Unarchive OrientDB tarball
  unarchive:
    copy: no
    src: "/tmp/orientdb-{{orientdb_version}}.tar.gz"
    dest: "/tmp"

- name: Move OrientDB files into the correct location
  vars:
    tmp_dir: /tmp/orientdb-community-{{orientdb_version}}
  command: mv {{tmp_dir}} {{orientdb_path}} creates={{orientdb_path}} removes={{tmp_dir}}

I'm planning to make this change and submit a PR. Please let me know if you have any feedback.

Got OrientDB 2.0.1 while orientdb_version set to 2.2.22

Hi,

I want to use this role to install OrientDB 2.2.22, there the part of playbook I used:

  vars:
    orientdb_version: 2.2.22
    orientdb_enable_distributed: true
    orientdb_distributed:
      hazelcast_network_port: 2434
      hazelcast_group: orientdb
      hazelcast_password: orientdb
      multicast_enabled: False
      tcp_enabled: True
      tcp_members:
        - 172.21.71.5
        - 172.21.71.8
  roles:
    - { role: orientdb-role, tags: ["orientdb"] }

However the version 2.0.1 is still installed

www.orienttechnolgies.com is gone, downloading is completely broken now

Getting this error:

TASK [migibert.orientdb : Download OrientDB tarball] ***********************************************************************************************************
task path: /root/.ansible/roles/migibert.orientdb/tasks/install.yml:1
fatal: [mysql03.vpc01.ibmcloud.onetrace.io]: FAILED! => {"changed": false, "dest": "/tmp/orientdb-3.0.23.tar.gz", "elapsed": 5, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "http://www.orientechnologies.com/[email protected]&file=orientdb-community-3.0.23.tar.gz&os=linux"}
fatal: [mysql02.vpc01.ibmcloud.onetrace.io]: FAILED! => {"changed": false, "dest": "/tmp/orientdb-3.0.23.tar.gz", "elapsed": 5, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "http://www.orientechnologies.com/[email protected]&file=orientdb-community-3.0.23.tar.gz&os=linux"}
fatal: [mysql01.vpc01.ibmcloud.onetrace.io]: FAILED! => {"changed": false, "dest": "/tmp/orientdb-3.0.23.tar.gz", "elapsed": 5, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "http://www.orientechnologies.com/[email protected]&file=orientdb-community-3.0.23.tar.gz&os=linux"}

which appears to directly caused by Orient Technologies not running that old URL anymore.

Ugh, download URLs are ugly...

Version range URL Format Sample
up to 2.2.19 download.php, but filenames change! http://orientdb.com/[email protected]&file=orientdb-graphed-1.3.0.tar.gz&os=multi
2.2.20 - 2.2.22 bit.ly randomized url, redirects to download.php https://bit.ly/2r1YBMi
2.2.23 - 2.2.34 bit.ly managed url, redirects to download.php https://bit.ly/orientdb-ce-2-2-23
2.2.35+ S3 bucket https://s3.us-east-2.amazonaws.com/orientdb3/releases/2.2.35/orientdb-community-2.2.35.tar.gz

Note: the bit.ly URLs for are the same for both 2.2.20 and 2.2.21. *sigh* I didn't bother checking to see which one got downloaded. Presumably it can be bypassed by using the download.php link directly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.